<div dir="ltr"><div>dc10b is the dnsmasq server<br><br>I am using a modified version of this:<br><a href="https://anonscm.debian.org/git/debconf-video/ansible.git/tree/roles/dhcp-server">https://anonscm.debian.org/git/debconf-video/ansible.git/tree/roles/dhcp-server</a><br><br></div><div>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.  <br><br>juser@dc10b:~$ cat /etc/dnsmasq.d/local.conf <br>## Ansible managed<br><br>interface=eth-local<br>domain=lca2017.lan<br>dhcp-range=10.20.1.10,10.20.1.254,6h<br>dhcp-option-force=210,/srv/tftp/<br>dhcp-boot=pxelinux.0<br>dhcp-authoritative<br>enable-tftp<br>tftp-root=/srv/tftp<br><br><br></div>Hmm, on an openwtt ap running dnsmasq:<br><div><br>root@tpap:~# cat /etc/resolv.conf <br>search lan<br>nameserver 127.0.0.1<br><br>root@tpap:~# cat /etc/hosts<br>127.0.0.1 localhost<br><br>root@tpap:~# nslookup tpap<br>Server:    127.0.0.1<br>Address 1: 127.0.0.1 localhost<br>Name:      tpap<br>Address 1: 192.168.1.2 tpap.lan<br><br><br><br><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 18, 2017 at 6:15 AM, Albert ARIBAUD <span dir="ltr"><<a href="mailto:albert.aribaud@free.fr" target="_blank">albert.aribaud@free.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Carl,<br>
<br>
Le Fri, 17 Feb 2017 02:06:16 -0600<br>
Carl Karsten <<a href="mailto:carl@nextdayvideo.com">carl@nextdayvideo.com</a>> a écrit:<br>
<div><div class="h5"><br>
> juser@dc10b:~$ host dc10b<br>
> dc10b has address 127.0.1.1<br>
><br>
> It should be 10.20.1.3<br>
><br>
> How do I make that happen?<br>
<br>
</div></div>Hmm... Can you elaborate on the context of your problem? This does not<br>
happen to me -- my machine even has an entry in its own /etc/hosts with<br>
its name tied to 127.0.0.1 but a host or dig will return its LAN<br>
address.<br>
<br>
Amicalement,<br>
<span class="HOEnZb"><font color="#888888">--<br>
Albert.<br>
</font></span></blockquote></div><br></div>