[Dnsmasq-discuss] dns server

Linux Luser linuxluser at gmail.com
Wed Apr 15 01:51:54 BST 2015


host-record will define a single A record for your local network. For all
others, you will need to specify an upstream DNS server. Example:

server=8.8.8.8
server=8.8.4.4

expand-host, domain and local should be optional (though, you probably want
to specify a domain name for your local network) if we're still just
talking about DNS.

On Tue, Apr 14, 2015 at 4:57 PM, Thiago Farina <tfransosi at gmail.com> wrote:

> On Tue, Apr 14, 2015 at 8:45 PM, Linux Luser <linuxluser at gmail.com> wrote:
> > Wouldn't host-record work?
> >
> > host-record=mydomain.org,192.168.0.101
> >
> Just that? No expand-host, domain=, local, address are necessary?
>
> > If the hosts on your network are configured to use your dnsmasq instance
> for
> > DNS, then they will get back 192.168.0.101 when doing a lookup for
> > mydomain.org.
> >
> Will they still be able to navigate to any other site (the ones
> outside my network, i.e., in the internet)?
>
> --
> Thiago Farina
>



-- 
daV.e

"The reasonable man adapts himself to the conditions that surround him...
The unreasonable man adapts surrounding conditions to himself... All
progress depends on the unreasonable man." Bernard Shaw
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20150414/bd781006/attachment.html>


More information about the Dnsmasq-discuss mailing list