Also do an 'nslookup' command,
do
set type=ptr
<IP address>
and see what you get.
This way you will know if you are using
DNS or /etc/hosts for sure. BTW, nslookup
will not do a reverse lookup (IP to name)
from /etc/hosts, only from a DNS.
Les Dickert
Verisign Consulting
>From: "John C. Grover" <JGrover@Maine.edu>
>Reply-To: IBM NetView Discussion <nv-l@tkg.com>
>To: IBM NetView Discussion <nv-l@tkg.com>
>Subject: Re: [NV-L] Host Name
>Date: Mon, 21 May 2001 14:51:07 -0400
>
>
>Probably worth an xnmsnmpconf -clearCache as well.
>
>Jane Curry wrote:
> >
> > Judy,
> > Is you NetView machine using your /etc/hosts file?? If you have done
>all
> > the necessary name-to-address changes and deleted from NetView and they
> > STILL come back with the old hostnames, perhpas your NetView system is
> > actually using DNS or NIS? Check the /etc/netsvc.conf file (for AIX,
> > /etc/nsswitch.conf for Solaris) to see what order your name-to-address
> > resolution mechanisms are used (if you haven't got this file - don't
> > worry). Then check whether you have a /etc/resolv.conf - if you have,
>you
> > will use DNS rather than /etc/hosts unless your netsvc says otherwise.
> >
> > Cheers, Jane
> >
> > Judy Stobby wrote:
> >
> > > Hi,
> > > I am having some host name discrepancies with two nodes that the
>router
> > > people decided to swap ip addresses. One node is the IBM 8265, which
> > > now has the ip address of our used to be default gateway router. The
> > > ethernet lec on the 8265 is now the default gateway. The old gateway
> > > router, is now just a router, with the same host name on the token
>ring
> > > side of the network. I changed the default gateway and I have swapped
> > > the ip addresses in the /etc/hosts file, but the 8265 shows up with
>the
> > > old gateway router host name. If I do object display info, I get all
> > > the correct information regarding the 8265. I have deleted the nodes,
> > > but the 8265 always appears with the old host name, not the one in the
> > > /etc/hosts file.
> > > When I try to explain this to the router folks, they tell me that
> > > netview is stupid, but I know better. Does anyone have an idea of
>what
> > > the problem is?
> >
> > --
> > Tivoli Certified Enterprise Consultant & Instructor
> > Skills 1st Limited, 2 Cedar Chase, Taplow, Bucks, SL6 0EU, UK
> > Tel: +44 (0)1628 782565
> > Copyright (c) 2001 Jane Curry <jane.curry@skills-1st.co.uk>. All rights
> > reserved.
> >
> >
>_________________________________________________________________________
> > NV-L List information and Archives: http://www.tkg.com/nv-l
>
>--
>---------------------------------+--------------------------------------
>John Grover | Operations Manager,
>UNET, Technology Services | Senior Technical Support Specialist
>University of Maine System | JGrover@Maine.edu
>Computing Center | phone: (207) 581-3510
>Orono, ME 04469 | fax: (207) 581-3531
>_________________________________________________________________________
>NV-L List information and Archives: http://www.tkg.com/nv-l
_________________________________________________________________
|