[Dnsmasq-discuss] dns server

Thiago Farina tfransosi at gmail.com
Wed Apr 15 02:25:06 BST 2015


On Tue, Apr 14, 2015 at 9:51 PM, Linux Luser <linuxluser at gmail.com> wrote:
> 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.
>
I'm trying everything, but nothing is working from other machines. Sigh.

$ cat /etc/dnsmasq.conf
#listen-address=127.0.0.1
domain-needed
bogus-priv
server=/mydomain.org/192.168.0.101
local=/mydomain.org/
domain=mydomain.org

$ ps ax | grep dns
17432 ?        S      0:00 /usr/sbin/dnsmasq --no-resolv
--keep-in-foreground --no-hosts --bind-interfaces
--pid-file=/var/run/sendsigs.omit.d/network-manager.dnsmasq.pid
--listen-address=127.0.0.1 --conf-file=/var/run/nm-dns-dnsmasq.conf
--cache-size=0 --proxy-dnssec --enable-dbus
--conf-dir=/etc/NetworkManager/dnsmasq.d

So I put mydomain.org.conf in dnsmasq.d

$ cat /etc/NetworkManager/dnsmasq.d/mydomain.org.conf
server=/mydomain.org/192.168.0.101

Chrome error's code is: DNS_PROBE_FINISHED_BAD_CONFIG

-- 
Thiago Farina



More information about the Dnsmasq-discuss mailing list