[Dnsmasq-discuss] New to dnsmasq
giacomo.tazzari at gmail.com
Tue Apr 23 23:09:54 BST 2013
If I had to guess, I think you have a line like:
in your /etc/hosts file.
Unless otherwise specified with the "no-hosts" option, dnsmasq takes
/etc/hosts into account for resolving names.
If it's so, "sms" would resolv to 127.0.0.1 for any client querying dnsmasq
I hope that helps!
On Tue, Apr 23, 2013 at 11:45 PM, Paul Marwick <paul.marwick at gmail.com>wrote:
> I'm in the process of replacing an old home server with a new one,
> Slackware based. The old machine uses bind, which is slow, horrible to set
> up, and overkill for a small home network. I'm really happy with the lookup
> speed I'm seeing from dnsmasq. But I've got something badly configured, and
> I can't see what I've done.
> External lookups work fine, and the machines on the local network are all
> found by name. However, any attempt to ssh to the new server by name fails,
> as does attempting to load the web server by name. Both can be done by IP,
> just not by name.
> This is what I've got for /etc/dnsmasq.conf:
> # Configuration file for dnsmasq.
> # Set the NTP time server addresses to 192.168.0.4 and 10.10.0.5
> # Set the NTP time server address to be the same machine as
> # is running dnsmasq
> My resolv.conf has this:
> domain ibmpeers.net
> server 127.0.0.1
> and I'm using /etc/nameserver.list to set up remote DNS servers:
> server 18.104.22.168
> server 22.214.171.124
> The thing I really don't understand is it seems that when I attempt to
> address the server from one of the other machines, it seems to be
> addressing itself - on my desktop machine, which has the ssh daemon
> running, if I attempt to do something like "ssh root at sms", the connection
> is accepted, but when I connect, I'm actually connecting to the machine I'm
> already on.
> Any hints as to the stupid error I've made in setting this up will be
> gratefully accepted...
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.**thekelleys.org.uk<Dnsmasq-discuss at lists.thekelleys.org.uk>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dnsmasq-discuss