Networking Forums

Networking Forums > Computer Networking > Linux Networking > ping and host

Reply
Thread Tools Display Modes

ping and host

 
 
Bruno Costacurta
Guest
Posts: n/a

 
      09-04-2005, 08:28 PM
I have the hereafter results regarding ping and host.
Fine for 'ping' but what does 'host' return means ?

[root@pc34ghz ~]# ping www.google.com
PING www.l.google.com (216.239.59.99) 56(84) bytes of data.
64 bytes from 216.239.59.99: icmp_seq=0 ttl=237 time=35.6 ms
64 bytes from 216.239.59.99: icmp_seq=1 ttl=237 time=35.6 ms

[root@pc34ghz ~]# host www.google.com
www.google.com is an alias for www.l.google.com.
www.l.google.com has address 216.239.59.147
www.l.google.com has address 216.239.59.99
www.l.google.com has address 216.239.59.104
www.l.google.com has address 216.239.59.103
;; Warning: Message parser reports malformed message packet.
;; connection timed out; no servers could be reached

Cheers,
Bruno

 
Reply With Quote
 
 
 
 
Bit Twister
Guest
Posts: n/a

 
      09-04-2005, 09:31 PM
On Sun, 04 Sep 2005 22:28:05 +0200, Bruno Costacurta wrote:
> I have the hereafter results regarding ping and host.
> Fine for 'ping' but what does 'host' return means ?
>
> [root@pc34ghz ~]# ping www.google.com
> PING www.l.google.com (216.239.59.99) 56(84) bytes of data.
> 64 bytes from 216.239.59.99: icmp_seq=0 ttl=237 time=35.6 ms
> 64 bytes from 216.239.59.99: icmp_seq=1 ttl=237 time=35.6 ms
>
> [root@pc34ghz ~]# host www.google.com
> www.google.com is an alias for www.l.google.com.
> www.l.google.com has address 216.239.59.147
> www.l.google.com has address 216.239.59.99
> www.l.google.com has address 216.239.59.104
> www.l.google.com has address 216.239.59.103
> ;; Warning: Message parser reports malformed message packet.
> ;; connection timed out; no servers could be reached


guessing an overloaded DNS server or realy bad connection somewhere.

host www.google.com
www.google.com is an alias for www.l.google.com.
www.l.google.com has address 64.233.161.147
www.l.google.com has address 64.233.161.99
www.l.google.com has address 64.233.161.104
www.google.com is an alias for www.l.google.com.
www.google.com is an alias for www.l.google.com.

check each dns server
cat /etc/resolv.conf

host www.google.com dns_ip_here_to_test
or
dig www.google.com dns_ip_here_to_test
 
Reply With Quote
 
Bruno Costacurta
Guest
Posts: n/a

 
      09-05-2005, 06:22 AM
Bit Twister wrote:

> On Sun, 04 Sep 2005 22:28:05 +0200, Bruno Costacurta wrote:
>> I have the hereafter results regarding ping and host.
>> Fine for 'ping' but what does 'host' return means ?
>>
>> [root@pc34ghz ~]# ping www.google.com
>> PING www.l.google.com (216.239.59.99) 56(84) bytes of data.
>> 64 bytes from 216.239.59.99: icmp_seq=0 ttl=237 time=35.6 ms
>> 64 bytes from 216.239.59.99: icmp_seq=1 ttl=237 time=35.6 ms
>>
>> [root@pc34ghz ~]# host www.google.com
>> www.google.com is an alias for www.l.google.com.
>> www.l.google.com has address 216.239.59.147
>> www.l.google.com has address 216.239.59.99
>> www.l.google.com has address 216.239.59.104
>> www.l.google.com has address 216.239.59.103
>> ;; Warning: Message parser reports malformed message packet.
>> ;; connection timed out; no servers could be reached

>
> guessing an overloaded DNS server or realy bad connection somewhere.
>
> host www.google.com
> www.google.com is an alias for www.l.google.com.
> www.l.google.com has address 64.233.161.147
> www.l.google.com has address 64.233.161.99
> www.l.google.com has address 64.233.161.104
> www.google.com is an alias for www.l.google.com.
> www.google.com is an alias for www.l.google.com.
>
> check each dns server
> cat /etc/resolv.conf
>
> host www.google.com dns_ip_here_to_test
> or
> dig www.google.com dns_ip_here_to_test


But the DNS looks fine. In fact they're working on my previous config wich
is an ADSL modem.
Now I just installed a Wireless modem router (using same DNS) but received
the herebefore problems.
I cannot see why same DNS produce different results.

 
Reply With Quote
 
