From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f171.google.com (mail-we0-f171.google.com [74.125.82.171]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id 496C3200A76 for ; Mon, 20 Aug 2012 11:25:46 -0700 (PDT) Received: by weyx43 with SMTP id x43so8890851wey.16 for ; Mon, 20 Aug 2012 11:25:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=SxdBUTdVsCT2i7NCIuDjSKhOT0Pgw5ZrBLylXgqu3Dg=; b=lYI5XVdHkVnINlLTpRUtgEWIRV6P1gi3TWNZfnmg7NpWiv7TcK7utjhTEf32PWw8qj D/ZZIeilMeCTw9Wme/W4shW8snH5njxZo/Pv1GUFOJz55YXBTeICTUAsrt6cwijbgITz BVhBfhFS40sGDdIzYSbuf0XeaV7oV9IhKgwAwF4vnitsQoptFgDCqGZyLyFBQpcZExaO jyiTyZuX7pRf8e0Jbs6cJv/b6Fz1BSd7yiBahMmTlSwnflMcPC17PTenclHuDNK+JWFC +/paCTvwP6iu4phFYEVTJlEp9bpt5GBNP/xeJICETeutgEgW5BlbZ84K+KXn2IBLwzIf NVXA== MIME-Version: 1.0 Received: by 10.180.77.34 with SMTP id p2mr12173156wiw.0.1345487144392; Mon, 20 Aug 2012 11:25:44 -0700 (PDT) Received: by 10.223.143.69 with HTTP; Mon, 20 Aug 2012 11:25:44 -0700 (PDT) Date: Mon, 20 Aug 2012 11:25:44 -0700 Message-ID: From: Dave Taht To: cerowrt-devel@lists.bufferbloat.net, Evan Hunt Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: [Cerowrt-devel] thoughts toward improving cerowrt's DNS and DNSSEC in the next release 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: Mon, 20 Aug 2012 18:25:46 -0000 The ongoing DNS issues bug me. For most uses these days I disable bind entirely, as the 12-20MB it uses up are better used for packets. I do use it on 3800s but not on 3700v2s. 0) the circular time issue (bug #113) remains a PITA. I was really scarred by trying to fix that one last year and keep hoping someone else will fix it... 1) The luci gui has hooks for dnsmasq's "use dns servers advertised by peer" and "use custom dns servers", which are not tied into the bind configuration. This is confusing users. The way to do that manually is to get the advertisement once, validate that those servers do NXDOMAIN and DNSSEC, and toss them into forwarders.conf and enable forwarders.conf 2) Going the the DNS roots with bind, is OK, but it is always faster, and more reliable to use the ISP provided DNS servers, if they can be trusted to send DNSSEC information. Comcast's (if you are on comcast) are fast as heck. I also recently discovered that google DNS does indeed do dnssec, and although much further away than comcast on the networks I have access to, they are universally available. So I am thinking of enabling forwarding by default to google DNS. This reduces enabling forwarding to another set of servers provided by the ISP, if usable.... I would like a test of some sort that would prove a delegated ISP's DNS server was "worthy", this test would include NXDOMAIN, DNSSEC, and whatever else would be required to validate it as a potential forwarder to overwrite the forwarders.conf file with that information. I wouldn't mind establishing a global white/blacklist of DNS servers that did NXDOMAIN/DNSSEC right/wrong somewhere, either... dnsmasq may gain DNSSEC by the winter, btw.... 3) A related problem is that when behind many walled gardens (a hotel, for example), going to the DNS roots via bind doesn't work at all, neither do things like google dns, and usually the forwarder is pretty crappy in the first place. dnsmasq works in this scenario just fine... 4) A final alternative is to drop bind by default and install it optionally. While this would lose DNSSEC, and split views and local delegations, it would buy the integration with dnsmasq, which includes things like AAAA naming, etc., and get some memory back. (I note that the OOM issues we're encountering are USEFUL to encounter in that optimizing for memory use throughout the system is very important, and I have similar issues on 32MB routers like the picostation/nanostation even without bind) Given the amount of time, energy, and money (all 0) I personally have to deal with these issues, I'm mostly tempted to save on hair by making dnsmasq the default going forward, and write off bind for now. Certainly continue to make it available for advanced users, but install it optionally. The advantages of having something closer to full blown dns in the home are not apparent without tighter integration with dhcp, dhcpv6, ahcp, etc, than presently exists anywhere. --=20 Dave T=E4ht http://www.bufferbloat.net/projects/cerowrt/wiki - "3.3.8-17 is out with fq_codel!"