I
don't believe NSLOOKUP will use /etc/hosts. It is the <gethostbyname> or
similar O/S call that is smart enough to know to look in /etc/hosts. That's my
*belief* I could be wrong, I'm not an AIX guy.
I verified on the
AIX box that netsvc.conf is setup as hosts-local,bind. I then tried doing a
NSLookup by device name from the box and it returned only that it could not
find it in the DNS server. I did verify that it was in the /etc/hosts
file though. That is where I guess I am asking about Netview. Does
it just execute a nslookup when it receives a device name?
Thanks Chris Petrina
|
| James Shanks
<jshanks@us.ibm.com> Sent by: owner-nv-l@lists.us.ibm.com
12/22/2003 09:55 AM Please respond to nv-l
|
To:
nv-l@lists.us.ibm.com cc:
Subject: Re: [nv-l] netview
name lookup |
Great, but your DNS guys are mistaken if they think you cannot override
DNS locally on AIX with an /etc/hosts file. To do it, you need another
file called /etc/netsvc.conf. In there you specify the order in
which you would like name resolution to proceed. For example,
hosts = local, bind says to use your local /etc/hosts
first, and if no match is found, then go to DNS. Lot's of NetView
users employ this.
James Shanks Level 3 Support for Tivoli
NetView for UNIX and Windows Tivoli Software / IBM Software
Group
"Christopher J Petrina"
<cjp8@meadwestvaco.com> Sent by:
owner-nv-l@lists.us.ibm.com 12/22/2003 09:29 AM Please respond to
nv-l
To:
nv-l@lists.us.ibm.com cc:
Subject: Re: [nv-l] netview name
lookup
This is how I would figure it did the Name
resolution. HOwever with Netview running on an AIX box, my UNIX
guru's have come to tell me that name resolution is only done via a DNS
server from AIX. AIX cannot be configured to use the /etc/hosts file
for resolution. We ahve a DNS server that it attaches to.
And your answer is what I was looking for
Thank you Chris Petrina
Jane Curry <jane.curry@skills-1st.co.uk> Sent
by: owner-nv-l@lists.us.ibm.com 12/20/2003 06:57 AM Please respond to
nv-l To:
nv-l@lists.us.ibm.com cc:
Subject:
Re: [nv-l] netview name lookup
NetView
himself has no name-to-address resolution mechanism - he uses whatever the
host Operating System uses. That is, if all you have is a hosts file
with the NetView box in it, everything else will have IP addresses as
labels. It is strongly recommended that you have a reliable DNS
employed by the NetView system (preferably with the NetView system acting
as a caching / secondary DNS
server).
Cheers, Jane
Christopher J Petrina
wrote:
> > how does netview look attempt to determine the name
of a device. > i.e. in my location.conf file I am using names in place
of IP > addresses for my gateways. How does Netview resolve the
name on a AIX > box?
-- Tivoli Certified Consultant
& Instructor Skills 1st Limited, 2 Cedar Chase, Taplow, Bucks, SL6 0EU,
UK Tel: +44 (0)1628 782565 Copyright (c) 2003 Jane Curry
<jane.curry@skills-1st.co.uk>. All rights
reserved.
________________________________________________________________________ This
email has been scanned for all viruses by the MessageLabs
SkyScan service._______________________________________________________________
________________________________________________________________________ This
email has been scanned for all viruses by the MessageLabs
SkyScan service._______________________________________________________________
|