From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 16 12:09:50 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60BFB16A4CE for ; Fri, 16 Jan 2004 12:09:50 -0800 (PST) Received: from nalle.netsonic.fi (netsonic.fi [194.29.192.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCEB243D31 for ; Fri, 16 Jan 2004 12:09:47 -0800 (PST) (envelope-from markus.kovero@grafikansi.fi) Received: from shaggy (pilosus.grafikansi.fi [81.17.198.68]) by nalle.netsonic.fi (8.11.6/8.11.6) with ESMTP id i0GK9kY13041 for ; Fri, 16 Jan 2004 22:09:46 +0200 Message-Id: <200401162009.i0GK9kY13041@nalle.netsonic.fi> From: "Markus Kovero" To: Date: Fri, 16 Jan 2004 22:09:50 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPcbLImgFYHRocmQQCCRXilQgvliQ== Subject: Bind hack for ipv6 autoconf X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jan 2004 20:09:50 -0000 I was just wondering, inspired by Saku Ytti's idea of making hack to bind which would allow proper PTR and AAAA records for rtadvd or similar autoconfigured hosts, as you can know hosts that are given are quite random, and far as I know there is no smart logic with them. So, somekinda hack for bind is needed. eg. bind could be modified to do PTR and AAAA with different system than zonefiles has, though zonefiles shouldn't be ignored but if query regarding autoconfigured subnet comes in it should be handled on its own system. For example: Foo asks reverse for address xyz, bind notices that it has subnet xy defined as autoconfig hosts and calculates reverse for it like, xyz IN PTR z-xy.auto.foo.tld. And then, another day, Bar asks AAAA record for z-xy.auto.foo.tld and bind notices that its under auto.foo.tld which was defined for autoconfigured hosts and subnet was xy, answer xyz is given. And if foo asks AAAA for foo.tld bind operates normally and gives possible answer from zonefile. If ISC guys are following these lists I would like to hear their comments. Anybody interested in developing this kind of modification? Ideas? Comments? Anybody? Greets Markus Kovero