Re: [swinog] Motorola ADSL Routers: DNS proxy bug?

2010-09-06 Diskussionsfäden Alexander Gall
On Sat, 4 Sep 2010 17:26:40 +0200, Benoit Panizzon paniz...@woody.ch said:

 Hi all
 I seam to quite often stumble over this bug and wonder if the router is buggy 
 or the client is buggy.

 Most Motorola ADSL/VDSL Routers which Swisscom sent to their customers for 
 about the last two years or so, have a DNS proxy enabled by default. The dhcp 
 clients get the IP address of the router as DNS.

 Now some resolvers (the linux glibc resolver at least), when resolving a 
 hostname first ask for  and when no RR and no error is returned, they ask 
 for the A record.

 Now when a host is resolved that way via a Motorola DNS Proxy, the  query 
 does not result in:
 - No Error, no RR returned.

 But in
 - Error 0011 = No such Name.

 If the linux glibc receives Error 0011 it does not continue looking for an A 
 record, but return 'Hostname not found' or similar immediately. Thus making 
 hosts which have a valid IPv4 but first were asked for their  address not 
 reachable from linux.

 The workaround is to not use the DNS proxy on those routers.

 Windowses do not seam to have this problem, even with ipv6 enabled.

 So who is wrong? The linux glibc or the router?

The DNS proxy is clearly broken if it returns NXDomain instead of a
NoData response if the Name exists but the  record at that name
doesn't.  You'll also find that pretty much all DNS proxies out there
are broken when it comes to EDNS and/or DNSSEC.  It's really a tragedy
that ISPs don't pay any attention to this when they select such
equipment. 

It is correct for a stub resolver to stop looking for other records at
a name that it just learned doesn't exist (I assume you do have IPv6
connectivity, because otherwise the stub resolver should not look for
a  record at all).

-- 
Alex



___
swinog mailing list
swinog@lists.swinog.ch
http://lists.swinog.ch/cgi-bin/mailman/listinfo/swinog


Re: [swinog] Probleme mit Resolving nic.ch - Aufl ösung

2010-09-06 Diskussionsfäden Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi,

mittlerweile ist das Problem mit tatkräftiger Hilfe von Alexander
gelöst.

Das Problem war, daß Switch recht zeitnah letztes Jahr kurz vor der
Einführung von dnssec auch noch eine andere Änderung gemacht hatte, die
mit der vor Jahren nötig gewordenen Option root-delegation-only
kollidierte, wo ich ch nicht in der Ausnahme drin hatte (was auch bisher
nicht notwendig war).

Sollte also noch wer außer mir diese Option verwenden, müßte ch in die
Liste der Ausnahmen aufgenommen werden.

Das Problem hatte nichts mit DNSSEC als solches zu tun, äußerte sich nur
so.

Gruß
   Klaus
- -- 
Klaus Ethgenhttp://www.ethgen.de/
pub  2048R/D1A4EDE5 2000-02-26 Klaus Ethgen kl...@ethgen.de
Fingerprint: D7 67 71 C4 99 A6 D4 FE  EA 40 30 57 3C 88 26 2B
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)

iQEVAwUBTITD9J+OKpjRpO3lAQqeOwf9G9Uj5//sip9YwOyBNzYGV0TPocuT/UML
BIQsBzGHWodu6QMh7v8Q/HTGYTd9SrCsmLiQ74+HGcoYnjCvSlnYRvcKeCq6Hm7Y
zJwe+e6yWvFYG2N1kKi9t9/T2bs1XbrwAuwlx11tqUxH4eb/0mSC5RnzpdT+N5Zr
FPhg5MOGIRi5nNl4n19DRx+q239p/OCzYhySatw/JqqcaFZlqcbg0HdV8BfBhLhD
gV1MsktUUdEKhDXSIW6T+fRWyFawRXhYof89TFSZoGcdyG2EA661rhs/pgB1qYjG
D8rnwbcw089ru9gqEFhS52+XXjuuUh0D1wH/jxMJZvk/wv5KyQ/UbQ==
=ZA2c
-END PGP SIGNATURE-


___
swinog mailing list
swinog@lists.swinog.ch
http://lists.swinog.ch/cgi-bin/mailman/listinfo/swinog