0
我在Amazon Route53的DNS區域中存在拼寫錯誤。我有一個53開頭的IP,當它應該是52.我現在已經改變了Route53,但我仍然從挖掘和其他使用UDP的解析器機制獲取舊數據。如果我強制TCP,我會得到正確的數據。亞馬遜Route53:`dig + tcp`獲取當前數據,dig(UDP)滯後
這裏是Route53的實際DNS記錄,因爲這瞬間,表達了BIND語法:
$ORIGIN templatolio.com.
@ 3600 IN A 52.32.48.83
下面是一個使用UDP的結果。請注意,ANSWER以53開頭且Authority是0:
C:\>dig templatolio.com @ns1.aleyant.net
; <<>> DiG 9.10.3-P4 <<>> templatolio.com @ns1.aleyant.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34565
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4000
;; QUESTION SECTION:
;templatolio.com. IN A
;; ANSWER SECTION:
templatolio.com. 2289 IN A 53.32.48.83
;; Query time: 19 msec
;; SERVER: 205.251.199.16#53(205.251.199.16)
;; WHEN: Thu Sep 29 11:58:33 EDT 2016
;; MSG SIZE rcvd: 60
這是使用TCP的結果。請注意,答案52開始,因爲它應該:
C:\>dig +tcp templatolio.com @ns1.aleyant.net
; <<>> DiG 9.10.3-P4 <<>> +tcp templatolio.com @ns1.aleyant.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59721
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 8, ADDITIONAL: 5
;; WARNING: recursion requested but not available
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;templatolio.com. IN A
;; ANSWER SECTION:
templatolio.com. 3600 IN A 52.32.48.83
;; AUTHORITY SECTION:
templatolio.com. 3600 IN NS ns-1437.awsdns-51.org.
templatolio.com. 3600 IN NS ns-1808.awsdns-34.co.uk.
templatolio.com. 3600 IN NS ns-670.awsdns-19.net.
templatolio.com. 3600 IN NS ns-88.awsdns-11.com.
templatolio.com. 3600 IN NS ns1.aleyant.net.
templatolio.com. 3600 IN NS ns2.aleyant.net.
templatolio.com. 3600 IN NS ns3.aleyant.net.
templatolio.com. 3600 IN NS ns4.aleyant.net.
;; ADDITIONAL SECTION:
ns1.aleyant.net. 3600 IN A 205.251.199.16
ns2.aleyant.net. 3600 IN A 205.251.194.158
ns3.aleyant.net. 3600 IN A 205.251.197.157
ns4.aleyant.net. 300 IN A 205.251.192.88
;; Query time: 23 msec
;; SERVER: 205.251.199.16#53(205.251.199.16)
;; WHEN: Thu Sep 29 11:59:00 EDT 2016
;; MSG SIZE rcvd: 340
只是有一個想法:這會是我的ISP bogarting的UDP DNS數據包?