I don't know what changed from gDD to ipdevpoll regarding this, but in earlier versions, NAV would update the name of a switch if rDNS was broken the day you added the device in NAV - if you later fixed rDNS. And by adding the given host to /etc/hosts (give you have the right order in nsswitch.conf) shouldn't the same thing happen with ipdevpoll?
-Vidar
-----Original Message----- From: Vidar Faltinsen [mailto:vidar.faltinsen@uninett.no] Sent: 26. oktober 2010 18:09 To: Morten Brekkevold Cc: Tor Pretorius; nav-users@uninett.no Subject: Re: use the /etc/hosts file
Morten Brekkevold wrote:
On Thu, Oct 14, 2010 at 10:35:22AM +0200, Tor Pretorius wrote:
How can I set the NAV 3.6, to use /etc/hosts file instead of dns server names in the column Name in the report.
You can't. The report itself only lists the names stored in the database. Those names are set by ipdevpoll, which uses DNS reverse-lookups to find names.
But won't a DNS reverse lookup first look in /etc/hosts before querying the dns server? I thought that was default behaviour.
- Vidar