[Cialug] nslookup works but ping cannot resolve

David Champion dchampion at visionary.com
Fri Feb 8 13:04:58 CST 2008


Does dig return different results than nslookup for your internal DNS 
queries?

-dc

Paul Gray wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Nathan Stien wrote:
>   
>> On Feb 8, 2008 12:32 PM, Paul Gray <gray at cs.uni.edu> wrote:
>>     
>>> I heard the suggestion, but not a confirmation, that /etc/hosts should
>>> be sanity checked.
>>>       
>> It's a fresh install of ubuntu 7.10.  /etc/hosts contains the
>> definition of localhost and the standard IPv6 symbols.
>>
>>     
>
> Then, the course of diagnostics that I would suggest:
>
> # apt-get install tcpdump strace
>
> bring up four terminals, and issue, respectively:
>
> A) # tcpdump -x -s0 2>&1 | tee /tmp/tcpdump.out
>
> B) # strace -f ping host_that_I_cannot_get_to 2>&1 | tee /tmp/strace.out
>
> C) # iptables -L
>    # iptables -t nat -L
>    # route -n
>    # arp -n
>
> D) (Open on the remote host)
>    # tcpdump icmp
>
> Search the /tmp files for the root of the problem; look for icmp
> echo-requests and echo-reply's.  In the end, the above should give you a
> dead-on way of diagnosing the root of the problem...or at the very least
> something to dump to folks out-of-band to resolve the issue.
>
> Hope that helps.
>
> - -PG
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFHrKUzOH45TZW7mh4RAt/8AJ9f644lDr54u8xTvR7HZ/9S87ljnwCg46wv
> q9cf1CsRktRgGpbJKotl4B4=
> =gaCf
> -----END PGP SIGNATURE-----
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>
>   




More information about the Cialug mailing list