1834528 Members
3407 Online
110068 Solutions
New Discussion

Slow Name Resolution

 
Simon Hargrave
Honored Contributor

Slow Name Resolution

I have recently installed VPO 7.1 on a new server, and am periodically getting the following message generated from NNM: -

-

Your Name Services are performing poorly, likely misconfigured. The average for the past 101 lookups took 3846.2 milleseconds, expect less than 500 milleseconds.

-

However I have never managed to make it slow, eg interactive nslookup requests come back instantly: -

-

perseus:/root# timex nslookup priv_nt_server5
Name Server: ukls04.ukgfls
Address: 172.30.253.3

Trying DNS
Name: priv_nt_server5.ukgfls
Address: 172.28.66.76


real 0.02
user 0.01
sys 0.00

-

As far as I can see all my configs are fine: -

-

/etc/nsswitch.conf:
hosts: dns [ NOTFOUND=continue TRYAGAIN=continue ] files

/etc/nsswitch.conf:
domain ukgfls
nameserver 172.30.253.3
nameserver 191.254.176.237

-

Can anyone suggest what I can do to find out why these error messages are occuring?

TIA


Sy
6 REPLIES 6
U.SivaKumar_2
Honored Contributor

Re: Slow Name Resolution

Hi,

domain ukgfls
nameserver 172.30.253.3
nameserver 191.254.176.237

Change domain to fully qualified
domain ukgfls.co.uk

Which server has less Round Trip time ?
172.30.253.3 or
191.254.176.237 ?
( Measure the RTT using ping command )
Put the server with lowest RTT as the first nameserver entry in /etc/resolv.conf


regards,
U.SivaKumar




Innovations are made when conventions are broken
T G Manikandan
Honored Contributor

Re: Slow Name Resolution

Simon Hargrave
Honored Contributor

Re: Slow Name Resolution

ukgfls is the fully qualified domain, it's not an external DNS server so only hosts internal domain name structures.

The 172.30 address is on the same subnet, the other DNS server is on another site via ATM link.

The main thing I don't understand though is that my nslookups are as quick as I'd expect, but seemingly NNM is having problems resolving.
Steven E. Protter
Exalted Contributor

Re: Slow Name Resolution

I have noticed that if the DNS server is an external Microsoft server, I get very slow resolution.

Microsoft says its the NIC or HP-UX. HP says its Microsoft not complying with industry standard.

Steve
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Simon Hargrave
Honored Contributor

Re: Slow Name Resolution

Cheers people.

Having run checkDNS I get about 1700 results of the form: -

172.30.253.10 took 4 seconds to resolve
131.12.0.253 took 4 seconds to resolve
172.30.3.253 took 4 seconds to resolve
172.30.4.251 took 4 seconds to resolve
172.30.5.253 took 5 seconds to resolve
...yada yada...

All of these are hosts without DNS entries. Obviously I don't want to add 1700 entries to my hosts file!

Now I presume all these "slow" lookups are impacting on NNMs ability to check all the rest in a timely fashion, so what would you suggest would be the best way to address this?

I think most of the addresses are printers, telephony switches, and virtual interfaces on VLANs etc. I presume I can't make NNM wait less than 4-5 seconds (I presume this timeout would be a global gethostbyname() issue) so is my only option to either unmanage all the addresses, or have the DNS guy add them all?!

Any other suggestions appreciated.



Sy
Simon Hargrave
Honored Contributor

Re: Slow Name Resolution

Ah, found ipNoLookup.conf. I'll give that a go.