Does EDNS0 work with bind-9.10.3-P2?

Sury Bu bushurui at gmail.com
Tue Jan 5 14:50:39 UTC 2016


Hi all,

I installed the latest version of bind-9.10.3-P2 but when I using dig EDNS
feature with +subnet, I found my local DNS can not carry client subnet,
does this  version support EDNS0 now?

[root at test ~]# dig @8.8.8.8 www.google.com +subnet=8.8.8.8

; <<>> DiG 9.10.3-P2 <<>> @8.8.8.8 www.google.com +subnet=8.8.8.8
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50372
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
; *CLIENT-SUBNET: 8.8.8.8/32/32 <http://8.8.8.8/32/32>*
;; QUESTION SECTION:
;www.google.com. IN A

;; ANSWER SECTION:
www.google.com. 299 IN A 74.125.226.17
www.google.com. 299 IN A 74.125.226.16
www.google.com. 299 IN A 74.125.226.18
www.google.com. 299 IN A 74.125.226.19
www.google.com. 299 IN A 74.125.226.20

;; Query time: 61 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Tue Jan 05 22:40:23 CST 2016
;; MSG SIZE  rcvd: 135

[root at test ~]# dig @127.0.0.1 www.google.com +subnet=8.8.8.8

; <<>> DiG 9.10.3-P2 <<>> @127.0.0.1 www.google.com +subnet=8.8.8.8
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42800
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 5

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;www.google.com. IN A

;; ANSWER SECTION:
www.google.com. 99 IN A 216.58.221.68

;; AUTHORITY SECTION:
google.com. 172599 IN NS ns4.google.com.
google.com. 172599 IN NS ns3.google.com.
google.com. 172599 IN NS ns1.google.com.
google.com. 172599 IN NS ns2.google.com.

;; ADDITIONAL SECTION:
ns1.google.com. 172599 IN A 216.239.32.10
ns2.google.com. 172599 IN A 216.239.34.10
ns3.google.com. 172599 IN A 216.239.36.10
ns4.google.com. 172599 IN A 216.239.38.10

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Jan 05 22:40:32 CST 2016
;; MSG SIZE  rcvd: 195
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20160105/82aa3360/attachment.html>


More information about the bind-users mailing list