我有域名icebuddha.com,我试图与静态Github页面(https://github.com/0xdabbad00/icebuddha)关联。当我ping或挖掘这个地址时,我没有看到here。我在Route53中配置了这个域,如下所示:
挖掘记录(正常,注意它没有A记录):
$ dig icebuddha.com
; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> icebuddha.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 50957
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;icebuddha.com. IN A
;; Query time: 273 msec
;; SERVER: 192.168.106.2#53(192.168.106.2)
;; WHEN: Sat Jun 18 13:11:26 2016
;; MSG SIZE rcvd: 31
当我指定要使用的名称服务器时,挖掘记录(注意它确实有A记录,这很好):
$ dig icebuddha.com @ns-10.awsdns-01.com
; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> icebuddha.com @ns-10.awsdns-01.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18793
;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 4, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;icebuddha.com. IN A
;; ANSWER SECTION:
icebuddha.com. 300 IN A 192.30.252.154
icebuddha.com. 300 IN A 192.30.252.153
;; AUTHORITY SECTION:
icebuddha.com. 172800 IN NS ns-10.awsdns-01.com.
icebuddha.com. 172800 IN NS ns-1447.awsdns-52.org.
icebuddha.com. 172800 IN NS ns-1607.awsdns-08.co.uk.
icebuddha.com. 172800 IN NS ns-737.awsdns-28.net.
;; Query time: 69 msec
;; SERVER: 205.251.192.10#53(205.251.192.10)
;; WHEN: Sat Jun 18 13:11:43 2016
;; MSG SIZE rcvd: 199
答案 0 :(得分:5)
解决方案是确保名称服务器和NS记录的所有三个提及相同。通过使用最后一个图像作为权威答案,并将中间图像设置为这些值,这是有效的。