From owner-freebsd-questions@FreeBSD.ORG Mon Jul 15 19:08:53 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B9721522 for ; Mon, 15 Jul 2013 19:08:53 +0000 (UTC) (envelope-from the.lists@mgm51.com) Received: from oneyou.mcmli.com (oneyou.mcmli.com [IPv6:2001:470:1d:8da::100]) by mx1.freebsd.org (Postfix) with ESMTP id 874E319E for ; Mon, 15 Jul 2013 19:08:53 +0000 (UTC) Received: from sentry.24cl.com (sentry.24cl.com [IPv6:2001:470:89e9:feed::1]) by oneyou.mcmli.com (Postfix) with ESMTPS id 3bvDmh2t4Nz1DRc for ; Mon, 15 Jul 2013 15:08:52 -0400 (EDT) Received: from BigBloat (bigbloat.24cl.home [10.20.1.4]) by sentry.24cl.com (Postfix) with ESMTP id 3bvDmg385hz1nYm for ; Mon, 15 Jul 2013 15:08:51 -0400 (EDT) Message-ID: <201307151508490269.006D6A67@smtp.24cl.home> In-Reply-To: <201307141145100081.00DCC832@smtp.24cl.home> References: <201307141145100081.00DCC832@smtp.24cl.home> X-Mailer: Courier 3.50.00.09.1098 (http://www.rosecitysoftware.com) (P) Date: Mon, 15 Jul 2013 15:08:49 -0400 From: "Mike." To: freebsd-questions@freebsd.org Subject: Re: resolvconf.conf in 9.1 Content-Type: text/plain; charset="us-ascii" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2013 19:08:53 -0000 On 7/14/2013 at 11:45 AM Mike. wrote: |I am trying to figure out and understand the config file |resolvconf.conf. The man page is a bit on the sketchy side, and I see |no reference for resolvconf.conf in the Handbook. Most of what google |finds looks like it is Linux-oriented, and that seems to be an entirely |different config structure for resolvconf, i.e., a directory of files |instead of a file of variables. | | |For example, I would like to change the order in which the name servers |appear in resolv.conf. | | |There is one interface (fxp0) that is assigned both IPv4 and IPv6 |addresses. IPv4 uses DHCP to obtain the address and two nameservers. | IPv6 uses rtadvd to obtain the IP address and nameserver (RDNSS). | |The IPv4 nameservers appear before the IPv6 nameserver in resolv.conf, |and I would like the IPv6 nameserver to be first on the resolv.conf |list. | | |What parameter in resolvconf.conf controls the order in which |nameservers are placed in resolv.conf? | |Thanks. ============= I finally solved this. First, I ran resolvconf -l to list the interfaces it knew about. Then I added this line, based upon the interfaces in the above list, to resolvconf.conf: interface_order="fxp0:slaac fxp0" That puts the interface configured via rtadv before the interface configured via dchp, resulting in the IPv6 nameserver coming before the IPv4 nameservers in resolv.conf.