DNS then /etc/hosts
When DNS is the first service to be used I cannot ping, use nslookup, etc
these utilities freeze/hang.
If I use /etc/hosts as the first service then I can ping other hosts on the
internal network. I have checked the /etc/resolv.conf file and it as
follows
domain xxxxx.org.au
search 192.168.100.3
nameserver 192.168.100.3
There is no mention of 'hostresorder'?
Does anyone know of any problems in configuring DNS and/or what
configuration files I need to check and what are the basic entries I should
have in these files?
Regards Craig Green
Hi Craig,
>We have an internal network that uses IP addresses in the range of
>192.168.100.xx . The main DNS server is an NT Server version 4 machine
>running MS proxy server version 2. I want to set up a UnixWare 7.1.1
>machine as a DNS client on the network. I have tried using the Client
>Manager to set the name resolution order as :
>
>DNS then /etc/hosts
>
>When DNS is the first service to be used I cannot ping, use nslookup, etc
>these utilities freeze/hang.
>If I use /etc/hosts as the first service then I can ping other hosts on the
>internal network.
That's the way to do it, the Client Manager. Set it to dns then hosts,
and it will work properly once you fix /etc/resolv.conf.
> I have checked the /etc/resolv.conf file and it as
>follows
>
>domain xxxxx.org.au
>search 192.168.100.3
>nameserver 192.168.100.3
>
>There is no mention of 'hostresorder'?
hostresorder is not used in 7.x.x. Instead use Client Manager
which modifies some bizarre files to fix the order. I forget which
one it modifies.
Try this for your /etc/resolv.conf:
-----------------------------------------------------
domain xxxxx.org.au
search xxxxx.org.au
nameserver 192.168.100.3
Other than that, it should work fine
for you. Check it with nslookup.
Regards,
Matthew