nv-l
[Top] [All Lists]

[nv-l] Re: Help with name resolution on Linux

To: Leslie Clark <lclark@us.ibm.com>
Subject: [nv-l] Re: Help with name resolution on Linux
From: Leslie Clark <lclark@us.ibm.com>
Date: Tue, 21 Dec 2004 13:19:04 -0500
Cc: nv-l@lists.us.ibm.com
Delivery-date: Tue, 21 Dec 2004 18:19:37 +0000
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <OF3E863525.50C0D183-ON85256F71.004FE838-85256F71.005E3785@LocalDomain>
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com

Test - resending.
I did not get a copy of this back, although I did receive a copy of the one posted this morning about Herman's question.

Cordially,

Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
(248) 552-4968 Voicemail, Fax, Pager



Leslie Clark/Southfield/IBM

12/21/2004 12:12 PM

To
nv-l@lists.us.ibm.com
cc
Subject
Help with name resolution on LinuxLink




Has anyone encountered this? I'm trying to override DNS with /etc/hosts. It appears that you do this in /etc/nsswitch.conf and /etc/host.conf on Linux, similar to Solaris. And the host command behaves differently than it does on AIX - it always checks only dns, like nslookup. The same with the 'dig' command. So it is tricky to verify just what is going on. It appears to me that it works for forward resolution, but not for backward resolution.

That is,  gethostbyname  respects the order that you set in nsswitch.conf
     hosts:  files dns
and in /etc/host.conf
     order hosts, bind
     multi on
but gethostbyaddr does not.

Suggestions welcome.

Cordially,

Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
(248) 552-4968 Voicemail, Fax, Pager

<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web