Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jun 2017 11:03:24 -0400
From:      Ernie Luzar <luzar722@gmail.com>
To:        Yubin Ruan <ablacktshirt@gmail.com>
Cc:        Baho Utot <baho-utot@columbus.rr.com>, freebsd-questions@freebsd.org
Subject:   Re: how to know what DNS server is being used
Message-ID:  <593C0A3C.2010307@gmail.com>
In-Reply-To: <20170610225450.GD12437@HP>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?593C0A3C.2010307>