Operating System - HP-UX
1827109 Members
3606 Online
109714 Solutions
New Discussion

Not able to ping the Particular Internet Domain Names

 
SOLVED
Go to solution
shaikh.imran
Advisor

Not able to ping the Particular Internet Domain Names

Hi All,

Please help me in this case...
here in a partcular hp ux server, I m not able to ping a particular Internet Domain Name.
All the other Internet Domain Names, I can ping and resolve their IP address also.
In the /etc/resolv.conf file, the local domain name entry is there also.
Nslookup command gives the perfect output but I cant ping or cant access from the browser. But I can access this same site from other hpux server and in all client machines.

# nslookup
Default Name Server: ad1grpsalwa.thegroup.co.qa
Address: 10.20.16.50

> yahoo.com
Name Server: ad1grpsalwa.thegroup.co.qa
Address: 10.20.16.50

Trying DNS
Non-authoritative answer:
Name: yahoo.com
Addresses: 69.147.114.224, 209.131.36.159, 209.191.93.53

> google.com
Name Server: ad1grpsalwa.thegroup.co.qa
Address: 10.20.16.50

Trying DNS
Name: google.com
Addresses: 74.125.67.100, 74.125.45.100, 74.125.127.100

> clickatell.com
Name Server: ad1grpsalwa.thegroup.co.qa
Address: 10.20.16.50

Trying DNS
Non-authoritative answer:
Name: clickatell.com
Address: 196.5.254.65

>
> exit
#
...

Please help to solve this problem...
10 REPLIES 10
Steven E. Protter
Exalted Contributor
Solution

Re: Not able to ping the Particular Internet Domain Names

Shalom,

Without seeing it, I would guess that /etc/nsswitch.conf goes to files first or to a DNS first.

Either way, there seems to be an entry in /etc/hosts or in the first DNS server in /etc/resolv.conf that gives teh same answer no matter what happens.

10.20.16.50

That is the answer you get every time.

If you re-arrange /etc/resolv.conf this might go away.

if its an /etc/hosts override, you can resolve it by fixing /etc/hosts

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven Schweda
Honored Contributor

Re: Not able to ping the Particular Internet Domain Names

> Name Server: ad1grpsalwa.thegroup.co.qa
> Address: 10.20.16.50

> 10.20.16.50
> That is the answer you get every time.

Well, duh. That's the address of the name
server.

> Name: yahoo.com
> Addresses: 69.147.114.224, 209.131.36.159, 209.191.93.53

Those are the addresses for Yahoo.

> Please help to solve this problem...

Please explain what the problem is.

> [...] I m not able to ping a particular
> Internet Domain Name.

You don't ping a name. You ping a device (or
an interface on a device). And I see no
evidence of you trying to ping anything.

What, exactly, are you trying to do? What,
exactly, are you doing? What, exactly, don't
you like about what happens when you do it?
Bill Hassell
Honored Contributor

Re: Not able to ping the Particular Internet Domain Names

