Date: Sat, 10 Jun 2017 18:28:19 +0100 From: Shamim Shahriar <shamim.shahriar@gmail.com> To: Ernie Luzar <luzar722@gmail.com> Cc: Yubin Ruan <ablacktshirt@gmail.com>, "freebsd-questions@FreeBSD.org" <freebsd-questions@freebsd.org>, Baho Utot <baho-utot@columbus.rr.com> Subject: Re: how to know what DNS server is being used Message-ID: <CAOyJeZSue70QPS6=dGd3dUQ0SToiuic=s4zjKFXgnkOCDLbHQw@mail.gmail.com> In-Reply-To: <CAOyJeZQyfFYnUyRRY6NUTQTFL4BG3vmBNZSRgYXrxBoq5NVURw@mail.gmail.com> References: <80AB0139-6BF5-4B8D-9CCF-1FE445AA26CF@bellsouth.net> <1495679620.341619.987871464.4177A961@webmail.messagingengine.com> <20170610201735.GB3141@HP> <e8e5496f-f894-bac2-1772-39512d72d6f0@columbus.rr.com> <20170610225450.GD12437@HP> <593C0A3C.2010307@gmail.com> <CAOyJeZQyfFYnUyRRY6NUTQTFL4BG3vmBNZSRgYXrxBoq5NVURw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10 Jun 2017 4:04 pm, "Ernie Luzar" <luzar722@gmail.com> wrote: Yubin Ruan wrote: > On Sat, Jun 10, 2017 at 09:46:11AM -0400, Baho Utot wrote: > >> >> On 06/10/17 16:17, Yubin Ruan wrote: >> >>> On Wed, May 24, 2017 at 11:33:40PM -0300, Fernando Milovich wrote: >>> >>>> cat /etc/resolv.conf >>>> >>> Is this the standard? I mean, can a system use some other files to >>> specify >>> their DNS server? >>> >>> -- >>> Yubin >>> >> It is working correctly. Why would you want to use another file to manage >> name servers? >> >> This is not windows >> > > For example, dnsmasq do not use /etc/resolv.conf > > /Yubin > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe > @freebsd.org" > > The system uses /etc/resolv.conf and it gets populated at boot time if your using DCHP on the interface facing the pubic internet as defined in /etc/rc.conf. dnsmasq is a port commonly used for DNS on a LAN. This is totally different than what the system does with DNS. Do not confuse the two as they perform different functions. Further to Earnie's point, dnsmasq does use /etc/resolve.conf, please check the documentation. Thanks
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOyJeZSue70QPS6=dGd3dUQ0SToiuic=s4zjKFXgnkOCDLbHQw>