I’m working on testing a higher-order client against the LE staging environment. I am currently using Google, Cloudflare, and Level3’s public DNS servers to check my DNS-01 challenges. My workflow leverages the go-acme/lego internally, with the DNS precheck using all three of the referenced public providers to verify the record is available before continuing the certificate request workflow. The challenges are resolving just fine from all 3 providers, but the LE staging server keeps throwing these kinds of errors:
acme: error: 400 :: urn:ietf:params:acme:error:dns :: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.db-v2-3019.cdn-broker-test.cloud.gov
But I can resolve it, and it works just fine.
dig -t txt _acme-challenge.db-v2-3019.cdn-broker-test.cloud.gov
; <<>> DiG 9.10.6 <<>> -t txt _acme-challenge.db-v2-3019.cdn-broker-test.cloud.gov
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22889
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4000
;; QUESTION SECTION:
;_acme-challenge.db-v2-3019.cdn-broker-test.cloud.gov. IN TXT
;; ANSWER SECTION:
_acme-challenge.db-v2-3019.cdn-broker-test.cloud.gov. 60 IN TXT "ZKYTWRW4oFyBlJhZKhDSuD9xTkRRxfrspLfqz3ZMl44"
;; Query time: 138 msec
;; SERVER: 192.168.115.4#53(192.168.115.4)
;; WHEN: Tue Nov 26 13:11:13 MST 2019
;; MSG SIZE rcvd: 137
What DNS provider does the LE staging environment use? I want to make sure they can resolve the DNS records because using the public DNS servers doesn’t seem to work.