Slow unqualified queries

Kevin Darcy kcd at daimlerchrysler.com
Fri Oct 27 19:35:19 UTC 2006


Mark Drummond wrote:
> 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?
>   
Look in the query log to see what's actually being looked up. Do those 
lookups manually and see if they're slow to resolve or not. If so, dig 
further into what's causing those slow lookups.

                                                                         
               - Kevin




More information about the bind-users mailing list