[Dnsmasq-discuss] Decouple DHCP and DNS
Simon Kelley
simon at thekelleys.org.uk
Thu May 24 16:48:33 BST 2007
Daniel Mentz wrote:
> I'm using dnsmasq as a DNS and DHCP server.
>
> As described in the manual page, dnsmasq is answering DNS queries for
> hosts it granted DHCP leases to.
>
> Let me give you an example to clarify this:
>
> My host daniel-desktop is assigned ip address 192.168.10.5 from dnsmasq
> via DHCP. From now on, DNS queries for host "daniel-desktop" will be
> answered with 192.168.10.5 by dnsmasq. My question is: How can I disable
> this behavior. I do not want dnsmasq to inject anything into the DNS
> namespace because I'm running an instance of BIND to serve the names of
> my local network.
>
> In other words: How can I configure dnsmasq to NOT reply with
> information from the DHCP leases file.
First, don't provide any name information in dhcp-host lines,
/etc/ethers or /etc/hosts.
Second, add
dhcp-ignore-names
to /etc/dnsmasq.conf, which will stop dnsmasq from using any name
information provided by the DHCP clients themselves.
HTH
Simon.
>
> Thanks
> Daniel
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
More information about the Dnsmasq-discuss
mailing list