lost and found ( for me ? )

BIND 9.10 dig tool support EDNS client subnet

Seen from release notes of BIND 9.10, dig tool included in BIND 9.10 supports EDNS client subnet.
Before BIND 9.10, we need to apply a patch to use EDNS client subnet with dig.

  - "dig +subnet" sends an EDNS CLIENT-SUBNET option when

build BIND 9.10 on Ubuntu 14.04.
# tail -1 /etc/lsb-release

# apt-get install build-essential libssl-dev
# tar xzvf bind-9.10.0-P1.tar.gz
# cd bind-9.10.0-P1
# ./configure
# make
# make install

# /usr/local/bin/dig -v
DiG 9.10.0-P1

# /usr/local/bin/dig -h | grep subnet
                +subnet=addr        (Set edns-client-subnet option)

Google public DNS support EDNS client subnet, send DNS queries to Google Public DNS.
You can send EDNS client subnet queries with +subnet option.
# /usr/local/bin/dig @ +subnet= www.google.com +short

# /usr/local/bin/dig @ +subnet= www.google.com +short

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.