Forwarders under 8.2.2-P5 slightly broken?
Bruno Hall
bruno_hall at yahoo.com
Fri Jul 21 00:21:41 UTC 2000
Greetings,
I've got a couple machines running 8.2.2-P5 on RedHat Linux 6.2 (2.2.16-3).
The first machine has been configured to forward all requests to
the second one, as in:
options {
forwarders { ip.of.second.machine; };
forward only;
};
The second machine is has root hints.
The problem I've noticed is that about 50% of the time, when a query
is sent to the first machine, it times out. When the same query is
immediately sent again, it succeeds. After the first query, there is
nothing regarind the query in the cache of the first machine. Meanwhile,
on the second machine, after the first query is sent, the cache contains
the NS records for the domain containing the RR sought, but not the RR
in question.
Example:
% dig @localhost www.gnac.com a
; <<>> DiG 8.2 <<>> @localhost www.gnac.com a
; (1 server found)
;; res options: init recurs defnam dnsrch
;; res_nsend to server localhost 127.0.0.1: Connection timed out
% dig @localhost www.gnac.com a
; <<>> DiG 8.2 <<>> @localhost www.gnac.com a
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUERY SECTION:
;; www.gnac.com, type = A, class = IN
;; ANSWER SECTION:
www.gnac.com. 28m45s IN A 198.151.248.248
;; AUTHORITY SECTION:
gnac.com. 28m45s IN NS ns1.gnac.com.
gnac.com. 28m45s IN NS ns2.gnac.net.
;; ADDITIONAL SECTION:
ns1.gnac.com. 28m45s IN A 209.182.195.77
ns2.gnac.net. 28m45s IN A 198.151.248.183
;; Total query time: 20 msec
;; FROM: first.domain.com to SERVER: localhost 127.0.0.1
;; WHEN: Thu Jul 20 19:10:49 2000
;; MSG SIZE sent: 30 rcvd: 130
What am I missing?
Bruno
--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Bruno Hall | VE2HUM | bruno_hall at yahoo.com | 847.808.9778
New systems generate new problems -- Join the Flat Earth Society.
More information about the bind-users
mailing list