Operating System - HP-UX
1832480 Members
2924 Online
110043 Solutions
New Discussion

Re: Trouble resolving internet names

 
SOLVED
Go to solution
Robert Anderson
Advisor

Trouble resolving internet names

Currently running mixed environment of NT and HPUX 11.00. I can ping an address on the internet, which tells me routing is not the issue. An internet name does not get resolved. In NSLookup, it only looks at the /etc/hosts. Our NT environment currently has the Primary and Secondary DNS servers. How do I tell my HPUX boxes to query those DNS servers?
Don't think meat! It can only hurt the team!
3 REPLIES 3
Steven E. Protter
Exalted Contributor
Solution

Re: Trouble resolving internet names

modify the file /etc/resolv.conf

Put the IP addresses of the primary and secondary server in that file.

example.

search juf.org juf.net
nameserver 10.1.10.39
nameserver 10.1.10.45
nameserver 10.1.10.47


The /etc/nssswitch.conf must also have DNS resolution first.

Example.

hosts: dns[NOTFOUND=continue] files

SEP

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
James R. Ferguson
Acclaimed Contributor

Re: Trouble resolving internet names

Hi:

Setup '/etc/resolv.conf' to look like:

domain xyz.com
nameserver 10.100.100.2
nameserver 10.101.101.3

Regards!

...JRF...
Robert Anderson
Advisor

Re: Trouble resolving internet names

Thank you so much! This solved the issue
Don't think meat! It can only hurt the team!