У меня проблема с доменом, который не разрешается.ниже вывод объясняет проблему
username@username-nuc:~$ host mydomain.com
Host mydomain.com not found: 2(SERVFAIL)
username@username-nuc:~$ dig mydomain.com
; <<>> DiG 9.11.3-1ubuntu1.3-Ubuntu <<>> mydomain.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 1345
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;mydomain.com. IN A
;; Query time: 0 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: Sat Feb 09 01:25:10 IST 2019
;; MSG SIZE rcvd: 41
username@username-nuc:~$ dig +trace mydomain.com
; <<>> DiG 9.11.3-1ubuntu1.3-Ubuntu <<>> +trace mydomain.com
;; global options: +cmd
;; Received 28 bytes from 127.0.0.53#53(127.0.0.53) in 0 ms
username@username-nuc:~$ dig +trace mydomain.com A
; <<>> DiG 9.11.3-1ubuntu1.3-Ubuntu <<>> +trace mydomain.com A
;; global options: +cmd
;; Received 28 bytes from 127.0.0.53#53(127.0.0.53) in 0 ms
username@username-nuc:~$ nslookup mydomain.com
Server: 127.0.0.53
Address: 127.0.0.53#53
** server can't find mydomain.com: SERVFAIL
username@username-nuc:~$
Ниже приведены настройки DNS в маршрутизаторе aws 53. Обратите внимание, что этот домен ранее размещался на godaddy, и я перешел на aws (поэтому теперь домен зарегистрирован на маршрутизаторе aws 53).
username@username-nuc:~$ dig mydomain.com +trace @1.1.1.1
; <<>> DiG 9.11.3-1ubuntu1.3-Ubuntu <<>> mydomain.com +trace @1.1.1.1
;; global options: +cmd
. 3601 IN NS i.root-servers.net.
.....
. 3601 IN NS h.root-servers.net.
. 3601 IN RRSIG NS 8 0 518400 20190221050000 20190208040000 16749 . <Some base64>
;; Received 717 bytes from 1.1.1.1#53(1.1.1.1) in 5 ms
com. 172800 IN NS a.gtld-servers.net.
......
com. 172800 IN NS m.gtld-servers.net.
com. 86400 IN DS 30909 8 2 <SOME HEX> C41A5766
com. 86400 IN RRSIG DS 8 1 86400 20190221170000 20190208160000 16749 . <Some base64>
;; Received 1172 bytes from 193.0.14.129#53(k.root-servers.net) in 266 ms
mydomain.com. 172800 IN NS ns57.domaincontrol.com.
mydomain.com. 172800 IN NS ns58.domaincontrol.com.
<SOME HEX>.com. 86400 IN NSEC3 1 1 0 - <SOME HEX> NS SOA RRSIG DNSKEY NSEC3PARAM
<SOME HEX>.com. 86400 IN RRSIG NSEC3 8 2 86400 20190212213240 20190205202240 16883 com. <Some base64>
<SOME HEX>.com. 86400 IN NSEC3 1 1 0 - <SOME HEX> NS DS RRSIG
<SOME HEX>.com. 86400 IN RRSIG NSEC3 8 2 86400 20190215053919 20190208042919 16883 com. <Some base64>
;; Received 666 bytes from 192.52.178.30#53(k.gtld-servers.net) in 276 ms
;; Received 41 bytes from 97.74.108.29#53(ns57.domaincontrol.com) in 327 ms
username@username-nuc:~$