[Dnsmasq-discuss] dns server

Thiago Farina tfransosi at gmail.com
Mon Apr 27 04:44:52 BST 2015


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dnsmasq.conf
Type: application/octet-stream
Size: 22528 bytes
Desc: not available
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20150427/c6bcb7e8/attachment-0001.obj>


More information about the Dnsmasq-discuss mailing list