Assuming you left out the part about not being able to ping, many, many sites will never respond to ping (it's a security thing). Do not expect ping to work unless you already know that the site will respond to a ping.

As far as resolving addresses, when nslookup says "Trying DNS", the responsibility to return a hostname or IP address belongs to the selected Name Server. You probably do not manage the DNS servers so if something is missing using nslookup, call your DNS administrator.


Bill Hassell, sysadmin
Proboi
Advisor

Re: Not able to ping the Particular Internet Domain Names

++
try pinging with the IP ADDRESS if it works then its a hostname --> ip address resolution problem

+++
if ping does not work then check the routeing,
# netstat -rn would give you the route and you can compare that with other servers that are able to ping the domain

++++
hostname -> ipaddress is taken care by the processes in the order defined by /etc/resolv.conf

your DNS seems to be working fine, however you can doublecheck if the ip's that they are resolving to are correct

+++++

a good look at the route entries add anything thats missing, if need be flush it and start from scratch ( WARNING:- causes network disruption )

>>>>>>>>>>>>>>>

Please don't forget to assign points
shaikh.imran
Advisor

Re: Not able to ping the Particular Internet Domain Names

Thanks for replying..

Here I want access one particular site from the HP UX box i.e www.clickatell.com

I m able to ping all the internet domain names and their IP address also.

But in the particular internet domain name, I m not able to ping the name and ip adress.

nslookup and dig both command returns the name and ip address correctly.

# dig www.clickatell.com

; <<>> DiG 9.3.2 <<>> www.clickatell.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 526
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.clickatell.com. IN A

;; ANSWER SECTION:
www.clickatell.com. 30827 IN A 196.5.254.65

;; Query time: 6 msec
;; SERVER: 10.20.16.50#53(10.20.16.50)
;; WHEN: Mon Jul 6 08:12:34 2009
;; MSG SIZE rcvd: 52

#

# ping www.clickatell.com
PING www.clickatell.com: 64 byte packets
â ¥
----www.clickatell.com PING Statistics----
11 packets transmitted, 0 packets received, 100% packet loss
# traceroute www.clickatell.com
traceroute to www.clickatell.com (196.5.254.65), 30 hops max, 40 byte packets
1 10.20.19.164 (10.20.19.164) 0.080 ms !N 0.097 ms !N 0.036 ms !N
#



when I am pinging the api.clickatell.com domain, its ping and also traceroute is working.

# ping api.clickatell.com
PING smtp-za01.clickatell.com: 64 byte packets
64 bytes from 196.5.254.66: icmp_seq=0. time=291. ms
64 bytes from 196.5.254.66: icmp_seq=1. time=289. ms
64 bytes from 196.5.254.66: icmp_seq=2. time=289. ms
64 bytes from 196.5.254.66: icmp_seq=3. time=290. ms
64 bytes from 196.5.254.66: icmp_seq=4. time=287. ms
â ¥
----smtp-za01.clickatell.com PING Statistics----
5 packets transmitted, 5 packets received, 0% packet loss
round-trip (ms) min/avg/max = 287/289/291
#

# traceroute api.clickatell.com
traceroute to api.clickatell.com (196.5.254.66), 30 hops max, 40 byte packets
1 10.20.19.253 (10.20.19.253) 3.944 ms 0.366 ms 0.315 ms
2 78.100.33.145 (78.100.33.145) 0.766 ms 0.695 ms 0.591 ms
3 89.211.62.193 (89.211.62.193) 0.526 ms 0.590 ms 0.383 ms
4 212.77.222.249 (212.77.222.249) 2.748 ms 2.572 ms 2.264 ms
5 89.211.1.61 (89.211.1.61) 4.885 ms 2.643 ms 2.593 ms
6 89.211.1.46 (89.211.1.46) 3.139 ms 2.684 ms 2.321 ms
7 89.211.1.118 (89.211.1.118) 2.479 ms 2.510 ms 2.473 ms
8 pos3-9.ar01.hkg04.pccwbtn.net (63.218.1.245) 141.595 ms 141.069 ms 141.17
3 ms
9 ge12-1.br01.hkg04.pccwbtn.net (63.218.114.178) 142.007 ms 141.982 ms 140.
916 ms
10 tsa.ge13-42.br01.hkg04.pccwbtn.net (63.218.2.202) 142.741 ms 141.811 ms 1
41.180 ms
11 wbs-ip-esr-3-gig-6-0-0.telkom-ipnet.co.za (196.43.23.246) 305.897 ms 305.5
08 ms 305.239 ms
12 196.25.4.106 (196.25.4.106) 311.625 ms 311.452 ms infovan-gw.telkom-ipnet.
co.za (196.25.4.142) 317.800 ms
13 smtp-za01.clickatell.com (196.5.254.66) 316.899 ms 324.215 ms 316.816 ms
#

But from the other hpux server I can ping bothe www.clickatell.com and api.clickatell.com and other domain also..
..


Torsten.
Acclaimed Contributor

Re: Not able to ping the Particular Internet Domain Names

Check the security settings for your server

# bastille

and discuss this with your network admin. Maybe he must adjust the firewall or something similar ...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
shaikh.imran
Advisor

Re: Not able to ping the Particular Internet Domain Names


From the hpux internet browser like mozilaa/firefox, I m not able to access the site also..
There is another hp ux server in the same VLAN, but that is able to access the site..

# telnet www.clickatell.com 80
Trying...
telnet: Unable to connect to remote host: Network is unreachable
#
# telnet api.clickatell.com 80
Trying...
Connected to api.clickatell.com.
Escape character is '^]'.

#

Network team is saying that firewall is not blocking the site..
Torsten.
Acclaimed Contributor

Re: Not able to ping the Particular Internet Domain Names

Double check gateway and netmask settings first ...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
shaikh.imran
Advisor

Re: Not able to ping the Particular Internet Domain Names

I checked the subnet mask and gateway.
its correct..
shaikh.imran
Advisor

Re: Not able to ping the Particular Internet Domain Names


Hi Guys...

Thanks lot..

I got the solution...
the problem is that previously I hav added one manual route that was poiting to 196.5.254.65 ip address.

After deleting the route...
#route delete 196.5.254.65 0.0.0.0 0.0.0.0

Now I m able to ping and access the site www.clickatell.com

u guys are really helped me to solved the problem.
Once again...thanks to all!!