[Dnsmasq-discuss] resolving server's hostname
carl at nextdayvideo.com
Sat Feb 18 15:31:19 GMT 2017
dc10b is the dnsmasq server
I am using a modified version of this:
I haven't checked in the mods yet because things are still a little wonky.
git diff ... skimmed, don't see anything that would affect dnsmasq.
juser at dc10b:~$ cat /etc/dnsmasq.d/local.conf
## Ansible managed
Hmm, on an openwtt ap running dnsmasq:
root at tpap:~# cat /etc/resolv.conf
root at tpap:~# cat /etc/hosts
root at tpap:~# nslookup tpap
Address 1: 127.0.0.1 localhost
Address 1: 192.168.1.2 tpap.lan
On Sat, Feb 18, 2017 at 6:15 AM, Albert ARIBAUD <albert.aribaud at free.fr>
> Hi Carl,
> Le Fri, 17 Feb 2017 02:06:16 -0600
> Carl Karsten <carl at nextdayvideo.com> a écrit:
> > juser at dc10b:~$ host dc10b
> > dc10b has address 127.0.1.1
> > It should be 10.20.1.3
> > How do I make that happen?
> Hmm... Can you elaborate on the context of your problem? This does not
> happen to me -- my machine even has an entry in its own /etc/hosts with
> its name tied to 127.0.0.1 but a host or dig will return its LAN
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dnsmasq-discuss