- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- DNS Issue
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
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-28-2008 09:24 PM
07-28-2008 09:24 PM
DNS Issue
Now, My DNS is screwed up. I am unable to resolve hostnames using DNS.
#nslookup gmail.com
*** Can't find server name for address 206.229.143.20: No response from server
*** Can't find server name for address 206.229.138.20: No response from server
*** Can't find server name for address 206.229.135.31: No response from server
*** Default servers are not available
Using /etc/hosts on: hp11q1
looking up FILES
Trying DNS
*** can't find gmail.com: No response from server
#cat /etc/resolv.conf
domain hpqp.bell.com
search hpqp.bell.com
nameserver 206.229.143.20
nameserver 206.229.138.20
nameserver 206.229.135.31
Can anyone help me to resolv this issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2008 01:29 AM
07-29-2008 01:29 AM
Re: DNS Issue
I'm not sure that is the problem, however you should have a unique first line in /etc/resolv.conf, I mean you should have or domain or search. If you have just a domain then just delete the line
"search hpqp.bell.com"
and retry the nslookup.
If this doesn't help please post what you get by the following steps:
# nslookup
>set all
HTH.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2008 01:54 AM
07-29-2008 01:54 AM
Re: DNS Issue
Make sure you can at least ping your nameservers
Then use nslookup or dig to run tests and post the responses.
They nameserver entries could be inaccessible or configured not to answer your network.
telnet 206.229.143.20 53
See what you get.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2008 02:09 AM
07-29-2008 02:09 AM
Re: DNS Issue
How about nsswitch.conf?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2008 02:37 AM
07-29-2008 02:37 AM
Re: DNS Issue
This is the output after removing the search entry in the resolv.conf
#nslookup
*** Can't find server name for address 206.229.143.20: No response from server
*** Can't find server name for address 206.229.138.20: No response from server
*** Can't find server name for address 206.229.135.31: No response from server
*** Default servers are not available
Using /etc/hosts on: hp11q1
> set all
Set options:
noswtrace querytype=A
#Lookups = 2
files [RCCC] dns [RRRR]
Default Name Server:
Default NIS Server:
Default files Server: hp11q1
> exit
#cat /etc/resolv.conf
domain hpqp.bell.com
nameserver 206.229.143.20
nameserver 206.229.138.20
nameserver 206.229.135.31
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2008 03:03 AM
07-29-2008 03:03 AM
Re: DNS Issue
ok, it really sounds like you cannot neither ping your DNS servers. Try what Steven suggested (ping 206.229.143.20 and telnet 206.229.143.20 53). If they don't response then it's a more general issue about networking. For example are you sure to have configured routing to that network?
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2008 03:07 AM
07-29-2008 03:07 AM
Re: DNS Issue
I am unable to a ping as it is blocked by firewall.
But telnet to port 53 of my DNS server failed.
#telnet 206.229.143.20 53
Trying...
telnet: Unable to connect to remote host: Network is unreachable
#dig gmail.com
; <<>> DiG named 9.2.0 <<>> gmail.com
;; global options: printcmd
;; connection timed out; no servers could be reached
Here is the output of nsswitch.conf :-
passwd: files
group: files
hosts: files [NOTFOUND=continue] dns
ipnodes: files
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2008 05:04 AM
07-29-2008 05:04 AM
Re: DNS Issue
Since the network for the DNS servers is unreachable here are somethings you might like to check -
Did you fix the gateways in /etc/rc.config.d/netconf ?
Does netstat -rn show a default gateway ?
How far does a traceroute get ?
Presuming that the new server is using the same ip address as the old one it is possible that the fire wall arp cache may need to be flushed .
regards
Mike.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2008 11:25 PM
07-29-2008 11:25 PM
Re: DNS Issue
You could try disabling the dead gateway and check
# ndd -set /dev/ip ip_ire_gw_probe 0
Output of
netstat -rn
>> Have your copied nddconf file from 11iv1 to 11iv2 ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2008 11:56 PM
07-31-2008 11:56 PM
Re: DNS Issue
I finally copied the nddcong file from 11i v1 to 11i v2. That resolved the issue.