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

Bug#632273: libc6: resolving: does not try different nameserver after "recursion not available"



Jonathan Nieder wrote:

> After downgrading to 2.13-7, it works fine again.  Then reproduced
> with 6f8326ca (Fix robust mutex handling after fork, 2011-07-30)

Bad tcpdump:

| 08.668827 IP 172.16.1.35.58800 > homeportal.gateway.2wire.net.domain: 64142+ A? repo.or.cz. (28)
| 08.668887 IP 172.16.1.35.58800 > homeportal.gateway.2wire.net.domain: 16934+ AAAA? repo.or.cz. (28)
| 08.687011 IP homeportal.gateway.2wire.net.domain > 172.16.1.35.58800: 64142- 1/0/0 A 195.113.20.142 (44)
| 08.694274 IP homeportal.gateway.2wire.net.domain > 172.16.1.35.58800: 16934- 0/1/0 (80)
| 08.694409 IP 172.16.1.35.48081 > homeportal.gateway.2wire.net.domain: 36256+ A? repo.or.cz.gateway.2wire.net. (46)
| 08.694435 IP 172.16.1.35.48081 > homeportal.gateway.2wire.net.domain: 60199+ AAAA? repo.or.cz.gateway.2wire.net. (46)
| 08.702461 IP homeportal.gateway.2wire.net.domain > 172.16.1.35.48081: 36256 Refused*- 0/0/0 (512)
| 08.704699 IP homeportal.gateway.2wire.net.domain > 172.16.1.35.48081: 60199 Refused*- 0/0/0 (512)
| 08.704801 IP 172.16.1.35.33648 > google-public-dns-a.google.com.domain: 36256+ A? repo.or.cz.gateway.2wire.net. (46)
| 08.704827 IP 172.16.1.35.33648 > google-public-dns-a.google.com.domain: 60199+ AAAA? repo.or.cz.gateway.2wire.net. (46)
| 08.738160 IP google-public-dns-a.google.com.domain > 172.16.1.35.33648: 36256 NXDomain 0/1/0 (106)
| 08.739234 IP google-public-dns-a.google.com.domain > 172.16.1.35.33648: 60199 NXDomain 0/1/0 (106)

Good tcpdump:

| 17.137993 IP 172.16.1.35.59238 > homeportal.gateway.2wire.net.domain: 10833+ A? repo.or.cz. (28)
| 17.138054 IP 172.16.1.35.59238 > homeportal.gateway.2wire.net.domain: 53670+ AAAA? repo.or.cz. (28)
| 17.157776 IP homeportal.gateway.2wire.net.domain > 172.16.1.35.59238: 10833- 1/0/0 A 195.113.20.142 (44)
| 17.374115 IP homeportal.gateway.2wire.net.domain > 172.16.1.35.59238: 53670- 0/1/0 (80)
| 17.374325 IP 172.16.1.35.59641 > google-public-dns-a.google.com.domain: 10833+ A? repo.or.cz. (28)
| 17.374371 IP 172.16.1.35.59641 > google-public-dns-a.google.com.domain: 53670+ AAAA? repo.or.cz. (28)
| 17.400033 IP google-public-dns-a.google.com.domain > 172.16.1.35.59641: 10833 1/0/0 A 195.113.20.142 (44)
| 17.713130 IP google-public-dns-a.google.com.domain > 172.16.1.35.59641: 53670 0/1/0 (80)

Both are attached for reference (they are from resolving repo.or.cz,
port 80 using wget; the above human-readable versions were generated
with /usr/sbin/tcpdump -r $file).  Notice that it seems to fall back
to looking at 8.8.8.8 after all, but with the wrong qname.

Attachment: tcpdump.bad
Description: Binary data

Attachment: tcpdump.good
Description: Binary data


Reply to: