From owner-freebsd-questions@freebsd.org Sun Apr 11 12:44:47 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B90C35CD8BC for ; Sun, 11 Apr 2021 12:44:47 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from mailout.qeng-ho.org (mailout.qeng-ho.org [217.155.128.244]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FJBQk67Vdz3Qtg for ; Sun, 11 Apr 2021 12:44:46 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from arthur.home.qeng-ho.org (unknown [IPv6:2a02:8010:64c9:1::2]) by mailout.qeng-ho.org (Postfix) with ESMTP id 38C193BC07; Sun, 11 Apr 2021 13:44:39 +0100 (BST) Subject: Re: resolvconf To: "@lbutlr" , FreeBSD References: <60A158D1-8AC8-4233-B268-9CAD1952FE17@kreme.com> From: Arthur Chance Message-ID: <1e498430-3fa3-e3a2-fdee-34381096682c@qeng-ho.org> Date: Sun, 11 Apr 2021 13:44:39 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <60A158D1-8AC8-4233-B268-9CAD1952FE17@kreme.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FJBQk67Vdz3Qtg X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@qeng-ho.org designates 217.155.128.244 as permitted sender) smtp.mailfrom=freebsd@qeng-ho.org X-Spamd-Result: default: False [0.70 / 15.00]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[217.155.128.244:from]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.155.128.240/29]; NEURAL_SPAM_SHORT(1.00)[0.999]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[qeng-ho.org]; ARC_NA(0.00)[]; SPAMHAUS_ZRD(0.00)[217.155.128.244:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(1.00)[1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13037, ipnet:217.155.0.0/16, country:GB]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Apr 2021 12:44:47 -0000 On 11/04/2021 11:02, @lbutlr wrote: > The man page for resolvecong says there should be a configuration > file at > > /etc/resolvconf.conf > > But this file foes not exist, and it does not exist in /usr/local/ > either. > > Right now, resolvconf is adding a DNS server that I do not want to > /etc/resolve.conf and I want to figure out how to prevent this. I > wouldn't mind figuring out what is adding it too, as the IP address > does not appear in any file under /etc/ or /usr/local/etc/ > > If I create /etc/resolvconf.conf: > > resolvconf NO name_servers 127.0.0.1 x.x.x.x y.y.y.y z.z.z.z > > Would that stop whatever it is that is adding the unwanted server > from adding it and only use the servers I specify? My /etc/resolvconf.conf just has resolvconf="NO" to stop it overwriting /etc/resolv.conf, and then I hand craft resolv.conf (this is on a desktop machine where the network doesn't change). > When was resolveconf tasked with overwriting the resolver.conf file? > Was this part of moving to FreeBSD 12? Earlier than that. I can't remember whether it was 11 or 10. -- The number of people predicting the demise of Moore's Law doubles every 18 months.