[Dnsmasq-discuss] dns server
Thiago Farina
tfransosi at gmail.com
Mon Apr 27 19:35:54 BST 2015
Also, after restarting the server, dnsmasq or whatever writes
/var/run/dnsmasq/resolv.conf, is emptying it!
On Mon, Apr 27, 2015 at 12:44 AM, Thiago Farina <tfransosi at gmail.com> wrote:
> On Wed, Apr 15, 2015 at 8:58 PM, Linux Luser <linuxluser at gmail.com> wrote:
>> Ah, yes. You will have to add the host-record=mydomain.com,192.168.0.101
>> line as we discussed earlier.
>
> When add this, it gives me a syntax error:
>
> $ sudo /etc/init.d/dnsmasq restart
> * Restarting DNS forwarder and DHCP server configuration syntax check
>
> [fail]
>
>
> Please, see my attached dnsmasq.conf. One thing to note, is that, with
> this conf, I was able to get the dns resolution working on my network,
> until...until I added the ip address of my dns server (192.168.0.101)
> to the list of dns in my cisco router (in order to propagate that to
> the other computers without requiring me to setup each machine one by
> one manually). Why that makes a difference and breaks the name
> resolution, I have no idea.
>
> Do you know what I'm doing wrong?
>
> Also, I have had to change dns in NetworkManager.conf to /dev/null:
>
> $ cat /etc/NetworkManager/NetworkManager.conf
> [main]
> plugins=ifupdown,keyfile
> dns=/dev/null
>
> no-auto-default=84:2B:2B:7C:96:69,
>
> [ifupdown]
> managed=false
>
> --
> Thiago Farina
--
Thiago Farina
More information about the Dnsmasq-discuss
mailing list