From: "A. Mahendra Rajah, Systems Manager" <A.Mahendra.Rajah () Meena ! CC ! URegina ! CA>
To: tru64-unix-managers
Subject: DNS lookup order
Date: Tue, 01 Jun 1999 22:14:43 +0000 [thread overview]
Message-ID: <96079044115473.tru64-unix-managers.marc@archive.invalid> (raw)
Background: AS2000; Tru64 Unix 4.0D with patch #3
I am not sure what more I will need to do make sure that all nameserver
lookups will consult the /etc/hosts file first on this alpha server.
I have executed the `bindsetup' command and followed all the steps in
the `Setting Up a Client' section. When it asked for the order in which
to resolve host name queries, I selected 1, ie., it should consult the
local /etc/hosts file first!
Here is /etc/svc.conf file:
aliases=local
group=local
hosts=local,bind
netgroup=local
networks=local
passwd=local
protocols=local
rpc=local
services=local
I then did `/usr/sbin/rcinet restart' to make sure that TCP services
got restarted.
But, all nameserver queries get sent to the nameservers listed in
the /etc/resolv.conf, and the /etc/hosts file is never consulted.
What could be missing?
Another problem is that even though I have listed 4 hosts in the
/etc/resolv.conf file, only the first one is consulted before
declaring `unknown host' !
Any help will be appreciated. I will summarise.
Thanks,
-- mahendra
.........................................................................
A. Mahendra Rajah Email: Mahendra@Meena.CC.URegina.CA
VMS & DUNIX Systems Manager Phone: (306) 585-4496
Dept. of Computing Services FAX: (306) 585-5060
University of Regina,
Regina, Sask., S4S 0A2
Canada.
.........................................................................
reply other threads:[~1999-06-01 22:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox