Slow unqualified queries
Mark Drummond
mark at gangwarily.ca
Fri Oct 27 17:23:16 UTC 2006
I'm having a problem with delayed lookups on unqualified hostnames. I
know this has something to do with my use of forwarders but I'm not sure
how to fix it. querying fully qualified names works fine.
I have the following zones defined:
zone "empire.ca" { type master; file "db.empire"; };
zone "empire.corp" {
type forward;
forward first;
forwarders { 163.2.3.1; 163.2.3.4; };
};
So queries for *.empire.corp get forwarded, queries for *.empire.ca are
handled locally.
I am pretty sure that, when I do an unqualified lookup, the delay is
caused by the resolver trying to look up the hostname in empire.corp.
But I don't know that for sure.
chodirsvr1 root / # time ping choappsvr4
choappsvr4 is alive
real 0m10.026s
user 0m0.003s
sys 0m0.006s
chodirsvr1 root / # time ping choappsvr4.empire.ca
choappsvr4.empire.ca is alive
real 0m0.013s
user 0m0.003s
sys 0m0.006s
Any ideas?
Mark
More information about the bind-users
mailing list