Replies: 2 comments
-
sometimes I'm also getting the following error, even though the three NS above returned the entry noted in the error message |
Beta Was this translation helpful? Give feedback.
-
Not sure what I might be doing wrong. There is no split DNS and Google and cloudflare "see" the correct entries as well |
Beta Was this translation helpful? Give feedback.
-
Hi,
just started using lego (cli, 4.14.0) and I have problems getting my certs validated via DNS. Sometimes it works, after trying 10 times. I upped the timeout to 15mins and still got those errors. Here is my latest run:
During the command above, I used dig to check propagation of the entries. And they are instantly there, be it with the authorative NS, cloudflare or google:
; <<>> DiG 9.18.12-0ubuntu0.22.04.2-Ubuntu <<>> -t TXT _acme-challenge.test.example.com @ns.example.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26796
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;_acme-challenge.test.example.com. IN TXT
;; ANSWER SECTION:
_acme-challenge.test.example.com. 120 IN TXT "VNpTtNGEuT227WlTvCyf14RaGBMLIpTHgNxysQ-8zNw"
;; Query time: 3 msec
;; SERVER: 134.102.137.37#53(ns.example.com) (UDP)
;; WHEN: Wed Aug 23 09:16:01 CEST 2023
;; MSG SIZE rcvd: 122
root@sidley:~# dig -t TXT _acme-challenge.test.example.com @1.1.1.1
; <<>> DiG 9.18.12-0ubuntu0.22.04.2-Ubuntu <<>> -t TXT _acme-challenge.test.example.com @1.1.1.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2488
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;_acme-challenge.test.example.com. IN TXT
;; ANSWER SECTION:
_acme-challenge.test.example.com. 108 IN TXT "VNpTtNGEuT227WlTvCyf14RaGBMLIpTHgNxysQ-8zNw"
;; Query time: 11 msec
;; SERVER: 1.1.1.1#53(1.1.1.1) (UDP)
;; WHEN: Wed Aug 23 09:16:05 CEST 2023
;; MSG SIZE rcvd: 122
root@sidley:~# dig -t TXT _acme-challenge.test.example.com @8.8.8.8
; <<>> DiG 9.18.12-0ubuntu0.22.04.2-Ubuntu <<>> -t TXT _acme-challenge.test.example.com @8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48450
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;_acme-challenge.test.example.com. IN TXT
;; ANSWER SECTION:
_acme-challenge.test.example.com. 120 IN TXT "VNpTtNGEuT227WlTvCyf14RaGBMLIpTHgNxysQ-8zNw"
;; Query time: 23 msec
;; SERVER: 8.8.8.8#53(8.8.8.8) (UDP)
;; WHEN: Wed Aug 23 09:16:09 CEST 2023
;; MSG SIZE rcvd: 122
Beta Was this translation helpful? Give feedback.
All reactions