Re: DNS lookup problems (for shortened names)

From: Balint Nagy Endre <bne@dont-contact.us>
Date: Fri, 11 Apr 1997 06:08:19 +0200 (MET DST)

> Let's assume my domain is foo.com, subdivided into uk.foo.com and us.foo.com.
> There's a machine called www.us.foo.com and another called www.uk.foo.com.
>
> If I go for the URL http://www.uk.foo.com/ - no problems. However, if I
> go for http://www.uk/ it fails (with a DNS failure). However, the Squid
> machine *can* nslookup "www.uk" successfully. If it's relevant, nslookup
> reports it's search order to be "uk.foo.com foo.com".
>
> After a bit of DNS debugging, I've found that nslookup asks for
> www.uk.uk.foo.com and then www.uk.foo.com, whereas dnsserver just asks for
> www.uk.
>
> Question is: Is this my DNS's problem, or is dnsserver not doing it's job
> quite as it should? If it's dnsserver, what can I do about it?
just add
dns_defnames on
to squid.conf

Andrew. (Endre "Balint" Nagy) <bne@CareNet.hu>
Received on Thu Apr 10 1997 - 21:13:46 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:34:58 MST