- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- DNS issue.
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
03-01-2011 08:21 AM
03-01-2011 08:21 AM
DNS issue.
We are able to ping the server:
(hqb) [SU] # ping 10.5.3.180
PING 10.5.3.180: 64 byte packets
64 bytes from 10.5.3.180: icmp_seq=0. time=0. ms
64 bytes from 10.5.3.180: icmp_seq=1. time=0. ms
64 bytes from 10.5.3.180: icmp_seq=2. time=0. ms
64 bytes from 10.5.3.180: icmp_seq=3. time=0. ms
64 bytes from 10.5.3.180: icmp_seq=4. time=0. ms
64 bytes from 10.5.3.180: icmp_seq=5. time=0. ms
64 bytes from 10.5.3.180: icmp_seq=6. time=0. ms
----10.5.3.180 PING Statistics----
7 packets transmitted, 7 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0
But the nslookup is not able to resolve the the dns server name.
(hqb) [SU] # nslookup hpi.dhq.lr.org
*** Can't find server name for address 10.5.3.180: Non-existent domain
*** Default servers are not available
Using /etc/hosts on: hqb
looking up FILES
Trying DNS
*** can't find hpi.dhq.lr.org: No response from server
The same ip is getting resolved for other Linux and windows servers withing our network, however the same is failing for all the hpux boxes. Kindly provide suggestion/inputs to resolve the same. Thanking you in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2011 08:38 AM
03-01-2011 08:38 AM
Re: DNS issue.
What is the content of /etc/resolv.conf file?
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2011 08:40 AM
03-01-2011 08:40 AM
Re: DNS issue.
search internal.lr.org dhq.lr.org lr.org
nameserver 10.5.3.180
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2011 08:46 AM
03-01-2011 08:46 AM
Re: DNS issue.
Add this first line:
domain
Rgds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2011 08:51 AM
03-01-2011 08:51 AM
Re: DNS issue.
search internal.lr.org dhq.lr.org lr.org
domain 10.5.3.180
===
[SU] # nslookup hpi.dhq.lr.org
Using /etc/hosts on: hqb
looking up FILES
Trying DNS
*** can't find hpi.dhq.lr.org: No response from server
Getting the above output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2011 08:55 AM
03-01-2011 08:55 AM
Re: DNS issue.
/etc/etc/resolv.conf:
domain
search internal.lr.org dhq.lr.org lr.org
nameserver 10.5.3.180
Also, What is the content of /etc/nsswitch.conf file?
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2011 08:57 AM
03-01-2011 08:57 AM
Re: DNS issue.
#
# /etc/nsswitch.conf
#
# This file is for use on systems that are not running DNS or NIS.
#
# In this case we request that the resolver looks in local files only.
#
# See the Adminstering Internet Services Manual and the switch(4) man
# page for more information on the name service switch.
#
hosts: files [NOTFOUND=continue] dns
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2011 09:17 AM
03-01-2011 09:17 AM
Re: DNS issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2011 01:45 PM
03-01-2011 01:45 PM
Re: DNS issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2011 01:56 PM
03-01-2011 01:56 PM
Re: DNS issue.
>>>[SU] # nslookup hpi.dhq.lr.org
>>>Using /etc/hosts on: hqb
>>>
>>>looking up FILES
>>>Trying DNS
>>>*** can't find hpi.dhq.lr.org: No response from server
Check with your Network administrator to see that UDP port 53 (domain) is not blocked by a firewall rule.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2011 04:28 PM
03-01-2011 04:28 PM
Re: DNS issue.
> *** Can't find server name for address 10.5.3.180: Non-existent domain
So this indicates that the DNS nameserver can't even identify itself. nslookup has a nifty feature: You can specify any DNS server on the command line to override nsswitch.conf and resolv.conf:
nslookup hpi.dhq.lr.org 10.5.3.180
You'll likely get the same results but it does allow you to test other DNS servers on the command line. Another useful tool is nsquery:
nsquery hosts hpi.dhq.lr.org
This gives you a step-by-step report of the attempts to resolve the name and the results.
Since you can ping the DNS server yet it does not respond to DNS requests, the port is blocked *OR* you may have subnet mask or route error that is not setup for a valid return path. Do you have multiple LAN cards on this server? nettl (HP-UX trace) or Wireshark (PC based packet trace) may help.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2011 01:25 AM
03-02-2011 01:25 AM
Re: DNS issue.
Please comment your current "host:" line and set this one:
hosts: files [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] dns [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=return]
And please let me know the current domain definition set at /etc/etc/resolv.conf file.
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2011 03:26 AM
03-02-2011 03:26 AM
Re: DNS issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2011 03:28 AM
03-02-2011 03:28 AM