DNS格式错误

时间:2012-11-08 11:31:28

标签: dns udp

我收到DNS的格式错误。什么是它的任何想法?

Client /root #dig @2029:192:168:119::170 ns udp.net +bufsize=50000 +tries=10 ns +noqr
;; Warning, extra type option

; <<>> DiG 9.3.1 <<>> @2029:192:168:119::170 ns udp.net +bufsize=50000 +tries=10 ns +noqr
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: FORMERR, id: 55070
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 50000
;; QUESTION SECTION:
;udp.net.           IN  NS

;; Query time: 0 msec
;; SERVER: 2029:192:168:119::170#53(2029:192:168:119::170)
;; WHEN: Thu Nov  8 14:49:08 2012
;; MSG SIZE  rcvd: 36

无法在Google上找到任何有用的资料。

1 个答案:

答案 0 :(得分:0)

我还没能确定一个确切的原因,但是我已经完成的研究有几个主题:

  • 这似乎经常归因于错误配置的负载均衡器。
  • 似乎仅在发送EDNS记录时才会发生。

例如,一些样本:

$ dig AAAA gtm03.wallst.com @209.234.224.40

; <<>> DiG 9.9.2 <<>> AAAA gtm03.wallst.com @209.234.224.40
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: FORMERR, id: 29393
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;gtm03.wallst.com.              IN      AAAA

;; Query time: 80 msec
;; SERVER: 209.234.224.40#53(209.234.224.40)
;; WHEN: Fri Mar 15 02:51:24 2013
;; MSG SIZE  rcvd: 45

$ dig +noedns AAAA gtm03.wallst.com @209.234.224.40

; <<>> DiG 9.9.2 <<>> +noedns AAAA gtm03.wallst.com @209.234.224.40
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23716
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;gtm03.wallst.com.              IN      AAAA

;; AUTHORITY SECTION:
wallst.com.             300     IN      SOA     dns01.wallst.com. dnsadmin.wallst.com. 2911145386 7200 3600 86313600 300

;; Query time: 82 msec
;; SERVER: 209.234.224.40#53(209.234.224.40)
;; WHEN: Fri Mar 15 02:51:38 2013
;; MSG SIZE  rcvd: 85

我在两个不同大陆的不同主机上获得相同的输出。

就我所知,这是你要查询的服务器的错,而不是你自己的解析器。