Date: Tue, 21 Mar 2017 21:34:47 -0400 (EDT) From: "Igor R." <freebsd@str.komkon.org> To: Eric van Gyzen <eric@vangyzen.net> Cc: freebsd-net@freebsd.org Subject: Re: multiple nameservers in resolvconf.conf Message-ID: <alpine.BSF.2.20.1703212133340.12389@tissa.komkon.org> In-Reply-To: <0b82f5db-810e-6076-2587-e687b6ce7f5e@vangyzen.net> References: <alpine.BSF.2.20.1703211750190.22606@tissa.komkon.org> <0b82f5db-810e-6076-2587-e687b6ce7f5e@vangyzen.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Yes! That worked! Thank you, Eric! I don't know how I didn't think about it... Igor On Tue, 21 Mar 2017, Eric van Gyzen wrote: > On 3/21/17 4:52 PM, Igor R. wrote: >> >> 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. > > The config file is in /bin/sh syntax, so I imagine it would be: > > append_nameservers='127.0.0.1 192.168.15.2' > > Give that a shot. > > Eric >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1703212133340.12389>