Re: can't resolve some addresses

Alex Efros <[email protected]>
Newsgroups gmane.network.djbdns
Organization http://powerman.name/
Message-ID <[email protected]>
Hi!

On Mon, Apr 06, 2009 at 05:21:47AM +0300, Alex Efros wrote:
> Also there wireshark dump (tcpdump-compatible, AFAIK) using filter 'port 53'
> in file 'dns2.dump'.

Actually, for me reading tcp dumps are much ease than dnscache logs. :-/
According to wireshark, after dnscache get IPs for 3 NS for mozilla.org
it send to each of these 3 NS request:

    releases.mozilla.org: type A, class IN

and each NS send same reply:

    Flags: 0x8105 (Standard query response, Refused)
    Questions: 1
    Answer RRs: 0
    Authority RRs: 0
    Additional RRs: 0
    Queries
	releases.mozilla.org: type A, class IN

Interestingly, when I send same request using dnsq I got another reply:

    Flags: 0x8400 (Standard query response, No error)
    Questions: 1
    Answer RRs: 1
    Authority RRs: 0
    Additional RRs: 0
    Queries
	releases.mozilla.org: type A, class IN
    Answers
	releases.mozilla.org: type CNAME, class IN, cname releases.geo.mozilla.com

# dnsq a releases.mozilla.org 140.211.166.194
1 releases.mozilla.org:
76 bytes, 1+1+0+0 records, response, authoritative, noerror
query: 1 releases.mozilla.org
answer: releases.mozilla.org 60 CNAME releases.geo.mozilla.com


Actually, it turned out requests ain't really same, there difference in flags:
dnscache send flags 0x0100 (Recursion desired: Do query recursively)
while dnsq send flags 0x0000.


But, even with all this information, I still have no idea what's wrong and
how to fix it.

-- 
			WBR, Alex.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.