From owner-freebsd-questions@freebsd.org Tue Sep 19 23:44:12 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 37CA2E0E142 for ; Tue, 19 Sep 2017 23:44:12 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B585E7209F for ; Tue, 19 Sep 2017 23:44:08 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from testbox.news4all.se (testbox.usenet4all.se [10.0.0.3]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id v8JNhwhI015113; Wed, 20 Sep 2017 01:43:58 +0200 (CEST) (envelope-from bah@bananmonarki.se) Subject: Re: Help using resolvconf command To: Ernie Luzar , "freebsd-questions@freebsd.org" References: <59C1A7C6.8010604@gmail.com> From: Bernt Hansson Message-ID: <211d9d6f-049d-e5a1-c412-176b47927d86@bananmonarki.se> Date: Wed, 20 Sep 2017 01:43:58 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <59C1A7C6.8010604@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2017 23:44:12 -0000 On 09/20/17 01:27, Ernie Luzar wrote: > At boot time this is what > /etc/resolv.conf looks like > > # Generated by resolvconf > search neo.rr.com > nameserver 209.18.47.61 > nameserver 209.18.47.62 > > My /etc/resolvconf.conf looks like this > > name_servers="127.0.0.1" > > > execute resolvconf -u > > and /etc/resolv.conf now looks like this > > # Generated by resolvconf > search neo.rr.com > nameserver 127.0.0.1 > > > > I want /etc/resolv.conf to looks like this > > nameserver 127.0.0.1 > > > What do I have to add to /etc/resolvconf.conf to make that happen? If you get your ip with DHCP you can put this in your /etc/dhclient.conf supersede domain-name-servers 127.0.0.1