- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: nslookup
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-28-2001 11:54 AM
06-28-2001 11:54 AM
*** Can't find server name for address 192.168.1.2: Non-existent domain
*** Default servers are not available
Using /etc/hosts on: fredin
What is the problem with DNS that is not allowing it to resolve the inquery?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 12:06 PM
06-28-2001 12:06 PM
Re: nslookup
Hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 12:09 PM
06-28-2001 12:09 PM
Re: nslookup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 12:16 PM
06-28-2001 12:16 PM
Solution1. Make sure your /etc/hosts file has your machine's hostname and IP address listed correctly. Both should agree with what you have in /etc/rc.config.d/netconf for hostname and IP address.
2. Make sure your /etc/resolv.conf file has the following entries:
domain foo.com
nameserver 1.2.3.4
nameserver 5.6.7.7
where "foo.com" is your domain, and the nameserver(s) identified (max=3) are actually legitimate nameservers that are authoritative for your domain.
3. Make sure your /etc/nsswitch.conf file specifies DNS first (if that's what you want) then /etc/hosts. The contents of the file should look similar to this:
hosts: dns[NOTFOUND=continue UNAVAIL=continue] files[NOTFOUND=return UNAVAIL=return]
Cheers,
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 02:35 PM
06-28-2001 02:35 PM
Re: nslookup
One could argue that this is a security feature, that it prevents IP address spoofing.
So the fix is either: get your DNS server updated to report its hostname when queried about the IP address (reverse lookup).
Or, change your search policy as mentioned before to use hosts first. The latter is definitely preferred for network efficiency as well as speed. Put the most common IP addresses in your hosts file. The nslookup will use the server for everything else.
Bill Hassell, sysadmin