Re: DNS resolving problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Hi Stelian -
> 

Hello, please see my comments inside.

> We'd need some more details to be able to advise :
> 
> 1. How is your resolver set up ?
> 
>   Are you using only /etc/resolv.conf and the glibc resolver,
>   or are you running a local caching-nameserver (named) ?

Only resolv.conf, no named. 

>   Are you using NetworkManager ?

Yes, but only starting from today. Yesterday I've updated from FC5 Test
2 to rawhide and, before that, in FC5 Test 2 I didn't use NetworkManager
and the behavior was the same.

BTW, I am using a wireless connection (I don't know if it's relevant or
not). 

>   Are you using nscd ?

No.

>   What does your /etc/nsswitch.conf 'hosts:' line say ?
> 

hosts:      files dns

> 2. Please quantify the problem - send us the /tmp/tcpdump.dns.log created by:
>   # tcpdump -vvv -ttt -nl -s 8192 -i any port domain >/tmp/tcpdump.dns.log 2>&1 &
>   # host a.name.that.takes.a.long.time.to.resolve
>   # pkill tcpdump
> 

I've ran tcpdump with the syntax you've provided (I hope I did it
correctly :-), here is the log. It seemed pretty fast to me (to resolve
redhat.com), however, once I try it in Firefox, for example, it takes a
much longer time.

> NOTE: previous response to this issue:
>   On Wednesday 15 February 2006 13:53, John Reiser <jreiser@xxxxxxxxxxxx> wrote:
> >  Is the code waiting for timeout of non-existent IP6 routing?
> >  If so, then disable IP6.
>   This problem has been fixed for a long time in BIND, and should not be 
>   a problem with glibc resolver - do you have any resolv.conf options settings ?

I don't have any resolv.conf options settings, only the nameserver
line. 

>   
> Thanks & Regards,
> Jason Vas Dias
> BIND package maintainer
> Red Hat Inc.

Many thanks!

Stelian
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 8192 bytes
000000 arp who-has 192.168.2.3 tell 192.168.2.1
950445 IP (tos 0x0, ttl  64, id 0, offset 0, flags [DF], proto: UDP (17), length: 60) 192.168.2.61.32789 > 192.168.2.1.domain: [udp sum ok]  39458+ A? www.redhat.com. (32)
034537 IP (tos 0x0, ttl  64, id 16752, offset 0, flags [none], proto: UDP (17), length: 76) 192.168.2.1.domain > 192.168.2.61.32789: [udp sum ok]  39458 q: A? www.redhat.com. 1/0/0 www.redhat.com. A 209.132.177.50 (48)
001296 IP (tos 0x0, ttl  64, id 0, offset 0, flags [DF], proto: UDP (17), length: 60) 192.168.2.61.32790 > 192.168.2.1.domain: [udp sum ok]  64721+ AAAA? www.redhat.com. (32)
002781 IP (tos 0x0, ttl  64, id 16753, offset 0, flags [none], proto: UDP (17), length: 76) 192.168.2.1.domain > 192.168.2.61.32789: [udp sum ok]  39458 q: A? www.redhat.com. 1/0/0 www.redhat.com. A 209.132.177.50 (48)
000179 IP (tos 0xc0, ttl  64, id 27297, offset 0, flags [none], proto: ICMP (1), length: 104) 192.168.2.61 > 192.168.2.1: ICMP 192.168.2.61 udp port 32789 unreachable, length 84
	IP (tos 0x0, ttl  64, id 16753, offset 0, flags [none], proto: UDP (17), length: 76) 192.168.2.1.domain > 192.168.2.61.32789: [udp sum ok]  39458 q: A? www.redhat.com. 1/0/0 www.redhat.com. A 209.132.177.50 (48)
004936 IP (tos 0x0, ttl  64, id 16754, offset 0, flags [none], proto: UDP (17), length: 76) 192.168.2.1.domain > 192.168.2.61.32789: [udp sum ok]  39458 q: A? www.redhat.com. 1/0/0 www.redhat.com. A 209.132.177.50 (48)
000193 IP (tos 0xc0, ttl  64, id 27298, offset 0, flags [none], proto: ICMP (1), length: 104) 192.168.2.61 > 192.168.2.1: ICMP 192.168.2.61 udp port 32789 unreachable, length 84
	IP (tos 0x0, ttl  64, id 16754, offset 0, flags [none], proto: UDP (17), length: 76) 192.168.2.1.domain > 192.168.2.61.32789: [udp sum ok]  39458 q: A? www.redhat.com. 1/0/0 www.redhat.com. A 209.132.177.50 (48)
