- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- Re: dns resolution on hpux
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP