NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Resolver problems

On Dec 2, 2009, at 2:13 PM, Ingolf Steinbach wrote:

> Hi,
> which configuration settings are necessary to avoid AAAA look-ups in
> general? v6 support has already been removed from my kernel -- no
> interface has a v6 address, but still every application which wants to
> resolve a name first asks for a AAAA record and requests the A record
> only after 15 seconds.

I don't know, but if the reason you want to avoid AAAA lookups is to get rid of 
the 15 second delay, I think the problem is elsewhere... at least I haven't 
seen any problems from asking for an AAAA record.

> What's also unclear: what is the reason for the "port ... unreachable"
> ICMP messages?

That seems like a more likely reason for the delay--on my machines, the 
resolver asks for an AAAA record, and if there isn't one, it immediately asks 
for an A record. The delay added by the AAAA query is in the order of 
milliseconds. Is there any chance that ipfilter/pf on the NetBSD box is 
rejecting the DNS responses from your name server?

Name: Dave Huang         |  Mammal, mammal / their names are called /
INet: |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan         |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 33 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++

Home | Main Index | Thread Index | Old Index