029030 IP (tos 0x0, ttl  64, id 16759, offset 0, flags [none], proto: UDP (17), length: 76) 192.168.2.1.domain > 192.168.2.61.32789: [udp sum ok]  39458 q: A? www.redhat.com. 1/0/0 www.redhat.com. A 209.132.177.50 (48)
000197 IP (tos 0xc0, ttl  64, id 27299, offset 0, flags [none], proto: ICMP (1), length: 104) 192.168.2.61 > 192.168.2.1: ICMP 192.168.2.61 udp port 32789 unreachable, length 84
	IP (tos 0x0, ttl  64, id 16759, offset 0, flags [none], proto: UDP (17), length: 76) 192.168.2.1.domain > 192.168.2.61.32789: [udp sum ok]  39458 q: A? www.redhat.com. 1/0/0 www.redhat.com. A 209.132.177.50 (48)
005950 IP (tos 0x0, ttl  64, id 16760, offset 0, flags [none], proto: UDP (17), length: 60) 192.168.2.1.domain > 192.168.2.61.32790: [udp sum ok]  64721 q: AAAA? www.redhat.com. 0/0/0 (32)
001894 IP (tos 0x0, ttl  64, id 16761, offset 0, flags [none], proto: UDP (17), length: 60) 192.168.2.1.domain > 192.168.2.61.32790: [udp sum ok]  64721 q: AAAA? www.redhat.com. 0/0/0 (32)
000357 IP (tos 0x0, ttl  64, id 0, offset 0, flags [DF], proto: UDP (17), length: 60) 192.168.2.61.32791 > 192.168.2.1.domain: [udp sum ok]  59059+ MX? www.redhat.com. (32)
004564 IP (tos 0x0, ttl  64, id 16762, offset 0, flags [none], proto: UDP (17), length: 60) 192.168.2.1.domain > 192.168.2.61.32790: [udp sum ok]  64721 q: AAAA? www.redhat.com. 0/0/0 (32)
000174 IP (tos 0xc0, ttl  64, id 27300, offset 0, flags [none], proto: ICMP (1), length: 88) 192.168.2.61 > 192.168.2.1: ICMP 192.168.2.61 udp port 32790 unreachable, length 68
	IP (tos 0x0, ttl  64, id 16762, offset 0, flags [none], proto: UDP (17), length: 60) 192.168.2.1.domain > 192.168.2.61.32790: [udp sum ok]  64721 q: AAAA? www.redhat.com. 0/0/0 (32)
027685 IP (tos 0x0, ttl  64, id 16767, offset 0, flags [none], proto: UDP (17), length: 60) 192.168.2.1.domain > 192.168.2.61.32790: [udp sum ok]  64721 q: AAAA? www.redhat.com. 0/0/0 (32)
000177 IP (tos 0xc0, ttl  64, id 27301, offset 0, flags [none], proto: ICMP (1), length: 88) 192.168.2.61 > 192.168.2.1: ICMP 192.168.2.61 udp port 32790 unreachable, length 68
	IP (tos 0x0, ttl  64, id 16767, offset 0, flags [none], proto: UDP (17), length: 60) 192.168.2.1.domain > 192.168.2.61.32790: [udp sum ok]  64721 q: AAAA? www.redhat.com. 0/0/0 (32)
004672 IP (tos 0x0, ttl  64, id 16768, offset 0, flags [none], proto: UDP (17), length: 60) 192.168.2.1.domain > 192.168.2.61.32791: [udp sum ok]  59059 q: MX? www.redhat.com. 0/0/0 (32)
006524 IP (tos 0x0, ttl  64, id 16769, offset 0, flags [none], proto: UDP (17), length: 60) 192.168.2.1.domain > 192.168.2.61.32791: [udp sum ok]  59059 q: MX? www.redhat.com. 0/0/0 (32)
000199 IP (tos 0xc0, ttl  64, id 27302, offset 0, flags [none], proto: ICMP (1), length: 88) 192.168.2.61 > 192.168.2.1: ICMP 192.168.2.61 udp port 32791 unreachable, length 68
	IP (tos 0x0, ttl  64, id 16769, offset 0, flags [none], proto: UDP (17), length: 60) 192.168.2.1.domain > 192.168.2.61.32791: [udp sum ok]  59059 q: MX? www.redhat.com. 0/0/0 (32)
003814 IP (tos 0x0, ttl  64, id 16770, offset 0, flags [none], proto: UDP (17), length: 60) 192.168.2.1.domain > 192.168.2.61.32791: [udp sum ok]  59059 q: MX? www.redhat.com. 0/0/0 (32)
004127 IP (tos 0x0, ttl  64, id 16771, offset 0, flags [none], proto: UDP (17), length: 60) 192.168.2.1.domain > 192.168.2.61.32791: [udp sum ok]  59059 q: MX? www.redhat.com. 0/0/0 (32)
2. 411985 arp who-has 192.168.2.3 tell 192.168.2.1
5. 429607 arp who-has 192.168.2.3 tell 192.168.2.1
1. 184057 arp who-has 192.168.2.3 tell 192.168.2.1

25 packets captured
50 packets received by filter
0 packets dropped by kernel
-- 
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]