DNS problem: NXDOMAIN looking up A for mydomain

Hello ,

i am getting this error when i am executing the certbot command :

Some challenges have failed.

IMPORTANT NOTES:

  • The following errors were reported by the server:

    Domain: www.govindbairwa.com
    Type: dns
    Detail: DNS problem: NXDOMAIN looking up A for www.govindbairwa.com

    My dns is working fine , my dns configuration is below :

$TTL 86400
@ IN SOA dns.govindbairwa.com. root.govindbairwa.com. (

                                    2019071005      ; serial
                                    3600    ; refresh
                                    1800    ; retry
                                    604800  ; expire
                                    86400 ) ; minimum

@ IN NS www.govindbairwa.com.
@ IN A 192.168.0.99
www IN A 192.168.0.99

please help me.

No it isn’t:

Dans-MacBook-Pro-4709% dig www.govindbairwa.com

; <<>> DiG 9.8.3-P1 <<>> www.govindbairwa.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 47455
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;www.govindbairwa.com.		IN	A

;; AUTHORITY SECTION:
com.			900	IN	SOA	a.gtld-servers.net. nstld.verisign-grs.com. 1573107217 1800 900 604800 86400

;; Query time: 49 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Thu Nov  7 01:13:53 2019
;; MSG SIZE  rcvd: 111
Dans-MacBook-Pro-4709% dig ns govindbairwa.com

; <<>> DiG 9.8.3-P1 <<>> ns govindbairwa.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 35077
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;govindbairwa.com.		IN	NS

;; AUTHORITY SECTION:
com.			900	IN	SOA	a.gtld-servers.net. nstld.verisign-grs.com. 1573107282 1800 900 604800 86400

;; Query time: 41 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Thu Nov  7 01:14:57 2019
;; MSG SIZE  rcvd: 107

Edit: That’s no doubt because neither you nor anyone else owns that domain:

1 Like

this is all , in my local network … i am not using it publicly.

It doesn’t matter if you’re using it publicly, you must own a public domain and publish public DNS records in order to get a cert from Let’s Encrypt.

OK Dude , Got it , thanks.