- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- nslookup issue in redhat 9
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
тАО11-07-2005 08:15 PM
тАО11-07-2005 08:15 PM
nslookup issue in redhat 9
I am facing some problem with nslookup in redhat linux 9 . I have added a host in /etc/hosts.and the search order in /etc/nsswitch.conf is like the following
hosts: files nis dns
but when I give an nslookup the error follows
root@wiplx14 etc]# nslookup wiplx14
Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead. Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
Server: 10.200.50.100
Address: 10.200.50.100#53
** server can't find wiplx14: SERVFAIL
The system directly contactinf the DNS server
which is 10.200.50.100..
Please help
Thanks
Binu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2005 08:46 PM
тАО11-07-2005 08:46 PM
Re: nslookup issue in redhat 9
you can try to ping to this hostname and see if it gets resolved,or
you can issue
dig -f /etc/hosts hostname
where hostname is the name that you've added to /etc/hosts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2005 09:38 PM
тАО11-07-2005 09:38 PM
Re: nslookup issue in redhat 9
nslookup will usually use the DNS, as already stated. You can simply use the command 'host' to the Your resolver, but I'm not really sure You'll be happy with a DNS that can't resolve itself (unless it's just a domain suffix issue, of course).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2005 09:49 PM
тАО11-07-2005 09:49 PM
Re: nslookup issue in redhat 9
I dont want want resolve my hostname using dns but I want from /etc/hosts or from the nis server .. Is it possible
Thanks
Binu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2005 10:21 PM
тАО11-07-2005 10:21 PM
Re: nslookup issue in redhat 9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2005 01:14 AM
тАО11-08-2005 01:14 AM
Re: nslookup issue in redhat 9
If this is what you are trying to do, the short answer is: you can't. nslookup doesn't querry /etc/hosts, or NIS. nslookup querries dns only. As mentioned above, you can try the host command, or dig, as mentioned above. If you need to add the host to DNS, you should talk to your DNS admin to do that (because I'm assuming from the nature of your question that you aren't the DNS admin).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2005 07:17 PM
тАО11-09-2005 07:17 PM
Re: nslookup issue in redhat 9
hosts: files nis
It will try to resolve hostname as,
files then nis configuration.
It will not use dns for this.
hth.