- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- dns headache
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2005 05:15 AM
06-09-2005 05:15 AM
I have an external address that I can resolve through DNS, returned are 5 ip addresses for the one host
When I try to
telnet
or
ping
I get the message "unknown host"
I have this working ok on linux and windowz
I have the domain set in /etc/resolv.conf
I have my ip,fqdn and host set in /etc/hosts for the localhost
Any ideas why this is not working
Regards
Steve
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2005 05:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2005 05:37 AM
06-09-2005 05:37 AM
Re: dns headache
telnet hostname.somedomain.com 25
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2005 05:40 AM
06-09-2005 05:40 AM
Re: dns headache
traceroute
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2005 08:40 PM
06-09-2005 08:40 PM
Re: dns headache
Try a 'nslookup' of the machine by its name
If nslookup fails on both, then most likely your nsswitch (search order) and/or /etc/hosts is not properly configured. Also check what is searched in nsswitch, dns should be one of them.
If nslookup fails on
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2005 08:53 PM
06-09-2005 08:53 PM
Re: dns headache
nslookup
what is in /etc/nsswitch.conf file for hosts: entry.
nsquery
what you are getting there.
Check tracerouting path with,
tracert(windows) or traceroute (unix)
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2005 09:49 PM
06-09-2005 09:49 PM
Re: dns headache
i) /etc/rc.config.d/netconf
Check if the IP Address, Netmask and default gateway is set up correctly.
ii) /etc/resolv.conf
Check the DNS server's entry, it should have at least one line:
nameserver xx.xx.xx.xx ; Enter the DNS servers IP address here
iii) /etc/nsswitch.conf
Look for the line starting with "hosts", it should be something like:
hosts: dns [NOTFOUND=return] nis [NOTFOUND=return] files
NOTE: You may remove nis portion if nis is not configured in your environment.
~Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2005 01:02 AM
06-10-2005 01:02 AM
Re: dns headache
The plonker that added the entries to /etc/nsswitch.conf disregarded the entry that was already in there. When I built the machines here on site I had to force files as we didn't have dns setup. He added a new entry at the bottom of the file which was correct but was never referenced as the initial entry took precedence.
Thanks everyone
Steve