- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: nslookup does not return the information of th...
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
08-23-2001 04:16 AM
08-23-2001 04:16 AM
TRYING DNS
looking up FILES
No address information is available for ....
It seems that the /etc/hosts is correct.
Any help would be appreciated
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 04:22 AM
08-23-2001 04:22 AM
Re: nslookup does not return the information of the hosts file
This could be a permission problem with /etc/hosts. On our machine it's 555 and ownership is bin:bin.
And I hope that the syntax in hosts file is correct.
...BPK...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 04:23 AM
08-23-2001 04:23 AM
Re: nslookup does not return the information of the hosts file
post copy of etc/hosts & /etc/nsswitch.conf ... should read ->
hosts: dns [ NOTFOUND = continue ] files
would be useful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 04:33 AM
08-23-2001 04:33 AM
Re: nslookup does not return the information of the hosts file
example of my nsswitch.conf file is:
# See the Adminstering Internet Services Manual and the switch(4) man
# page for more information on the name service switch.
#
hosts: dns [NOTFOUND=continue] files
services: files
protocols: files
networks: files
rpc: files
netgroup: files
automount: files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 04:45 AM
08-23-2001 04:45 AM
Re: nslookup does not return the information of the hosts file
hosts: dns [NOTFOUND=continue UNAVAILABLE=continue TRYAGAIN=continue] files[NOTFOUND=return UNAVAILABLE=continue TRYAGAIN=return]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 04:54 AM
08-23-2001 04:54 AM
Re: nslookup does not return the information of the hosts file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 05:11 AM
08-23-2001 05:11 AM
Re: nslookup does not return the information of the hosts file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 05:26 AM
08-23-2001 05:26 AM
Re: nslookup does not return the information of the hosts file
ll /etc/hosts ?
copy of /etc/hosts ?
This should work :( if above are correct and you are using Melvins copy of nsswitch.conf.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 05:36 AM
08-23-2001 05:36 AM
Re: nslookup does not return the information of the hosts file
What Alex says should work. I have create same setup in my system.
In my /etc/hosts file I have add one dummy system name. I run nslookup and it didn't work. I changed the nsswitch.conf file
hosts dns [NOTFOUND=continue] files
and it works. Remove the entry after "files" on nsswitch.conf.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 05:59 AM
08-23-2001 05:59 AM
Re: nslookup does not return the information of the hosts file
I have had this problem before. If you set up your nsswitch.conf file as Melv stated. This it should work if permissions are correct. Not only the permissions of hosts, but also nsswitch.conf. Try this.
1. Check /etc/hosts and /etc/nsswitch.conf for correctness.
2. chmod 444 /etc/hosts /etc/nsswitch.conf
That should do it.
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 06:02 AM
08-23-2001 06:02 AM
SolutionI encountered the same problem on HP-UZ 11.00 a few years back. I believe its a bug in nslookup since other commands like ping and telnet do work properly. I did sent it to HP but still have not received an answer, so I don't know if a patch is available. The solution is to change the order in /etc/nsswitch.conf around to resolve local files first:
hosts: files [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] dns
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 06:30 AM
08-23-2001 06:30 AM
Re: nslookup does not return the information of the hosts file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 06:44 AM
08-23-2001 06:44 AM
Re: nslookup does not return the information of the hosts file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 07:02 AM
08-23-2001 07:02 AM
Re: nslookup does not return the information of the hosts file
Thank You very much for Your help. Only changing the order of DNS and Files in /etc/nsswitch.conf worked. I haven't installed the patch , but I'm going to di it tomorrow.
Thanks a lot