Ruediger Grimm
Guest
Posts: n/a

 
      09-05-2005, 07:43 PM
> I have the hereafter results regarding ping and host.
> Fine for 'ping' but what does 'host' return means ?
>
> [root@pc34ghz ~]# ping www.google.com
> PING www.l.google.com (216.239.59.99) 56(84) bytes of data.
> 64 bytes from 216.239.59.99: icmp_seq=0 ttl=237 time=35.6 ms
> 64 bytes from 216.239.59.99: icmp_seq=1 ttl=237 time=35.6 ms
>
> [root@pc34ghz ~]# host www.google.com
> www.google.com is an alias for www.l.google.com.
> www.l.google.com has address 216.239.59.147
> www.l.google.com has address 216.239.59.99
> www.l.google.com has address 216.239.59.104
> www.l.google.com has address 216.239.59.103
> ;; Warning: Message parser reports malformed message packet.
> ;; connection timed out; no servers could be reached
>
> Cheers,
> Bruno


Hi,

perhaps it is a "DNS-loadbalancing" ?

greetings
ruediger


 
Reply With Quote
 
Bruno Costacurta
Guest
Posts: n/a

 
      09-05-2005, 08:33 PM
Ruediger Grimm wrote:

>> I have the hereafter results regarding ping and host.
>> Fine for 'ping' but what does 'host' return means ?
>>
>> [root@pc34ghz ~]# ping www.google.com
>> PING www.l.google.com (216.239.59.99) 56(84) bytes of data.
>> 64 bytes from 216.239.59.99: icmp_seq=0 ttl=237 time=35.6 ms
>> 64 bytes from 216.239.59.99: icmp_seq=1 ttl=237 time=35.6 ms
>>
>> [root@pc34ghz ~]# host www.google.com
>> www.google.com is an alias for www.l.google.com.
>> www.l.google.com has address 216.239.59.147
>> www.l.google.com has address 216.239.59.99
>> www.l.google.com has address 216.239.59.104
>> www.l.google.com has address 216.239.59.103
>> ;; Warning: Message parser reports malformed message packet.
>> ;; connection timed out; no servers could be reached
>>
>> Cheers,
>> Bruno

>
> Hi,
>
> perhaps it is a "DNS-loadbalancing" ?
>
> greetings
> ruediger
>
>


Why do you mean by a "DNS-loadbalancing" ?

However the problem I mentioned here appears with a Wireless ADSL
Router. I never had these problems with my previous modem (and same DSN
settings).


 
Reply With Quote
 
Chris Lowth
Guest
Posts: n/a

 
      09-06-2005, 07:28 AM
Bruno Costacurta wrote:
> Ruediger Grimm wrote:
>
>
>>>I have the hereafter results regarding ping and host.
>>>Fine for 'ping' but what does 'host' return means ?
>>>
>>>[root@pc34ghz ~]# ping www.google.com
>>>PING www.l.google.com (216.239.59.99) 56(84) bytes of data.
>>>64 bytes from 216.239.59.99: icmp_seq=0 ttl=237 time=35.6 ms
>>>64 bytes from 216.239.59.99: icmp_seq=1 ttl=237 time=35.6 ms
>>>
>>>[root@pc34ghz ~]# host www.google.com
>>>www.google.com is an alias for www.l.google.com.
>>>www.l.google.com has address 216.239.59.147
>>>www.l.google.com has address 216.239.59.99
>>>www.l.google.com has address 216.239.59.104
>>>www.l.google.com has address 216.239.59.103
>>>;; Warning: Message parser reports malformed message packet.
>>>;; connection timed out; no servers could be reached
>>>
>>>Cheers,
>>>Bruno

>>
>>Hi,
>>
>>perhaps it is a "DNS-loadbalancing" ?
>>
>>greetings
>>ruediger
>>
>>

>
>
> Why do you mean by a "DNS-loadbalancing" ?
>
> However the problem I mentioned here appears with a Wireless ADSL
> Router. I never had these problems with my previous modem (and same DSN
> settings).


This isnt a "problem" at all - It looks to me as if it's all working okay.

DNS load balancing means (in this case) that google have defined more
than one IP address for the www.l.google.com host. The idea being that
clients will choose one of the supplied IPs at random - so the "load" on
the servers is evenly distributed.

The reason you see different results with different routers will be
because of the routers internal DNS servers' different behaviours.

I presume you have configured the ADSL router as the DNS server for your
workstations, or that DHCP is doing this for you - yes?

