MidnightBSD Magus

dns/acme-dns

Limited DNS server with RESTful HTTP API to handle ACME DNS challenges

Flavor Version Run OSVersion Arch License Restricted Status
1.0,1 633 4.0 i386 mit 0 fail

License Permissions: dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

Events

Machine Type Time Message
m4032b info 2026-03-29 03:57:49.498905 Test Started
m4032b fail 2026-03-29 04:00:21.632254 make test returned non-zero: 1
m4032b fail 2026-03-29 04:00:21.70883 Test complete.

Log

===>  Testing for acme-dns-1.0,1
(cd /magus/work/usr/mports/dns/acme-dns/work/acme-dns-1.0;  for t in ./...; do  echo "===>  Testing ${t}";  /usr/bin/env -i HOME=/magus/work/usr/mports/dns/acme-dns/work  MACHINE_ARCH=i386  PWD="${PWD}"  GIT_CEILING_DIRECTORIES=/magus/work/usr/mports/dns/acme-dns/work  __MAKE_CONF=/nonexistent OSVERSION=400003 PATH=/magus/work/usr/mports/dns/acme-dns/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin TERM=vt100 TMPDIR=/tmp XDG_DATA_HOME=/magus/work/usr/mports/dns/acme-dns/work  XDG_CONFIG_HOME=/magus/work/usr/mports/dns/acme-dns/work  XDG_CACHE_HOME=/magus/work/usr/mports/dns/acme-dns/work/.cache  HOME=/magus/work/usr/mports/dns/acme-dns/work TMPDIR="/tmp" PATH=/magus/work/usr/mports/dns/acme-dns/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/magus/work/usr/mports/dns/acme-dns/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES TARGETDIR=/usr/local  DESTDIR=  PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444" CGO_ENABLED=1  CGO_CFLAGS="-I/usr/local/include"  CGO_LDFLAGS="-L/usr/local/lib"  GOAMD64=  GOARM=  GOTMPDIR="/magus/work/usr/mports/dns/acme-dns/work" GOPATH="/magus/distfiles/go/dns_acme-dns"  GOBIN="/magus/work/usr/mports/dns/acme-dns/work/bin"  GO111MODULE=on  GOFLAGS=-modcacherw  GOSUMDB=sum.golang.org GO_NO_VENDOR_CHECKS=1 GOPROXY=off /usr/local/bin/go124 test -v -buildvcs=false -mod=vendor ${t};  done)
===>  Testing ./...
=== RUN   TestApiRegister
    printer.go:33: curl -X 'POST' 'http://127.0.0.1:18200/register'
    printer.go:85: POST /register HTTP/1.1
        Host: 127.0.0.1:18200
        
    printer.go:102: HTTP/1.1 201 Created 226.195481ms
        Content-Length: 224
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:13 GMT
        Vary: Origin
        
        {"username":"4f33b2d6-bc6b-4b56-b416-ce00174a7e01","password":"eN-QdpF0-oqQGN-fll0m0pOyobygZqtfzVeSXWhT","fulldomain":"620c758b-b09b-48fb-b4e0-f9697615546b.","subdomain":"620c758b-b09b-48fb-b4e0-f9697615546b","allowfrom":[]}
    printer.go:33: curl -X 'POST' -d '{"allowfrom":["123.123.123.123/32","2001:db8:a0b:12f0::1/32","[::1]/64"]}' -H 'Content-Type: application/json; charset=utf-8' 'http://127.0.0.1:18200/register'
    printer.go:85: POST /register HTTP/1.1
        Host: 127.0.0.1:18200
        Content-Type: application/json; charset=utf-8
        
        {"allowfrom":["123.123.123.123/32","2001:db8:a0b:12f0::1/32","[::1]/64"]}
    printer.go:102: HTTP/1.1 201 Created 131.126606ms
        Content-Length: 279
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:14 GMT
        Vary: Origin
        
        {"username":"4a0a7c3c-cfd3-4d1c-8fd6-8e7cccfd336e","password":"JvSbkervIULajktDP1MiIwWelxm--7roZ6u-HF8_","fulldomain":"fe6e8bba-06c1-4f31-85e4-299d79b89886.","subdomain":"fe6e8bba-06c1-4f31-85e4-299d79b89886","allowfrom":["123.123.123.123/32","2001:db8:a0b:12f0::1/32","::1/64"]}
--- PASS: TestApiRegister (0.36s)
=== RUN   TestApiRegisterBadAllowFrom
    printer.go:33: curl -X 'POST' -d '{"allowfrom":["invalid"]}' -H 'Content-Type: application/json; charset=utf-8' 'http://127.0.0.1:44517/register'
    printer.go:85: POST /register HTTP/1.1
        Host: 127.0.0.1:44517
        Content-Type: application/json; charset=utf-8
        
        {"allowfrom":["invalid"]}
    printer.go:102: HTTP/1.1 400 Bad Request 1.305639ms
        Content-Length: 35
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:14 GMT
        Vary: Origin
        
        {"error": "invalid_allowfrom_cidr"}
    printer.go:33: curl -X 'POST' -d '{"allowfrom":["1.2.3.4/33"]}' -H 'Content-Type: application/json; charset=utf-8' 'http://127.0.0.1:44517/register'
    printer.go:85: POST /register HTTP/1.1
        Host: 127.0.0.1:44517
        Content-Type: application/json; charset=utf-8
        
        {"allowfrom":["1.2.3.4/33"]}
    printer.go:102: HTTP/1.1 400 Bad Request 872.577µs
        Content-Length: 35
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:14 GMT
        Vary: Origin
        
        {"error": "invalid_allowfrom_cidr"}
    printer.go:33: curl -X 'POST' -d '{"allowfrom":["1.2/24"]}' -H 'Content-Type: application/json; charset=utf-8' 'http://127.0.0.1:44517/register'
    printer.go:85: POST /register HTTP/1.1
        Host: 127.0.0.1:44517
        Content-Type: application/json; charset=utf-8
        
        {"allowfrom":["1.2/24"]}
    printer.go:102: HTTP/1.1 400 Bad Request 667.605µs
        Content-Length: 35
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:14 GMT
        Vary: Origin
        
        {"error": "invalid_allowfrom_cidr"}
    printer.go:33: curl -X 'POST' -d '{"allowfrom":["1.2.3.4"]}' -H 'Content-Type: application/json; charset=utf-8' 'http://127.0.0.1:44517/register'
    printer.go:85: POST /register HTTP/1.1
        Host: 127.0.0.1:44517
        Content-Type: application/json; charset=utf-8
        
        {"allowfrom":["1.2.3.4"]}
    printer.go:102: HTTP/1.1 400 Bad Request 675.708µs
        Content-Length: 35
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:14 GMT
        Vary: Origin
        
        {"error": "invalid_allowfrom_cidr"}
    printer.go:33: curl -X 'POST' -d '{"allowfrom":["12345:db8:a0b:12f0::1/32"]}' -H 'Content-Type: application/json; charset=utf-8' 'http://127.0.0.1:44517/register'
    printer.go:85: POST /register HTTP/1.1
        Host: 127.0.0.1:44517
        Content-Type: application/json; charset=utf-8
        
        {"allowfrom":["12345:db8:a0b:12f0::1/32"]}
    printer.go:102: HTTP/1.1 400 Bad Request 731.913µs
        Content-Length: 35
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:14 GMT
        Vary: Origin
        
        {"error": "invalid_allowfrom_cidr"}
    printer.go:33: curl -X 'POST' -d '{"allowfrom":["1234::123::123::1/32"]}' -H 'Content-Type: application/json; charset=utf-8' 'http://127.0.0.1:44517/register'
    printer.go:85: POST /register HTTP/1.1
        Host: 127.0.0.1:44517
        Content-Type: application/json; charset=utf-8
        
        {"allowfrom":["1234::123::123::1/32"]}
    printer.go:102: HTTP/1.1 400 Bad Request 721.021µs
        Content-Length: 35
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:14 GMT
        Vary: Origin
        
        {"error": "invalid_allowfrom_cidr"}
--- PASS: TestApiRegisterBadAllowFrom (0.01s)
=== RUN   TestApiRegisterMalformedJSON
    printer.go:33: curl -X 'POST' -d '{"allowfrom'\'': '\''1.1.1.1/32'\''}' 'http://127.0.0.1:64797/register'
    printer.go:85: POST /register HTTP/1.1
        Host: 127.0.0.1:64797
        
        {"allowfrom': '1.1.1.1/32'}
    printer.go:102: HTTP/1.1 400 Bad Request 1.183841ms
        Content-Length: 35
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:14 GMT
        Vary: Origin
        
        {"error": "malformed_json_payload"}
    printer.go:33: curl -X 'POST' -d '"allowfrom": "1.1.1.1/32"' 'http://127.0.0.1:64797/register'
    printer.go:85: POST /register HTTP/1.1
        Host: 127.0.0.1:64797
        
        "allowfrom": "1.1.1.1/32"
    printer.go:102: HTTP/1.1 400 Bad Request 592.375µs
        Content-Length: 35
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:14 GMT
        Vary: Origin
        
        {"error": "malformed_json_payload"}
    printer.go:33: curl -X 'POST' -d '{"allowfrom": "[1.1.1.1/32]"' 'http://127.0.0.1:64797/register'
    printer.go:85: POST /register HTTP/1.1
        Host: 127.0.0.1:64797
        
        {"allowfrom": "[1.1.1.1/32]"
    printer.go:102: HTTP/1.1 400 Bad Request 804.41µs
        Content-Length: 35
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:14 GMT
        Vary: Origin
        
        {"error": "malformed_json_payload"}
    printer.go:33: curl -X 'POST' -d '"allowfrom": "1.1.1.1/32"}' 'http://127.0.0.1:64797/register'
    printer.go:85: POST /register HTTP/1.1
        Host: 127.0.0.1:64797
        
        "allowfrom": "1.1.1.1/32"}
    printer.go:102: HTTP/1.1 400 Bad Request 551.768µs
        Content-Length: 35
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:14 GMT
        Vary: Origin
        
        {"error": "malformed_json_payload"}
    printer.go:33: curl -X 'POST' -d '{allowfrom: "1.2.3.4"}' 'http://127.0.0.1:64797/register'
    printer.go:85: POST /register HTTP/1.1
        Host: 127.0.0.1:64797
        
        {allowfrom: "1.2.3.4"}
    printer.go:102: HTTP/1.1 400 Bad Request 681.681µs
        Content-Length: 35
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:14 GMT
        Vary: Origin
        
        {"error": "malformed_json_payload"}
    printer.go:33: curl -X 'POST' -d '{allowfrom: [1.2.3.4]}' 'http://127.0.0.1:64797/register'
    printer.go:85: POST /register HTTP/1.1
        Host: 127.0.0.1:64797
        
        {allowfrom: [1.2.3.4]}
    printer.go:102: HTTP/1.1 400 Bad Request 572.935µs
        Content-Length: 35
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:14 GMT
        Vary: Origin
        
        {"error": "malformed_json_payload"}
    printer.go:33: curl -X 'POST' -d 'whatever that'\''s not a json payload' 'http://127.0.0.1:64797/register'
    printer.go:85: POST /register HTTP/1.1
        Host: 127.0.0.1:64797
        
        whatever that's not a json payload
    printer.go:102: HTTP/1.1 400 Bad Request 541.519µs
        Content-Length: 35
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:14 GMT
        Vary: Origin
        
        {"error": "malformed_json_payload"}
--- PASS: TestApiRegisterMalformedJSON (0.01s)
=== RUN   TestApiRegisterWithMockDB
    printer.go:33: curl -X 'POST' 'http://127.0.0.1:46234/register'
    printer.go:85: POST /register HTTP/1.1
        Host: 127.0.0.1:46234
        
    printer.go:102: HTTP/1.1 500 Internal Server Error 225.410062ms
        Content-Length: 22
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:14 GMT
        Vary: Origin
        
        {"error": "SQL error"}
--- PASS: TestApiRegisterWithMockDB (0.23s)
=== RUN   TestApiUpdateWithInvalidSubdomain
    printer.go:33: curl -X 'POST' -d '{"subdomain":"example.com","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}' -H 'Content-Type: application/json; charset=utf-8' -H 'X-Api-Key: qBfJHkceYfOe6KRIrAv0Tvw5ABhpUTdU0z_sc6BS' -H 'X-Api-User: 89ced421-367d-4340-80c1-ca4d7ed39953' 'http://127.0.0.1:57304/update'
    printer.go:85: POST /update HTTP/1.1
        Host: 127.0.0.1:57304
        Content-Type: application/json; charset=utf-8
        X-Api-Key: qBfJHkceYfOe6KRIrAv0Tvw5ABhpUTdU0z_sc6BS
        X-Api-User: 89ced421-367d-4340-80c1-ca4d7ed39953
        
        {"subdomain":"example.com","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
    printer.go:102: HTTP/1.1 401 Unauthorized 115.496597ms
        Content-Length: 22
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:14 GMT
        Vary: Origin
        
        {"error": "forbidden"}
--- PASS: TestApiUpdateWithInvalidSubdomain (0.35s)
=== RUN   TestApiUpdateWithInvalidTxt
    printer.go:33: curl -X 'POST' -d '{"subdomain":"5bc6dcaf-b470-4097-8319-74881c15544f","txt":"idk m8 bbl lmao"}' -H 'Content-Type: application/json; charset=utf-8' -H 'X-Api-Key: kZ3KG3G8_1I03E1OVKuw0ZHaTSLzgSy-T2j66fYM' -H 'X-Api-User: 4248cf49-8e94-470d-b9b3-517f6a5775a2' 'http://127.0.0.1:49136/update'
    printer.go:85: POST /update HTTP/1.1
        Host: 127.0.0.1:49136
        Content-Type: application/json; charset=utf-8
        X-Api-Key: kZ3KG3G8_1I03E1OVKuw0ZHaTSLzgSy-T2j66fYM
        X-Api-User: 4248cf49-8e94-470d-b9b3-517f6a5775a2
        
        {"subdomain":"5bc6dcaf-b470-4097-8319-74881c15544f","txt":"idk m8 bbl lmao"}
    printer.go:102: HTTP/1.1 400 Bad Request 115.372914ms
        Content-Length: 20
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:14 GMT
        Vary: Origin
        
        {"error": "bad_txt"}
--- PASS: TestApiUpdateWithInvalidTxt (0.30s)
=== RUN   TestApiUpdateWithoutCredentials
    printer.go:33: curl -X 'POST' 'http://127.0.0.1:38819/update'
    printer.go:85: POST /update HTTP/1.1
        Host: 127.0.0.1:38819
        
    printer.go:102: HTTP/1.1 401 Unauthorized 1.291166ms
        Content-Length: 22
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:14 GMT
        Vary: Origin
        
        {"error": "forbidden"}
--- PASS: TestApiUpdateWithoutCredentials (0.00s)
=== RUN   TestApiUpdateWithCredentials
    printer.go:33: curl -X 'POST' -d '{"subdomain":"1d312b39-d403-4b6d-b5b0-145662a741b3","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}' -H 'Content-Type: application/json; charset=utf-8' -H 'X-Api-Key: 4Ki9ZhihZEZqRaknfPyjbyS6izZPeztjmpq6UAuC' -H 'X-Api-User: a689b26d-f277-465a-a60d-fab53b7327e7' 'http://127.0.0.1:20298/update'
    printer.go:85: POST /update HTTP/1.1
        Host: 127.0.0.1:20298
        Content-Type: application/json; charset=utf-8
        X-Api-Key: 4Ki9ZhihZEZqRaknfPyjbyS6izZPeztjmpq6UAuC
        X-Api-User: a689b26d-f277-465a-a60d-fab53b7327e7
        
        {"subdomain":"1d312b39-d403-4b6d-b5b0-145662a741b3","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
    printer.go:102: HTTP/1.1 200 OK 90.591133ms
        Content-Length: 54
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:15 GMT
        Vary: Origin
        
        {"txt": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
--- PASS: TestApiUpdateWithCredentials (0.31s)
=== RUN   TestApiUpdateWithCredentialsMockDB
    printer.go:33: curl -X 'POST' -d '{"subdomain":"a097455b-52cc-4569-90c8-7a4b97c6eba8","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}' -H 'Content-Type: application/json; charset=utf-8' 'http://127.0.0.1:47893/update'
    printer.go:85: POST /update HTTP/1.1
        Host: 127.0.0.1:47893
        Content-Type: application/json; charset=utf-8
        
        {"subdomain":"a097455b-52cc-4569-90c8-7a4b97c6eba8","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
    printer.go:102: HTTP/1.1 500 Internal Server Error 1.802345ms
        Content-Length: 21
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:15 GMT
        Vary: Origin
        
        {"error": "db_error"}
--- PASS: TestApiUpdateWithCredentialsMockDB (0.00s)
=== RUN   TestApiManyUpdateWithCredentials
    printer.go:33: curl -X 'POST' -d '{"subdomain":"non-uuid-subdomain","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}' -H 'Content-Type: application/json; charset=utf-8' -H 'X-Api-Key: tooshortpass' -H 'X-Api-User: non-uuid-user' -H 'X-Forwarded-For: 10.1.2.3' 'http://127.0.0.1:18523/update'
    printer.go:85: POST /update HTTP/1.1
        Host: 127.0.0.1:18523
        Content-Type: application/json; charset=utf-8
        X-Api-Key: tooshortpass
        X-Api-User: non-uuid-user
        X-Forwarded-For: 10.1.2.3
        
        {"subdomain":"non-uuid-subdomain","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
    printer.go:102: HTTP/1.1 401 Unauthorized 1.258816ms
        Content-Length: 22
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:15 GMT
        Vary: Origin
        
        {"error": "forbidden"}
    printer.go:33: curl -X 'POST' -d '{"subdomain":"bb97455b-52cc-4569-90c8-7a4b97c6eba8","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}' -H 'Content-Type: application/json; charset=utf-8' -H 'X-Api-Key: tooshortpass' -H 'X-Api-User: a097455b-52cc-4569-90c8-7a4b97c6eba8' -H 'X-Forwarded-For: 10.1.2.3' 'http://127.0.0.1:18523/update'
    printer.go:85: POST /update HTTP/1.1
        Host: 127.0.0.1:18523
        Content-Type: application/json; charset=utf-8
        X-Api-Key: tooshortpass
        X-Api-User: a097455b-52cc-4569-90c8-7a4b97c6eba8
        X-Forwarded-For: 10.1.2.3
        
        {"subdomain":"bb97455b-52cc-4569-90c8-7a4b97c6eba8","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
    printer.go:102: HTTP/1.1 401 Unauthorized 478.555µs
        Content-Length: 22
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:15 GMT
        Vary: Origin
        
        {"error": "forbidden"}
    printer.go:33: curl -X 'POST' -d '{"subdomain":"bb97455b-52cc-4569-90c8-7a4b97c6eba8","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}' -H 'Content-Type: application/json; charset=utf-8' -H 'X-Api-Key: LongEnoughPassButNoUserExists___________' -H 'X-Api-User: a097455b-52cc-4569-90c8-7a4b97c6eba8' -H 'X-Forwarded-For: 10.1.2.3' 'http://127.0.0.1:18523/update'
    printer.go:85: POST /update HTTP/1.1
        Host: 127.0.0.1:18523
        Content-Type: application/json; charset=utf-8
        X-Api-Key: LongEnoughPassButNoUserExists___________
        X-Api-User: a097455b-52cc-4569-90c8-7a4b97c6eba8
        X-Forwarded-For: 10.1.2.3
        
        {"subdomain":"bb97455b-52cc-4569-90c8-7a4b97c6eba8","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
    printer.go:102: HTTP/1.1 401 Unauthorized 232.884023ms
        Content-Length: 22
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:15 GMT
        Vary: Origin
        
        {"error": "forbidden"}
    printer.go:33: curl -X 'POST' -d '{"subdomain":"a097455b-52cc-4569-90c8-7a4b97c6eba8","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}' -H 'Content-Type: application/json; charset=utf-8' -H 'X-Api-Key: LCpqxXBa-78LUbdeA4hsEon78j-t3wdISB-aBtwS' -H 'X-Api-User: 0817ea19-c498-4a1f-9e75-0c8bc1d0c18d' -H 'X-Forwarded-For: 10.1.2.3' 'http://127.0.0.1:18523/update'
    printer.go:85: POST /update HTTP/1.1
        Host: 127.0.0.1:18523
        Content-Type: application/json; charset=utf-8
        X-Api-Key: LCpqxXBa-78LUbdeA4hsEon78j-t3wdISB-aBtwS
        X-Api-User: 0817ea19-c498-4a1f-9e75-0c8bc1d0c18d
        X-Forwarded-For: 10.1.2.3
        
        {"subdomain":"a097455b-52cc-4569-90c8-7a4b97c6eba8","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
    printer.go:102: HTTP/1.1 401 Unauthorized 242.622806ms
        Content-Length: 22
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:16 GMT
        Vary: Origin
        
        {"error": "forbidden"}
    printer.go:33: curl -X 'POST' -d '{"subdomain":"4c966b74-0afb-4901-8c07-b4fab7798290","txt":"tooshortfortxt"}' -H 'Content-Type: application/json; charset=utf-8' -H 'X-Api-Key: LCpqxXBa-78LUbdeA4hsEon78j-t3wdISB-aBtwS' -H 'X-Api-User: 0817ea19-c498-4a1f-9e75-0c8bc1d0c18d' -H 'X-Forwarded-For: 10.1.2.3' 'http://127.0.0.1:18523/update'
    printer.go:85: POST /update HTTP/1.1
        Host: 127.0.0.1:18523
        Content-Type: application/json; charset=utf-8
        X-Api-Key: LCpqxXBa-78LUbdeA4hsEon78j-t3wdISB-aBtwS
        X-Api-User: 0817ea19-c498-4a1f-9e75-0c8bc1d0c18d
        X-Forwarded-For: 10.1.2.3
        
        {"subdomain":"4c966b74-0afb-4901-8c07-b4fab7798290","txt":"tooshortfortxt"}
    printer.go:102: HTTP/1.1 400 Bad Request 245.704609ms
        Content-Length: 20
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:16 GMT
        Vary: Origin
        
        {"error": "bad_txt"}
    printer.go:33: curl -X 'POST' -d '{"subdomain":"4c966b74-0afb-4901-8c07-b4fab7798290","txt":1234567890}' -H 'Content-Type: application/json; charset=utf-8' -H 'X-Api-Key: LCpqxXBa-78LUbdeA4hsEon78j-t3wdISB-aBtwS' -H 'X-Api-User: 0817ea19-c498-4a1f-9e75-0c8bc1d0c18d' -H 'X-Forwarded-For: 10.1.2.3' 'http://127.0.0.1:18523/update'
    printer.go:85: POST /update HTTP/1.1
        Host: 127.0.0.1:18523
        Content-Type: application/json; charset=utf-8
        X-Api-Key: LCpqxXBa-78LUbdeA4hsEon78j-t3wdISB-aBtwS
        X-Api-User: 0817ea19-c498-4a1f-9e75-0c8bc1d0c18d
        X-Forwarded-For: 10.1.2.3
        
        {"subdomain":"4c966b74-0afb-4901-8c07-b4fab7798290","txt":1234567890}
    printer.go:102: HTTP/1.1 400 Bad Request 248.026529ms
        Content-Length: 20
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:16 GMT
        Vary: Origin
        
        {"error": "bad_txt"}
    printer.go:33: curl -X 'POST' -d '{"subdomain":"4c966b74-0afb-4901-8c07-b4fab7798290","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}' -H 'Content-Type: application/json; charset=utf-8' -H 'X-Api-Key: LCpqxXBa-78LUbdeA4hsEon78j-t3wdISB-aBtwS' -H 'X-Api-User: 0817ea19-c498-4a1f-9e75-0c8bc1d0c18d' -H 'X-Forwarded-For: 10.1.2.3' 'http://127.0.0.1:18523/update'
    printer.go:85: POST /update HTTP/1.1
        Host: 127.0.0.1:18523
        Content-Type: application/json; charset=utf-8
        X-Api-Key: LCpqxXBa-78LUbdeA4hsEon78j-t3wdISB-aBtwS
        X-Api-User: 0817ea19-c498-4a1f-9e75-0c8bc1d0c18d
        X-Forwarded-For: 10.1.2.3
        
        {"subdomain":"4c966b74-0afb-4901-8c07-b4fab7798290","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
    printer.go:102: HTTP/1.1 200 OK 181.063071ms
        Content-Length: 54
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:16 GMT
        Vary: Origin
        
        {"txt": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
    printer.go:33: curl -X 'POST' -d '{"subdomain":"737fe5ff-768b-4770-93ba-e6113702994a","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}' -H 'Content-Type: application/json; charset=utf-8' -H 'X-Api-Key: zNF2ocshP6W-ArcdLM6dhf4FWgBH_bjHsM1pvMMR' -H 'X-Api-User: 39b0b775-5988-45b9-a532-6519f56dff85' -H 'X-Forwarded-For: 10.1.2.3' 'http://127.0.0.1:18523/update'
    printer.go:85: POST /update HTTP/1.1
        Host: 127.0.0.1:18523
        Content-Type: application/json; charset=utf-8
        X-Api-Key: zNF2ocshP6W-ArcdLM6dhf4FWgBH_bjHsM1pvMMR
        X-Api-User: 39b0b775-5988-45b9-a532-6519f56dff85
        X-Forwarded-For: 10.1.2.3
        
        {"subdomain":"737fe5ff-768b-4770-93ba-e6113702994a","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
    printer.go:102: HTTP/1.1 401 Unauthorized 153.640864ms
        Content-Length: 22
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:17 GMT
        Vary: Origin
        
        {"error": "forbidden"}
    printer.go:33: curl -X 'POST' -d '{"subdomain":"809cbb9a-7fec-4c34-b26f-195ad137dc8c","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}' -H 'Content-Type: application/json; charset=utf-8' -H 'X-Api-Key: t2bVmOWUQlz_pkHZM-Yyf2N7DcUZi498X6jBcRCL' -H 'X-Api-User: f3301908-f037-459c-acf9-8c0e6c3ce8b0' -H 'X-Forwarded-For: 10.1.2.3' 'http://127.0.0.1:18523/update'
    printer.go:85: POST /update HTTP/1.1
        Host: 127.0.0.1:18523
        Content-Type: application/json; charset=utf-8
        X-Api-Key: t2bVmOWUQlz_pkHZM-Yyf2N7DcUZi498X6jBcRCL
        X-Api-User: f3301908-f037-459c-acf9-8c0e6c3ce8b0
        X-Forwarded-For: 10.1.2.3
        
        {"subdomain":"809cbb9a-7fec-4c34-b26f-195ad137dc8c","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
    printer.go:102: HTTP/1.1 200 OK 250.112691ms
        Content-Length: 54
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:17 GMT
        Vary: Origin
        
        {"txt": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
    printer.go:33: curl -X 'POST' -d '{"subdomain":"4c966b74-0afb-4901-8c07-b4fab7798290","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}' -H 'Content-Type: application/json; charset=utf-8' -H 'X-Api-Key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' -H 'X-Api-User: 0817ea19-c498-4a1f-9e75-0c8bc1d0c18d' -H 'X-Forwarded-For: 10.1.2.3' 'http://127.0.0.1:18523/update'
    printer.go:85: POST /update HTTP/1.1
        Host: 127.0.0.1:18523
        Content-Type: application/json; charset=utf-8
        X-Api-Key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
        X-Api-User: 0817ea19-c498-4a1f-9e75-0c8bc1d0c18d
        X-Forwarded-For: 10.1.2.3
        
        {"subdomain":"4c966b74-0afb-4901-8c07-b4fab7798290","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
    printer.go:102: HTTP/1.1 401 Unauthorized 201.624107ms
        Content-Length: 22
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:17 GMT
        Vary: Origin
        
        {"error": "forbidden"}
--- PASS: TestApiManyUpdateWithCredentials (2.18s)
=== RUN   TestApiManyUpdateWithIpCheckHeaders
    printer.go:33: curl -X 'POST' -d '{"subdomain":"0b0bfa94-8b79-41d9-9a9d-8e077f558ca4","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}' -H 'Content-Type: application/json; charset=utf-8' -H 'X-Api-Key: 5GXneK01-NzAEiAzFMsI5HakXLCn1sgr7ADCjcc7' -H 'X-Api-User: 024aadc2-9f37-4a3b-8438-c5592d0e6a7f' -H 'X-Forwarded-For: whatever goes' 'http://127.0.0.1:24154/update'
    printer.go:85: POST /update HTTP/1.1
        Host: 127.0.0.1:24154
        Content-Type: application/json; charset=utf-8
        X-Api-Key: 5GXneK01-NzAEiAzFMsI5HakXLCn1sgr7ADCjcc7
        X-Api-User: 024aadc2-9f37-4a3b-8438-c5592d0e6a7f
        X-Forwarded-For: whatever goes
        
        {"subdomain":"0b0bfa94-8b79-41d9-9a9d-8e077f558ca4","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
    printer.go:102: HTTP/1.1 200 OK 184.887796ms
        Content-Length: 54
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:18 GMT
        Vary: Origin
        
        {"txt": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
    printer.go:33: curl -X 'POST' -d '{"subdomain":"0b0bfa94-8b79-41d9-9a9d-8e077f558ca4","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}' -H 'Content-Type: application/json; charset=utf-8' -H 'X-Api-Key: 5GXneK01-NzAEiAzFMsI5HakXLCn1sgr7ADCjcc7' -H 'X-Api-User: 024aadc2-9f37-4a3b-8438-c5592d0e6a7f' -H 'X-Forwarded-For: 10.0.0.1, 1.2.3.4 ,3.4.5.6' 'http://127.0.0.1:24154/update'
    printer.go:85: POST /update HTTP/1.1
        Host: 127.0.0.1:24154
        Content-Type: application/json; charset=utf-8
        X-Api-Key: 5GXneK01-NzAEiAzFMsI5HakXLCn1sgr7ADCjcc7
        X-Api-User: 024aadc2-9f37-4a3b-8438-c5592d0e6a7f
        X-Forwarded-For: 10.0.0.1, 1.2.3.4 ,3.4.5.6
        
        {"subdomain":"0b0bfa94-8b79-41d9-9a9d-8e077f558ca4","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
    printer.go:102: HTTP/1.1 200 OK 219.721598ms
        Content-Length: 54
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:18 GMT
        Vary: Origin
        
        {"txt": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
    printer.go:33: curl -X 'POST' -d '{"subdomain":"2826516d-98f8-4a28-ae2b-348022a1b337","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}' -H 'Content-Type: application/json; charset=utf-8' -H 'X-Api-Key: UYolyFhiNXSl1cTmA4oNwBOHcAzY0dJ7BqrkJ25a' -H 'X-Api-User: 4dad31ec-49f8-4e66-8aa6-309fb29cf2f0' -H 'X-Forwarded-For: 127.0.0.1' 'http://127.0.0.1:24154/update'
    printer.go:85: POST /update HTTP/1.1
        Host: 127.0.0.1:24154
        Content-Type: application/json; charset=utf-8
        X-Api-Key: UYolyFhiNXSl1cTmA4oNwBOHcAzY0dJ7BqrkJ25a
        X-Api-User: 4dad31ec-49f8-4e66-8aa6-309fb29cf2f0
        X-Forwarded-For: 127.0.0.1
        
        {"subdomain":"2826516d-98f8-4a28-ae2b-348022a1b337","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
    printer.go:102: HTTP/1.1 401 Unauthorized 237.525007ms
        Content-Length: 22
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:18 GMT
        Vary: Origin
        
        {"error": "forbidden"}
    printer.go:33: curl -X 'POST' -d '{"subdomain":"2826516d-98f8-4a28-ae2b-348022a1b337","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}' -H 'Content-Type: application/json; charset=utf-8' -H 'X-Api-Key: UYolyFhiNXSl1cTmA4oNwBOHcAzY0dJ7BqrkJ25a' -H 'X-Api-User: 4dad31ec-49f8-4e66-8aa6-309fb29cf2f0' -H 'X-Forwarded-For: 10.0.0.1, 10.0.0.2, 192.168.1.3' 'http://127.0.0.1:24154/update'
    printer.go:85: POST /update HTTP/1.1
        Host: 127.0.0.1:24154
        Content-Type: application/json; charset=utf-8
        X-Api-Key: UYolyFhiNXSl1cTmA4oNwBOHcAzY0dJ7BqrkJ25a
        X-Api-User: 4dad31ec-49f8-4e66-8aa6-309fb29cf2f0
        X-Forwarded-For: 10.0.0.1, 10.0.0.2, 192.168.1.3
        
        {"subdomain":"2826516d-98f8-4a28-ae2b-348022a1b337","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
    printer.go:102: HTTP/1.1 401 Unauthorized 115.162151ms
        Content-Length: 22
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:18 GMT
        Vary: Origin
        
        {"error": "forbidden"}
    printer.go:33: curl -X 'POST' -d '{"subdomain":"2826516d-98f8-4a28-ae2b-348022a1b337","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}' -H 'Content-Type: application/json; charset=utf-8' -H 'X-Api-Key: UYolyFhiNXSl1cTmA4oNwBOHcAzY0dJ7BqrkJ25a' -H 'X-Api-User: 4dad31ec-49f8-4e66-8aa6-309fb29cf2f0' -H 'X-Forwarded-For: 10.1.1.1 ,192.168.1.2, 8.8.8.8' 'http://127.0.0.1:24154/update'
    printer.go:85: POST /update HTTP/1.1
        Host: 127.0.0.1:24154
        Content-Type: application/json; charset=utf-8
        X-Api-Key: UYolyFhiNXSl1cTmA4oNwBOHcAzY0dJ7BqrkJ25a
        X-Api-User: 4dad31ec-49f8-4e66-8aa6-309fb29cf2f0
        X-Forwarded-For: 10.1.1.1 ,192.168.1.2, 8.8.8.8
        
        {"subdomain":"2826516d-98f8-4a28-ae2b-348022a1b337","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
    printer.go:102: HTTP/1.1 200 OK 125.795317ms
        Content-Length: 54
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:18 GMT
        Vary: Origin
        
        {"txt": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
    printer.go:33: curl -X 'POST' -d '{"subdomain":"8b261ade-a411-4ab1-9688-68ca3f0864ae","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}' -H 'Content-Type: application/json; charset=utf-8' -H 'X-Api-Key: KaN1qz-GjXbIsOl-9cvDYG0q_SSnOmPSDCgaU1Zm' -H 'X-Api-User: 9eb346d3-9f4f-4da4-acc8-e12d566bf1f3' -H 'X-Forwarded-For: 2002:c0a8:b4dc:0d3::0' 'http://127.0.0.1:24154/update'
    printer.go:85: POST /update HTTP/1.1
        Host: 127.0.0.1:24154
        Content-Type: application/json; charset=utf-8
        X-Api-Key: KaN1qz-GjXbIsOl-9cvDYG0q_SSnOmPSDCgaU1Zm
        X-Api-User: 9eb346d3-9f4f-4da4-acc8-e12d566bf1f3
        X-Forwarded-For: 2002:c0a8:b4dc:0d3::0
        
        {"subdomain":"8b261ade-a411-4ab1-9688-68ca3f0864ae","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
    printer.go:102: HTTP/1.1 200 OK 246.967932ms
        Content-Length: 54
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:19 GMT
        Vary: Origin
        
        {"txt": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
    printer.go:33: curl -X 'POST' -d '{"subdomain":"8b261ade-a411-4ab1-9688-68ca3f0864ae","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}' -H 'Content-Type: application/json; charset=utf-8' -H 'X-Api-Key: KaN1qz-GjXbIsOl-9cvDYG0q_SSnOmPSDCgaU1Zm' -H 'X-Api-User: 9eb346d3-9f4f-4da4-acc8-e12d566bf1f3' -H 'X-Forwarded-For: 2002:c0a7:0ff::0' 'http://127.0.0.1:24154/update'
    printer.go:85: POST /update HTTP/1.1
        Host: 127.0.0.1:24154
        Content-Type: application/json; charset=utf-8
        X-Api-Key: KaN1qz-GjXbIsOl-9cvDYG0q_SSnOmPSDCgaU1Zm
        X-Api-User: 9eb346d3-9f4f-4da4-acc8-e12d566bf1f3
        X-Forwarded-For: 2002:c0a7:0ff::0
        
        {"subdomain":"8b261ade-a411-4ab1-9688-68ca3f0864ae","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
    printer.go:102: HTTP/1.1 401 Unauthorized 247.277289ms
        Content-Length: 22
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:19 GMT
        Vary: Origin
        
        {"error": "forbidden"}
    printer.go:33: curl -X 'POST' -d '{"subdomain":"8b261ade-a411-4ab1-9688-68ca3f0864ae","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}' -H 'Content-Type: application/json; charset=utf-8' -H 'X-Api-Key: KaN1qz-GjXbIsOl-9cvDYG0q_SSnOmPSDCgaU1Zm' -H 'X-Api-User: 9eb346d3-9f4f-4da4-acc8-e12d566bf1f3' -H 'X-Forwarded-For: 2002:c0a8:d3ad:b33f:c0ff:33b4:dc0d:3b4d' 'http://127.0.0.1:24154/update'
    printer.go:85: POST /update HTTP/1.1
        Host: 127.0.0.1:24154
        Content-Type: application/json; charset=utf-8
        X-Api-Key: KaN1qz-GjXbIsOl-9cvDYG0q_SSnOmPSDCgaU1Zm
        X-Api-User: 9eb346d3-9f4f-4da4-acc8-e12d566bf1f3
        X-Forwarded-For: 2002:c0a8:d3ad:b33f:c0ff:33b4:dc0d:3b4d
        
        {"subdomain":"8b261ade-a411-4ab1-9688-68ca3f0864ae","txt":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
    printer.go:102: HTTP/1.1 200 OK 180.971574ms
        Content-Length: 54
        Content-Type: application/json
        Date: Sun, 29 Mar 2026 04:00:19 GMT
        Vary: Origin
        
        {"txt": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
--- PASS: TestApiManyUpdateWithIpCheckHeaders (2.02s)
=== RUN   TestApiHealthCheck
    printer.go:33: curl -X 'GET' 'http://127.0.0.1:61955/health'
    printer.go:85: GET /health HTTP/1.1
        Host: 127.0.0.1:61955
        
    printer.go:102: HTTP/1.1 200 OK 1.194114ms
        Date: Sun, 29 Mar 2026 04:00:19 GMT
        Vary: Origin
        Content-Length: 0
        
--- PASS: TestApiHealthCheck (0.00s)
=== RUN   TestUpdateAllowedFromIP
--- PASS: TestUpdateAllowedFromIP (0.00s)
=== RUN   TestDBInit
--- PASS: TestDBInit (0.00s)
=== RUN   TestRegisterNoCIDR
--- PASS: TestRegisterNoCIDR (0.22s)
=== RUN   TestRegisterMany
--- PASS: TestRegisterMany (0.34s)
=== RUN   TestGetByUsername
--- PASS: TestGetByUsername (0.23s)
=== RUN   TestPrepareErrors
--- PASS: TestPrepareErrors (0.10s)
=== RUN   TestQueryExecErrors
--- PASS: TestQueryExecErrors (0.17s)
=== RUN   TestQueryScanErrors
--- PASS: TestQueryScanErrors (0.09s)
=== RUN   TestBadDBValues
--- PASS: TestBadDBValues (0.09s)
=== RUN   TestGetTXTForDomain
--- PASS: TestGetTXTForDomain (0.09s)
=== RUN   TestUpdate
--- PASS: TestUpdate (0.09s)
=== RUN   TestQuestionDBError
--- PASS: TestQuestionDBError (0.00s)
=== RUN   TestParse
--- PASS: TestParse (0.00s)
=== RUN   TestResolveA
--- PASS: TestResolveA (0.00s)
=== RUN   TestEDNS
--- PASS: TestEDNS (0.00s)
=== RUN   TestEDNSA
--- PASS: TestEDNSA (0.00s)
=== RUN   TestEDNSBADVERS
--- PASS: TestEDNSBADVERS (0.00s)
=== RUN   TestResolveCNAME
--- PASS: TestResolveCNAME (0.00s)
=== RUN   TestAuthoritative
--- PASS: TestAuthoritative (0.00s)
=== RUN   TestResolveTXT
--- PASS: TestResolveTXT (0.09s)
=== RUN   TestCaseInsensitiveResolveA
--- PASS: TestCaseInsensitiveResolveA (0.00s)
=== RUN   TestCaseInsensitiveResolveSOA
--- PASS: TestCaseInsensitiveResolveSOA (0.00s)
=== RUN   TestSetupLogging
--- PASS: TestSetupLogging (0.00s)
=== RUN   TestReadConfig
--- PASS: TestReadConfig (0.00s)
=== RUN   TestGetIPListFromHeader
--- PASS: TestGetIPListFromHeader (0.00s)
=== RUN   TestFileCheckPermissionDenied
    util_test.go:109: File should not be accessible
--- FAIL: TestFileCheckPermissionDenied (0.00s)
=== RUN   TestFileCheckNotExists
--- PASS: TestFileCheckNotExists (0.00s)
=== RUN   TestFileCheckOK
--- PASS: TestFileCheckOK (0.00s)
=== RUN   TestPrepareConfig
--- PASS: TestPrepareConfig (0.00s)
=== RUN   TestGetValidUsername
--- PASS: TestGetValidUsername (0.00s)
=== RUN   TestValidKey
--- PASS: TestValidKey (0.00s)
=== RUN   TestGetValidSubdomain
--- PASS: TestGetValidSubdomain (0.00s)
=== RUN   TestValidTXT
--- PASS: TestValidTXT (0.00s)
=== RUN   TestCorrectPassword
--- PASS: TestCorrectPassword (0.27s)
=== RUN   TestGetValidCIDRMasks
--- PASS: TestGetValidCIDRMasks (0.00s)
FAIL
FAIL	github.com/joohoi/acme-dns	7.574s
FAIL
*** Error code 1

Stop.
make: stopped in /usr/mports/dns/acme-dns

Links

Depends On

Depend Of

Nothing

Categories

CVEs

  • Loading CVE information...

LLM Analysis