From owner-freebsd-current@FreeBSD.ORG Wed Aug 10 07:29:47 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16A41106564A; Wed, 10 Aug 2011 07:29:47 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from mail.mahoroba.org (ent.mahoroba.org [IPv6:2001:2f0:104:8010::1]) by mx1.freebsd.org (Postfix) with ESMTP id B28A28FC32; Wed, 10 Aug 2011 07:29:46 +0000 (UTC) Received: from asuka.mahoroba.org (ume@ent.mahoroba.org [IPv6:2001:2f0:104:8010::1]) (user=ume mech=CRAM-MD5 bits=0) by mail.mahoroba.org (8.14.5/8.14.5) with ESMTP/inet6 id p7A7TXh1021511 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 10 Aug 2011 16:29:39 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Wed, 10 Aug 2011 16:29:33 +0900 Message-ID: From: Hajimu UMEMOTO To: Mattia Rossi In-Reply-To: <4E3F853E.4030201@swin.edu.au> References: <4E3B86C4.7050005@swin.edu.au> <4E3B9346.9000101@FreeBSD.org> <4E3F853E.4030201@swin.edu.au> User-Agent: xcite1.60> Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-2022-JP-2?B?R29qGyQoRCtXGyhC?=) APEL/10.8 Emacs/23.3 (amd64-portbld-freebsd8.2) MULE/6.0 (HANACHIRUSATO) X-Operating-System: FreeBSD 8.2-STABLE X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (mail.mahoroba.org [IPv6:2001:2f0:104:8010::1]); Wed, 10 Aug 2011 16:29:39 +0900 (JST) X-Virus-Scanned: clamav-milter 0.97.2 at asuka.mahoroba.org X-Virus-Status: Clean X-Spam-Status: No, score=-3.7 required=5.0 tests=ALL_TRUSTED,BAYES_00, RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on asuka.mahoroba.org Cc: freebsd-net@freebsd.org, Doug Barton , fbsd@opal.com, freebsd-current@freebsd.org Subject: Re: resolvconf script overwrites entries in resolv.conf - RDNSS/DNSSL related 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: Wed, 10 Aug 2011 07:29:47 -0000 Hi, >>>>> On Mon, 08 Aug 2011 16:42:06 +1000 >>>>> Mattia Rossi said: mrossi> Anyhow, the manpage is really not clear about name_servers_append, and mrossi> it's not working as expected either: mrossi> 1) If I put in a comma separated list of nameservers, I'll find that mrossi> comma separated list in /etc/resolv.conf under a single "nameserver" mrossi> tag. That doesn't work, as it's not a valid entry. Each nameserver mrossi> needs to have a "nameserver " entry. name_servers and name_servers_append is a space separated list of nameserver. mrossi> 2) If I use multiple name_servers_append entries in mrossi> /etc/resolvconf.conf, then only the last entry is used. I don't want mrossi> only one DNS server there though, I want all three of them, as I mrossi> already had the problem that one or the other didn't work properly. You can specify multiple nameservers in name_servers and/or name_servers_append. mrossi> 3) If I read the description for name_servers in resolvconf.conf(5), I mrossi> understand that this tag prepends the nameserver to my list. This is mrossi> not what happens. Still not sure what actually happens there... It is strange to me. If you specify name_servers, it should be prepended to the nameserver list. I've just tried name_servers, and it did the job as expected, here. mrossi> How do I get my 3 manual DNS entries properly into my resolv.conf ? Please specify your 3 servers as space separated list in name_servers or name_servers_append. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/