From owner-freebsd-questions@FreeBSD.ORG Thu Jun 13 18:53:55 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D07B843A for ; Thu, 13 Jun 2013 18:53:55 +0000 (UTC) (envelope-from darren.pilgrim@gmail.com) Received: from mail-pb0-x22c.google.com (mail-pb0-x22c.google.com [IPv6:2607:f8b0:400e:c01::22c]) by mx1.freebsd.org (Postfix) with ESMTP id AC7721DF0 for ; Thu, 13 Jun 2013 18:53:55 +0000 (UTC) Received: by mail-pb0-f44.google.com with SMTP id uo1so5941338pbc.3 for ; Thu, 13 Jun 2013 11:53:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=aQdcnB8FWou/pEmc3ysuipAmDnHVH49kmSj/bZz3H6c=; b=fK+rQe0IbAzYZ5ZCTrM+eN12L/2O2Rio1lkOPuIv5izg2bKzMm7cSJFSOuX/S4sk4v 5GAPI1IBXeMcY/3ltpOaIS74fEdh/001VCI4T/7WlG9CSF9bgN2/cMS2Ds5TzQkpJANe zjV5cYJuvx83ukNLfd/Gm0AdoN9idY6CUSWejcVhjkv++BbrYEGbcfUFMpeLm1SjrLP2 6NUDeBBCAaWgf4EUAMwAALQLb85VrCrkLndQGgt5A7qpL0FFqPmIuQuVwRp5o4ObmTpR mVlsPWhhmxMRCk/Efr7UZLgEIMz5wQaqT8v1N7iPKGTe48RUy8+OQndd8408i9raFNr/ oqLg== X-Received: by 10.66.5.168 with SMTP id t8mr4020420pat.196.1371149635474; Thu, 13 Jun 2013 11:53:55 -0700 (PDT) Received: from ?IPv6:2001:470:1f05:19b9:d8c0:1f3c:2a53:faa5? ([2001:470:1f05:19b9:d8c0:1f3c:2a53:faa5]) by mx.google.com with ESMTPSA id ig4sm24373690pbc.18.2013.06.13.11.53.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Jun 2013 11:53:54 -0700 (PDT) Message-ID: <51BA1543.9080906@gmail.com> Date: Thu, 13 Jun 2013 11:53:55 -0700 From: Darren Pilgrim User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: Loic Capdeville Subject: Re: How to force a static /etc/resolv.conf? References: <51B91679.1070405@gmail.com> <51B9B4E5.6070209@lolox.net> In-Reply-To: <51B9B4E5.6070209@lolox.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org 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: Thu, 13 Jun 2013 18:53:55 -0000 On 2013-06-13 05:02, Loic Capdeville wrote: > You can configure it in your dhclient.conf file. > Use the supersede keyword. > For example, in your case add: > > supersede domain-search "example.com example.net" > supersede domain-name-servers 2001:db8::53 That only addresses the DHCPv4 client. The DHCPv6 client doesn't have those options and neither do the VPN clients.