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

Re: DNS lookup with Netscape 4.5, 4.51 and 4.6



Quoting Stephan Engelke (engelke@math.uni-hamburg.de):
> If so, what might cause the problem - what could I do to solve it?

It appears to me that Netscape's host lookup behaviour has changed so it is
not looking in /etc/hosts before asking your DNS server. This would explain
why you haven't seen the problem in previous versions of Netscape.

Probably what you want is to put a

	forward only;

line in the options { } section of your /etc/named.conf file. (This assumes
you are running a fairly recent version of BIND 8). This lobotimises your
DNS server so that if it fails to get a response from its forwarders, it
gives up (instead of going out on the Internet to find the answer itself).
What this means in effect is that gethostbyname() returns immediately when
you are not online, rather than waiting for a long timeout.

-- 
Adam Rice -- wysiwyg@glympton.airtime.co.uk -- Blackburn, Lancashire, England


Reply to: