> Hi
>
> I experience a problem I don't understand - in fact, I have no clue what
> could create it.
>
> I have a Debian notebook being connected to a router which is connected to
> the german dsl net.
>
> If I ping my router or a ip out in the internet, everything is fine:
>
> -----------8<------------
> 64 bytes from 64.233.167.99: icmp_seq=15 ttl=244 time=147 ms
> 64 bytes from 64.233.167.99: icmp_seq=16 ttl=244 time=148 ms
> 64 bytes from 64.233.167.99: icmp_seq=17 ttl=244 time=148 ms
> 64 bytes from 64.233.167.99: icmp_seq=18 ttl=244 time=147 ms
> 64 bytes from 64.233.167.99: icmp_seq=19 ttl=244 time=148 ms
> 64 bytes from 64.233.167.99: icmp_seq=20 ttl=244 time=148 ms
> 64 bytes from 64.233.167.99: icmp_seq=21 ttl=244 time=146 ms
> 64 bytes from 64.233.167.99: icmp_seq=22 ttl=244 time=147 ms
>
> 64 bytes from 192.168.0.1: icmp_seq=5 ttl=255 time=1.03 ms
> 64 bytes from 192.168.0.1: icmp_seq=6 ttl=255 time=0.979 ms
> 64 bytes from 192.168.0.1: icmp_seq=7 ttl=255 time=0.985 ms
> 64 bytes from 192.168.0.1: icmp_seq=8 ttl=255 time=0.990 ms
> 64 bytes from 192.168.0.1: icmp_seq=9 ttl=255 time=1.02 ms
> 64 bytes from 192.168.0.1: icmp_seq=10 ttl=255 time=0.993 ms
> 64 bytes from 192.168.0.1: icmp_seq=11 ttl=255 time=0.970 ms
> 64 bytes from 192.168.0.1: icmp_seq=12 ttl=255 time=0.994 ms
> -------------->8--------------
>
> as you can see, I didn't use the dns server but pinged using the ip.
> When I ping using the host name instead, something strange happens:
> The ping times stay the same but between each ping is a 2 second delay, I
> think it is the time where the host name is resolved to its ip.
> resolveip <host name> has the same delay
>
> I experience the same delay when I do a "route"
>
> ------------------8<-------------
> Kernel IP Routentabelle
> Ziel Router Genmask Flags Metric Ref Use
> Iface
> localnet * 255.255.255.0 U 0 0 0 eth0
> ###2 seconds delay###
> default SE515.home 0.0.0.0 UG 0 0 0 eth0
> ----------------->8---------------------
Right, and probably route -n doesn't give you that same delay, because
the delay is in DNS resolution.
You say this is happening on your host but not elsewhere on your LAN.
That's good, because it means it's just a local configuration problem;
the upstream DNS servers are responding properly.
The obvious reason that DNS resolution would be slow is that your host
is configured to query a DNS server first that's not answering. So you
have to wait before going on to a server that does answer. What are the
contents of /etc/resolv.conf? Are all of the nameservers mentioned
there functioning?
--
To reply by email, replace "deadspam.com" by "alumni.utexas.net"
|