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
07-11-2001 01:57 AM
07-11-2001 01:57 AM
nslookup
In my linux config the host name search path is :hosts, dns. When i run nslookup the search order is still dns and i don't see the server name i put in the hosts file..! Do i make a mistake, or should i change something else to get the host name search path : hosts, dns?
Thanks in advance.
Huseyin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2001 03:58 AM
07-11-2001 03:58 AM
Re: nslookup
Try this way :
hosts: files [NOTFOUND=CONTINUE UNAVAIL=CONTINUE] dns [NOTFUND=return UNAVAIL=continue TRYAGAIN=return]
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2001 04:03 AM
07-11-2001 04:03 AM
Re: nslookup
Sorry, wrong OS.
hosts, dns is ok. Did you enter your dns servers in the hosts file ? They should be
in the resolv.conf . Can you put a sample in a reply ?
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2001 04:25 AM
07-11-2001 04:25 AM
Re: nslookup
I will give an example:
hosts file:
127.0.0.1 localhost
130.240.70.60 server1.abc.nl
130.240.70.65 server2.abc.nl
nsswitch.conf file:
#hosts db files nisplus nis dns
hosts: files dns
host.conf file:
order hosts, dns
multi on
resolv.conf file:
nameserver 130.240.1.2
nameserver 130.240.2.2
So, the server2 is not in the domain name service. When i run nslookup server2 on server1
the dns says that server2 cannot be found. The search order is hosts then dns isn't ?
What is wrong?
Huseyin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2001 05:55 AM
07-11-2001 05:55 AM
Re: nslookup
your configuration looks ok, but is it right that you tried the command:
"nslookup server2"
on server1?
In your /etc/hosts server2 is not an alias name for 130.240.70.65. Try the follwoing:
130.240.70.65 server2.abc.nl server2
in the /etc/hosts of server1. Or you have to run nslookup as the following:
"nslookup server2.abc.nl"
hope that helps,
MaDMaik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2001 06:18 AM
07-11-2001 06:18 AM
Re: nslookup
I tried that already, even that will not work...
Maybe nslookup is different on Linux and HPUX servers?
Bye.
Huseyin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2001 09:46 AM
07-11-2001 09:46 AM
Re: nslookup
Do you have search entry on /etc/resolv.conf.
search domain.com
nameserver xxx.xxx.xxx.xxx
Also move your hosts.conf file to different name, restart the named and try nslookup.
We have same setting as you mention. It works fine. We do not have hosts.conf file.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2001 10:43 PM
07-11-2001 10:43 PM
Re: nslookup
what does nslookup say if you just start it up without any parameters?
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2001 05:09 AM
07-13-2001 05:09 AM
Re: nslookup
If i start nslookup, it says: the dns is found and the ip adress is shown.
Default Server: zmd.abc.nl
Address: 130.240.1.2
But, we are going to put the server2 host name in the dns, this will work, because the dns is in the search order.
Thanks anyway.
Bye
Huseyin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2001 06:37 AM
07-13-2001 06:37 AM
Re: nslookup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 09:30 PM
11-14-2001 09:30 PM
Re: nslookup
nslookup will look for nis/nis+ and dns etc. But if you make a connection it will definitely check fot the hosts file first. You can try this by giving an alias to a host in your /etc/hosts file and try pinging or telneting to that host. It will work...
Manoj