From owner-freebsd-net@freebsd.org Tue Mar 21 21:53:21 2017 Return-Path: Delivered-To: freebsd-net@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 1170AD170CF for ; Tue, 21 Mar 2017 21:53:21 +0000 (UTC) (envelope-from freebsd@str.komkon.org) Received: from tissa.komkon.org (tissa.komkon.org [52.5.170.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "komkon.org", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D15981ED8 for ; Tue, 21 Mar 2017 21:53:20 +0000 (UTC) (envelope-from freebsd@str.komkon.org) Received: from auth (localhost [127.0.0.1]) by tissa.komkon.org (8.15.2/8.15.2) with ESMTPSA id v2LLqwLv022649 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 21 Mar 2017 17:53:19 -0400 (EDT) (envelope-from freebsd@str.komkon.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=str.komkon.org; s=mail; t=1490133199; bh=u1AeK+ivzlgQyEjP/ZKbbfkAB5A5kkXpfXEJuDVgKLU=; h=Date:From:To:Subject; b=RhbNdI4o54ZbzeWSyu/xOawiwAahf5bHxs7EzfbVZ7GbBljU2TdBL7OukwJNJIZd1 /xqasW8PKsG0J4RcqGUS7kiTS7JOFYDp6C4KICloJSAVBDzXyOSCwVOKV+NcSwT6F9 ZbqBXMRp90agaxlHSEYpkyMPBNHIh7migkXzjWgs= Date: Tue, 21 Mar 2017 17:52:58 -0400 (EDT) From: "Igor R." To: freebsd-net@freebsd.org Subject: multiple nameservers in resolvconf.conf Message-ID: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Virus-Scanned: clamav-milter 0.99.2 at tissa.komkon.org X-Virus-Status: Clean X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2017 21:53:21 -0000 How one can specify multiple name servers in each of the following options in resolvconf.conf: (note, it is not resolv.conf!) https://www.freebsd.org/cgi/man.cgi?query=resolvconf.conf&sektion=5 append_nameservers and prepend_nameservers ? Even though the options have "nameservers" in plural, I could not find any example anywhere on the net that would indicate multiple values for these two options. I've tried append_nameservers=127.0.0.1, 192.168.15.2 append_nameservers=127.0.0.1,192.168.15.2 append_nameservers=127.0.0.1 192.168.15.2 append_nameservers=127.0.0.1; 192.168.15.2 as well as specifying them on separate lines: append_nameservers=127.0.0.1 append_nameservers=192.168.15.2 These different version yield 3 different outcomes, but none of them produces resolv.conf (upon running resolvconf -u) with both servers in there. (Not that it matters, but there is an active information from dhcp server/client. Tested on 10.* system.) I wonder if it is a bug... Thank you in adavnce, Igor