From owner-freebsd-current@FreeBSD.ORG Thu Jun 16 20:44:48 2005 Return-Path: X-Original-To: current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1566416A41F for ; Thu, 16 Jun 2005 20:44:48 +0000 (GMT) (envelope-from wollman@khavrinen.csail.mit.edu) Received: from khavrinen.csail.mit.edu (khavrinen.csail.mit.edu [128.30.28.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id B98DA43D48 for ; Thu, 16 Jun 2005 20:44:47 +0000 (GMT) (envelope-from wollman@khavrinen.csail.mit.edu) Received: from khavrinen.csail.mit.edu (localhost.csail.mit.edu [127.0.0.1]) by khavrinen.csail.mit.edu (8.13.1/8.13.1) with ESMTP id j5GKijRf028893 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK CN=khavrinen.lcs.mit.edu issuer=SSL+20Client+20CA); Thu, 16 Jun 2005 16:44:46 -0400 (EDT) (envelope-from wollman@khavrinen.csail.mit.edu) Received: (from wollman@localhost) by khavrinen.csail.mit.edu (8.13.1/8.13.1/Submit) id j5GKif1x028888; Thu, 16 Jun 2005 16:44:41 -0400 (EDT) (envelope-from wollman) From: Garrett Wollman MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17073.58552.862249.81604@khavrinen.csail.mit.edu> Date: Thu, 16 Jun 2005 16:44:40 -0400 To: Brooks Davis In-Reply-To: <20050616201646.GC13900@odin.ac.hmc.edu> References: <200506161312.51857.jhb@FreeBSD.org> <42B1D823.5030108@errno.com> <20050616201646.GC13900@odin.ac.hmc.edu> X-Mailer: VM 7.17 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-1.6 (khavrinen.csail.mit.edu [127.0.0.1]); Thu, 16 Jun 2005 16:44:46 -0400 (EDT) X-Virus-Scanned: ClamAV 0.85.1/943/Thu Jun 16 13:24:01 2005 on khavrinen.csail.mit.edu X-Virus-Status: Clean X-Spam-Status: No, score=0.0 required=5.0 tests=none version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on khavrinen.csail.mit.edu X-Mailman-Approved-At: Fri, 17 Jun 2005 11:59:27 +0000 Cc: current@FreeBSD.ORG Subject: Re: New dhclient broke multiple domains in domain-name X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2005 20:44:48 -0000 < said: > The RFC is shockingly lacking in this area. It's rather odd that they > send a value for domain, but not for search (in resolv.conf). It's not > suprising that people ended up abusing this to set search. There is a standard (unless it didn't make it out of I-D) for doing this. The shocking thing is that isc-dhcp(d) has never supported it. I used to have something like this in my dhcpd.conf: #option domain-search-order code 119 = string; # # This was generated using the following command: # perl -e 'print "\3lcs\3mit\3edu\0\2ai\xc0\4\xc0\4\2w3\3org\0"' | hd # ...and represents the search-list lcs.mit.edu, ai.mit.edu, mit.edu, w3.org # in DNS compressed encoding. # #option domain-search-order 03:6c:63:73:03:6d:69:74:03:65:64:75:00:02:61:69:c0:0 4:c0:04:02:77:33:03:6f:72:67:00; AFAIK not even Microsoft clients bother to implement this. -GAWollman