- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: nsquery and ping works - nslookup does not
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
Discussions
Discussions
Discussions
Forums
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
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
тАО10-17-2007 09:25 AM
тАО10-17-2007 09:25 AM
nsquery and ping works - nslookup does not
nsquery and ping both are successfull
resolv.conf and nsswitch.conf are configured as I have always configured them
resolv.conf
nameserver 172.20.1.10
nsswitch.conf
hosts: files [notfound=continue] dns
nslookup yahoo.com
*** Can't find server name for address 172.20.1.10: Non-existent domain
*** Default servers are not available
Using /etc/hosts on: uxapp2b
looking up FILES
Trying DNS
*** can't find yahoo.com: No response from server
If I run a manual nslookup and set the server to my NS then it works but not via command line even specifying the name server.
Any ideas ?
Multiple servers all 11.11 or 11.23 some from Sept 2006 patch bundle to June 2007 bundle.
Any ideas while I search the patch database ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2007 10:04 AM
тАО10-17-2007 10:04 AM
Re: nsquery and ping works - nslookup does not
I know nothing, but the message makes it
appear that nslookup expects to be able to
get a name for the name server (172.20.1.10).
Have you tried adding an entry (with a name)
in /etc/hosts for 172.20.1.10?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2007 03:59 PM
тАО10-17-2007 03:59 PM
Re: nsquery and ping works - nslookup does not
What is your bind version ?
PHNE_33766 11.11 Bind 8.1.2 Patch
PHNE_36973 11.23 Bind 9.2.0 components
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2007 08:14 PM
тАО10-17-2007 08:14 PM
Re: nsquery and ping works - nslookup does not
See that server 172.20.1.10 is fully resonsive.
telent 172.20.1.10 53
You should get a connection. I suspect an off system problem with the nameserver nothing wit the system itself.
Regards,
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2007 01:47 AM
тАО10-18-2007 01:47 AM
Re: nsquery and ping works - nslookup does not
WK - A respectfully recent PHNE_35920. Some older servers have the same issue running BIND 8.1.2. I will put the latest patch on my test server and get back to you.
SEP - Telnet connects to port 53, telnet, ping, nsquery, dig, succussfully lookup up many different DNS names. i.e. yahoo, hp, google, etc..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2007 07:13 AM
тАО10-18-2007 07:13 AM
Re: nsquery and ping works - nslookup does not
domain abc.com
search abc.com abcnet.abc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2007 08:22 AM
тАО10-18-2007 08:22 AM
Re: nsquery and ping works - nslookup does not
nslookup ( being depreciated according to a number of HP knowledge base articles ) does some things differently.
One of which it will do a reverse lookup on the nameserver IP to set the default nameserver.
In my environment the DNS admins ( M$ world ) have chosen not to configure any reverse data. The reverse lookup also does NOT look in the local host file but only via DNS. This is causing nslookup to fail across the board. KBRC00013982 and emr_na-c00926219-1 for details on this nslookup functionality.
All DNS hostname resolution seems to work with the exception of nslookup.
On W2K nslookup complains in the same way about not being able to set the default dns server name but the query still works.
I guess the answer is. Use dig or nsquery. nslookup is being depreciated anyway. ( or get DNS admins to configure properly :)
Thanks all.
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2007 09:53 AM
тАО10-19-2007 09:53 AM
Re: nsquery and ping works - nslookup does not
Summary:
nslookup attempts to do a reverse lookup on the nameserver IP via DNS in order to set the default name server hostname. If the DNS server is not configured properly then nslookup fails for all lookups.