BIND 10 #1073: root_addresses settings doesn't work for resolver
BIND 10 Development
do-not-reply at isc.org
Wed Jun 29 08:55:47 UTC 2011
#1073: root_addresses settings doesn't work for resolver
-------------------------------------+-------------------------------------
Reporter: | Type: defect
zhangcuiling | Priority: minor
Status: new | Component: Unclassified
Milestone: New | Sensitive: 0
Tasks | Sub-Project: DNS
Keywords: | Estimated Difficulty: 0
Defect Severity: N/A | Total Hours: 0
Feature Depending on Ticket: |
Add Hours to Ticket: 0 |
Internal?: 0 |
-------------------------------------+-------------------------------------
use bind10 updated at this point:
Date: Wed Jun 29 01:18:59 2011 +0000
what ip addresses are used by resolver?
output of bindctl:
{{{
> config show Resolver/listen_on
Resolver/listen_on[0]/address "10.53.0.8" string
Resolver/listen_on[0]/port 53 integer
> config set Resolver/root_addresses [{ "address": "10.53.0.1", "port": 53
}]
> config commit
}}}
output of bind10
{{{
2011-06-29 16:41:29.896 INFO [b10-resolver.resolver]
RESOLVER_SET_ROOT_ADDRESS setting root address 10.53.0.1(53)
}}}
results of 'dig'
{{{
# dig +nocmd +nostat @10.53.0.8 example ns -b 127.0.0.1
;; QUESTION SECTION:
;example. IN NS
;; AUTHORITY SECTION:
. 86400 IN SOA a.root-servers.net. nstld
.verisign-grs.com. 2011062801 1800 900 604800 86400
}}}
{{{
# dig +nocmd +nostat @10.53.0.1 example ns -b 127.0.0.1
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40302
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;example. IN NS
;; AUTHORITY SECTION:
example. 300 IN NS ns2.example.
;; ADDITIONAL SECTION:
ns2.example. 300 IN A 10.53.0.2
}}}
{{{
# dig +nocmd +nostat @10.53.0.2 example ns -b 127.0.0.1
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56793
;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;example. IN NS
;; ANSWER SECTION:
example. 300 IN NS ns2.example.
example. 300 IN NS ns3.example.
;; ADDITIONAL SECTION:
ns2.example. 300 IN A 10.53.0.2
ns3.example. 300 IN A 10.53.0.3
}}}
--
Ticket URL: <http://bind10.isc.org/ticket/1073>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list