From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx.etorok.net (mx.etorok.net [62.113.205.31]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.etorok.net", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by huchra.bufferbloat.net (Postfix) with ESMTPS id 636A721F287 for ; Fri, 25 Apr 2014 12:43:53 -0700 (PDT) Received: by mx.etorok.net (OpenSMTPD) with ESMTP id 34a0e19e; for ; Fri, 25 Apr 2014 22:43:51 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=etorok.net; h= message-id:date:from:mime-version:to:references:in-reply-to :content-type:content-transfer-encoding; s=ml; l=6243; bh=5hHLVc vVWCdriiksKivsa/l1ZlA=; b=aiN4salOAgH1QrDRyICt0KS++ijX087df4KxTr w+etQ5KX9thjfl44FU5UyxwjF699XDvV82IqO1IXSi1cbOrlIfWbCQmA34rZFFir nkwE5ehvQBO6VLv/aqztbYtI6MQ3NRxqoUfFOEKpGd8X1g5de+LD+ZgCq3hb+FQb nvN5U= Received: by mx.etorok.net (OpenSMTPD) with ESMTPSA id 5d68200f; TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-SHA bits=128 verify=NO; for ; Fri, 25 Apr 2014 22:43:50 +0300 (EEST) Message-ID: <535ABAF6.1010509@etorok.net> Date: Fri, 25 Apr 2014 22:43:50 +0300 From: =?ISO-8859-1?Q?T=F6r=F6k_Edwin?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.4.0 MIME-Version: 1.0 To: cerowrt-devel@lists.bufferbloat.net References: <535AAE37.103@thekelleys.org.uk> In-Reply-To: <535AAE37.103@thekelleys.org.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Cerowrt-devel] [Dnsmasq-discuss] test-ipv6.com vs dnssec X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Apr 2014 19:43:54 -0000 On 04/25/2014 09:49 PM, Simon Kelley wrote: > On 25/04/14 19:01, Jim Gettys wrote: >> More specifically, after boot, most of the time test-ipv6.com reports lots >> of problems. >> >> Then I turned off both dnssec and dnssec-check-unsigned, and restarted >> dnsmasq; clean bill of health from test-ipv6.com. >> >> Then I turned on dnssec only, leaving dnssec-check-unsigned, and got a >> clean bill of health. >> >> Then I turned on both at the same time, and things are working. >> >> So we seem to have a boot time race of some sort. >> - Jim >> >> > > > test-ipv6.com is unsigned, so the important thing which is likely > failing is the query for the DS record of test-ipv6.com, which should > return NSEC records providing it doesn't exist, signed by .com According to http://dnssec-debugger.verisignlabs.com/test-ipv6.com test-ipv6.com No DS records found for test-ipv6.com in the com zone Query to ns1.test-ipv6.com/216.218.228.118 for test-ipv6.com/DNSKEY timed out or failed Query to ns2.test-ipv6.com/209.128.193.197 for test-ipv6.com/DNSKEY timed out or failed Failed to get DNSKEY RR set for zone test-ipv6.com No response from test-ipv6.com nameservers Compare this to a domain that works with check-unsigned on: openwrt.org No DS records found for openwrt.org in the org zone No DNSKEY records found openwrt.org A RR has value 78.24.191.177 No RRSIGs found Is the timeout/failed DNSKEY reply for test-ipv6.com the problem? with dnssec-check-unsigned turned on (and no IPv6, just IPv4) I get this: dnsmasq: query[A] ipv4.test-ipv6.com from 172.30.42.12 dnsmasq: forwarded ipv4.test-ipv6.com to 193.231.252.1 dnsmasq: forwarded ipv4.test-ipv6.com to 213.154.124.1 dnsmasq: dnssec-query[DS] ipv4.test-ipv6.com to 193.231.252.1 dnsmasq: query[AAAA] ipv4.test-ipv6.com from 172.30.42.12 dnsmasq: forwarded ipv4.test-ipv6.com to 193.231.252.1 dnsmasq: dnssec-query[DS] ipv4.test-ipv6.com to 193.231.252.1 dnsmasq: query[A] test-ipv6.com from 172.30.42.12 dnsmasq: forwarded test-ipv6.com to 213.154.124.1 dnsmasq: dnssec-query[DS] test-ipv6.com to 213.154.124.1 dnsmasq: dnssec-query[DNSKEY] com to 213.154.124.1 dnsmasq: dnssec-query[DS] com to 213.154.124.1 dnsmasq: dnssec-query[DNSKEY] . to 213.154.124.1 dnsmasq: reply . is DNSKEY keytag 40926 dnsmasq: reply . is DNSKEY keytag 19036 dnsmasq: reply com is DS keytag 30909 dnsmasq: reply com is DNSKEY keytag 30909 dnsmasq: reply com is DNSKEY keytag 56657 dnsmasq: validation result is INSECURE dnsmasq: reply test-ipv6.com is 216.218.228.119 dnsmasq: query[A] ipv4.test-ipv6.com.home.lan from 172.30.42.12 dnsmasq: config ipv4.test-ipv6.com.home.lan is NXDOMAIN dnsmasq: query[AAAA] ipv4.test-ipv6.com.home.lan from 172.30.42.12 dnsmasq: config ipv4.test-ipv6.com.home.lan is NXDOMAIN dnsmasq: query[A] ipv4.test-ipv6.com from 172.30.42.12 dnsmasq: forwarded ipv4.test-ipv6.com to 213.154.124.1 dnsmasq: dnssec-query[DS] ipv4.test-ipv6.com to 213.154.124.1 dnsmasq: query[AAAA] ipv4.test-ipv6.com from 172.30.42.12 dnsmasq: forwarded ipv4.test-ipv6.com to 213.154.124.1 dnsmasq: query[A] ipv6.test-ipv6.com from 172.30.42.12 dnsmasq: forwarded ipv6.test-ipv6.com to 213.154.124.1 dnsmasq: dnssec-query[DS] ipv6.test-ipv6.com to 213.154.124.1 dnsmasq: query[AAAA] ipv6.test-ipv6.com from 172.30.42.12 dnsmasq: forwarded ipv6.test-ipv6.com to 213.154.124.1 dnsmasq: dnssec-query[DS] ipv6.test-ipv6.com to 213.154.124.1 dnsmasq: dnssec-query[DS] ipv4.test-ipv6.com to 213.154.124.1 dnsmasq: query[A] ipv4.test-ipv6.com from 172.30.42.12 dnsmasq: dnssec retry to 213.154.124.1 dnsmasq: reply ipv4.test-ipv6.com is BOGUS DS dnsmasq: validation result is BOGUS dnsmasq: reply ipv4.test-ipv6.com is 216.218.228.119 dnsmasq: forwarded ipv4.test-ipv6.com to 213.154.124.1 dnsmasq: forwarded ipv4.test-ipv6.com to 193.231.252.1 dnsmasq: query[AAAA] ipv4.test-ipv6.com from 172.30.42.12 dnsmasq: dnssec retry to 213.154.124.1 dnsmasq: query[A] ipv6.test-ipv6.com from 172.30.42.12 dnsmasq: dnssec retry to 213.154.124.1 dnsmasq: query[AAAA] ipv6.test-ipv6.com from 172.30.42.12 dnsmasq: dnssec retry to 213.154.124.1 dnsmasq: query[A] ipv4.test-ipv6.com.home.lan from 172.30.42.12 dnsmasq: config ipv4.test-ipv6.com.home.lan is NXDOMAIN dnsmasq: query[AAAA] ipv4.test-ipv6.com.home.lan from 172.30.42.12 dnsmasq: config ipv4.test-ipv6.com.home.lan is NXDOMAIN dnsmasq: forwarded ipv4.test-ipv6.com to 193.231.252.1 dnsmasq: forwarded ipv4.test-ipv6.com to 213.154.124.1 dnsmasq: forwarded ipv4.test-ipv6.com to 193.231.252.1 dnsmasq: forwarded ipv4.test-ipv6.com to 213.154.124.1 dnsmasq: query[A] ipv6.test-ipv6.com.home.lan from 172.30.42.12 dnsmasq: config ipv6.test-ipv6.com.home.lan is NXDOMAIN dnsmasq: forwarded ipv6.test-ipv6.com to 193.231.252.1 dnsmasq: forwarded ipv6.test-ipv6.com to 213.154.124.1 dnsmasq: forwarded ipv6.test-ipv6.com to 193.231.252.1 dnsmasq: forwarded ipv6.test-ipv6.com to 213.154.124.1 dnsmasq: query[AAAA] ipv6.test-ipv6.com.home.lan from 172.30.42.12 dnsmasq: config ipv6.test-ipv6.com.home.lan is NXDOMAIN dnsmasq: query[A] ipv4.test-ipv6.com from 172.30.42.12 dnsmasq: forwarded ipv4.test-ipv6.com to 193.231.252.1 dnsmasq: forwarded ipv4.test-ipv6.com to 213.154.124.1 dnsmasq: dnssec-query[DS] ipv4.test-ipv6.com to 193.231.252.1 dnsmasq: query[AAAA] ipv4.test-ipv6.com from 172.30.42.12 dnsmasq: forwarded ipv4.test-ipv6.com to 193.231.252.1 dnsmasq: dnssec-query[DS] ipv4.test-ipv6.com to 193.231.252.1 dnsmasq: query[A] ipv6.test-ipv6.com from 172.30.42.12 dnsmasq: forwarded ipv6.test-ipv6.com to 193.231.252.1 dnsmasq: dnssec-query[DS] ipv6.test-ipv6.com to 193.231.252.1 dnsmasq: query[AAAA] ipv6.test-ipv6.com from 172.30.42.12 dnsmasq: forwarded ipv6.test-ipv6.com to 193.231.252.1 dnsmasq: dnssec-query[DS] ipv6.test-ipv6.com to 193.231.252.1 dnsmasq: query[A] ipv4.test-ipv6.com from 172.30.42.12 dnsmasq: dnssec retry to 193.231.252.1 dnsmasq: reply ipv4.test-ipv6.com is BOGUS DS dnsmasq: validation result is BOGUS dnsmasq: reply ipv4.test-ipv6.com is 216.218.228.119 dnsmasq: reply ipv4.test-ipv6.com is BOGUS DS dnsmasq: validation result is BOGUS dnsmasq: reply ipv4.test-ipv6.com is NODATA-IPv6