- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- nslookup hostname fails.
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
12-26-2002 11:41 AM
12-26-2002 11:41 AM
nslookup hostname fails.
nslookup hostname fails, while nslookup hostname.domain.com succeeds. nsswitch.conf is set to look into dns first and then files. resolv.conf is fine. The box has the latest BIND patches and the version of nslookup is 1.1.214.3(what nslookup). Any ideas??
Thanks
Ben.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2002 11:45 AM
12-26-2002 11:45 AM
Re: nslookup hostname fails.
# cat /etc/resolv.conf
domain abc.com
nameserver 123.45.67.89
If you don't have the domain as the first line in your /etc/resolv.conf then add it in.
You may also want to look at the searchorder line in the resolv.conf man page.
# man resolv.conf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2002 11:46 AM
12-26-2002 11:46 AM
Re: nslookup hostname fails.
You need to check in named.boot and /etc/hosts, you may have a typo..
By the way....did it resolve properly based on IP??
Just a quick thought,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2002 11:47 AM
12-26-2002 11:47 AM
Re: nslookup hostname fails.
check in /etc/named.data directory .
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2002 12:02 PM
12-26-2002 12:02 PM
Re: nslookup hostname fails.
Verify that you do have a "domain" line in /etc/resolv.conf. Then the command "nslookup hostname" will work only if its domain name is the same as the one specified in /etc/resolv.conf.
If your hostname shares the same domain name mentioned in /etc/resolv.conf and nslookup could not resolve the hostname then the problem is in your dns data/configuration files.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2002 12:08 PM
12-26-2002 12:08 PM
Re: nslookup hostname fails.
hosts: dns files
The default criteria are to continue on anything except SUCCESS;
in other words, [SUCCESS=return NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue].
nslookup will report each source as it tries. So for dns then files, you'll see the lookup for DNS first (which will probably fail, followed by FILES which is /etc/hosts.
Bill Hassell, sysadmin