- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: dns resolution on hpux
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
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
тАО09-24-2005 11:03 AM
тАО09-24-2005 11:03 AM
I am doing nslookup for a particular server say jasmine. When i do nslookup from some other server in the same network i get the response from a dns server for this server (i mean its resolution is taking place from a dns server successfully). It returns the name of the dns resolver as well as its own name and ip.
But when did nslookup for server jasmine from the same jasmine server i got the below response:
# nslookup xx.xx.xx.xx
*** Can't find server name for address xx.xx.xx.xx: Non-existent domain
Using /etc/hosts on: jasmine
looking up FILES
Trying DNS
Name: jasmine.abc.com
Address: ip address
How do i find out that this server has been configured with a dns server for its name resolution ?
Thanks,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2005 11:45 AM
тАО09-24-2005 11:45 AM
Re: dns resolution on hpux
1. Networking and Communication
2. DNS (Bind)
3. Actions --> Specify name server
You can write your Windows DNS server or any valid DNS server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2005 11:53 AM
тАО09-24-2005 11:53 AM
Re: dns resolution on hpux
You can check /etc/resolv.conf configured properly.
nameserver entry must be there..
cat /etc/resolv.conf
domain domain.com
nameserver www.xxx.yyy.zzz
nameserver www.xxx.yyy.zzz
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2005 11:56 AM
тАО09-24-2005 11:56 AM
Re: dns resolution on hpux
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2005 12:04 PM
тАО09-24-2005 12:04 PM
Re: dns resolution on hpux
Also check your gateway and routing configuration:
# netstat -rn
# cat /etc/rc.config.d/netconf
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2005 12:11 PM
тАО09-24-2005 12:11 PM
SolutionWhat this file does is to specify the first step, then optional sec ond and third steps in resolving a name. The line in /etc/nsswitch.conf is: hosts
Now if there is no nsswitch.conf, then resolv.conf specifies the domain name for this server and the one (or up to three) DNS server to use. If resolv.conf does not exist, then only /etc/hosts is used.
Now if the above nslookup there are several parts:
> nslookup xx.xx.xx.xx
> *** Can't find server name for address xx.xx.xx.xx: Non-existent domain
This line is the first test nslookup makes--to validate the first DNS server by asking the server if it knows it's own IP address. In your case, the DNS server is misconfigured because it doesn't know it's own name. This is just a warning but take it to your DNS admins.
> looking up FILES
The nsswitch.conf than asks the resolver to search /etc/hosts. This is a good setting since you can immediately fix DNS oversights by putting the fix in your own hosts file.
> Trying DNS
Now your server asks thr DNS server and gets the result. The difference between other HP-UX server is in /etc/nsswitch.conf, and similar resolver rules in other Unix flavors.
You can always test a specific DNS server by telling nslokup what server to use:
nslookup xx.xx.xx.xx dd.dd.dd.dd
where dd.dd.dd.dd i the IP address of a specific DNS server. Note that nslookup has been patched a lot over the years and may look different depending on the version.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2005 12:11 AM
тАО09-25-2005 12:11 AM
Re: dns resolution on hpux
1. Check that server "jasmine" has entry in DNS server.
2. nsswitch.conf file points to look for dns [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return]
Regards
Mahesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2005 09:07 PM
тАО09-25-2005 09:07 PM
Re: dns resolution on hpux
If you setup as,
hosts: dns files
control will go to /etc/resolv.conf file. You have to setup domain: domainname.ext and nameserver: settings correctly.
It is good to keep files and then dns.
hosts: files dns
-- /etc/hosts --
xx.xx.xx.xx host.domain.com host
If you use nslookup or nsquery it will resolve with fqdn now.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2005 11:11 PM
тАО09-25-2005 11:11 PM
Re: dns resolution on hpux
I have learnt a lot from the well-detailed documentations found at:
http://docs.hp.com/en/B2355-90685/index.html
or download the full e-book from:
http://docs.hp.com/en/B2355-90685/B2355-90685.pdf
hope this helps too!
kind regards
yogeeraj