dc10b is the dnsmasq server

I am using a modified version of this:
https://anonscm.debian.org/git/debconf-video/ansible.git/tree/roles/dhcp-server

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@dc10b:~$ cat /etc/dnsmasq.d/local.conf
## Ansible managed

interface=eth-local
domain=lca2017.lan
dhcp-range=10.20.1.10,10.20.1.254,6h
dhcp-option-force=210,/srv/tftp/
dhcp-boot=pxelinux.0
dhcp-authoritative
enable-tftp
tftp-root=/srv/tftp


Hmm, on an openwtt ap running dnsmasq:

root@tpap:~# cat /etc/resolv.conf
search lan
nameserver 127.0.0.1

root@tpap:~# cat /etc/hosts
127.0.0.1 localhost

root@tpap:~# nslookup tpap
Server:    127.0.0.1
Address 1: 127.0.0.1 localhost
Name:      tpap
Address 1: 192.168.1.2 tpap.lan






On Sat, Feb 18, 2017 at 6:15 AM, Albert ARIBAUD <albert.arib...@free.fr>
wrote:

> Hi Carl,
>
> Le Fri, 17 Feb 2017 02:06:16 -0600
> Carl Karsten <c...@nextdayvideo.com> a écrit:
>
> > juser@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
> address.
>
> Amicalement,
> --
> Albert.
>
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to