The wireless ADSL router is giving you all the IPs returned by the "real
world" DNS servers, but your previous modem was making it's own random
choice, and giving you just that one IP. Both approaches are okay,
although the old modem isnt playing the whole game.

Chris

--
Using linux, IpTables and Rope to filter P2P and other complex
protocols.. http://www.lowth.com/rope
 
Reply With Quote
 
Bruno Costacurta
Guest
Posts: n/a

 
      09-06-2005, 06:01 PM
>>>Hi,
>>>
>>>perhaps it is a "DNS-loadbalancing" ?
>>>
>>>greetings
>>>ruediger
>>>

>>
>> Why do you mean by a "DNS-loadbalancing" ?
>>
>> However the problem I mentioned here appears with a Wireless ADSL
>> Router. I never had these problems with my previous modem (and same DSN
>> settings).

>
> This isnt a "problem" at all - It looks to me as if it's all working okay.
>
> DNS load balancing means (in this case) that google have defined more
> than one IP address for the www.l.google.com host. The idea being that
> clients will choose one of the supplied IPs at random - so the "load" on
> the servers is evenly distributed.
>
> The reason you see different results with different routers will be
> because of the routers internal DNS servers' different behaviours.
>
> I presume you have configured the ADSL router as the DNS server for your
> workstations, or that DHCP is doing this for you - yes?
>
> The wireless ADSL router is giving you all the IPs returned by the "real
> world" DNS servers, but your previous modem was making it's own random
> choice, and giving you just that one IP. Both approaches are okay,
> although the old modem isnt playing the whole game.
>
> Chris
>
> --
> Using linux, IpTables and Rope to filter P2P and other complex
> protocols.. http://www.lowth.com/rope


Indeed you're right.
I tried another ADSL router and received same time out, but in this case,
browsing is working fine.
So I have to look in another direction for the problem I still have with a
not working efficiently router D-Link DSL-G604T.

 
Reply With Quote
 
Bruno Costacurta
Guest
Posts: n/a

 
      09-18-2005, 09:59 AM
Bruno Costacurta wrote:

>>>>Hi,
>>>>
>>>>perhaps it is a "DNS-loadbalancing" ?
>>>>
>>>>greetings
>>>>ruediger
>>>>
>>>
>>> Why do you mean by a "DNS-loadbalancing" ?
>>>
>>> However the problem I mentioned here appears with a Wireless ADSL
>>> Router. I never had these problems with my previous modem (and same DSN
>>> settings).

>>
>> This isnt a "problem" at all - It looks to me as if it's all working
>> okay.
>>
>> DNS load balancing means (in this case) that google have defined more
>> than one IP address for the www.l.google.com host. The idea being that
>> clients will choose one of the supplied IPs at random - so the "load" on
>> the servers is evenly distributed.
>>
>> The reason you see different results with different routers will be
>> because of the routers internal DNS servers' different behaviours.
>>
>> I presume you have configured the ADSL router as the DNS server for your
>> workstations, or that DHCP is doing this for you - yes?
>>
>> The wireless ADSL router is giving you all the IPs returned by the "real
>> world" DNS servers, but your previous modem was making it's own random
>> choice, and giving you just that one IP. Both approaches are okay,
>> although the old modem isnt playing the whole game.
>>
>> Chris
>>
>> --
>> Using linux, IpTables and Rope to filter P2P and other complex
>> protocols.. http://www.lowth.com/rope

>
> Indeed you're right.
> I tried another ADSL router and received same time out, but in this case,
> browsing is working fine.
> So I have to look in another direction for the problem I still have with a
> not working efficiently router D-Link DSL-G604T.
>


Finally it's working : MTU value was incorrect.

Checking using another working wireless router ADSL I found that MTU was
updated after an ISP probing with different value.
As I setup the correct value on previous non-working D-Link for the MTU
(1458 versus 1500 in my case) everything works fine.

Bruno



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
no route to host but ping ok mbaroukh Linux Networking 4 10-12-2007 08:08 PM
Client Cannot Ping Host VPN from Internet Lou Cetrangelo Windows Networking 9 02-07-2006 07:15 PM
ping: Destination host unreachable. hawat.thufir@gmail.com Linux Networking 27 07-19-2005 07:40 AM
Re: Cannot ping host in another subnet M. Swope Linux Networking 1 06-24-2003 10:34 PM
Re: Cannot ping host in another subnet Michael Heiming Linux Networking 1 06-24-2003 06:36 PM



1 2 3 4 5 6 7 8 9 10 11