[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[LI] Net connection & DNS



Hello all,
I have a RH5.2 box as our gateway server which is configured as DNS & mail
server too. I have noticed one strange behaviour with my Linux box whenever
the internet connection is down (we have a leased line).

The problem:
The Linux box has got hosts file entry for itelf and other servers on the
network . Whenever the client m/c (Win9x) do a
'telnet <name-of-server>' , the name gets resolved to the ip and the
connection is established ( the client m/c dont have a host file entry for
the server names). But this is not the case when internet connection is
down. With the Net down, the telnet/ftp takes a good five minutes.

my /etc/host.conf entries are:
order    hosts,bind
multi    on
my /etc/resolv.conf entries are :
search local.domain
nameserver 127.0.0.1
nameserver 192.168.1.1     # ip of Linux box for internal network

And if i do a nslookup <name-of-server> , i get the ip resolved properly.

The DNS of the linux box is working with backward resolution also set . Can
somebody point out what the problem could be ?

Thanks & regards,
Manoj

--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.