[Dnsmasq-discuss] DNS updates with dnsmasq in proxydhcp mode
simon at thekelleys.org.uk
Tue Nov 22 12:49:43 GMT 2011
On 22/11/11 12:07, Alkis Georgopoulos wrote:
> Normally, when one uses dnsmasq for DHCP and DNS, if a client includes a
> hostname in the DHCP request, dnsmasq creates a DNS record for that.
> We're using dnsmasq in proxyDHCP mode, and for DNS. We're using cheap
> routers as DHCP servers.
> What can we do to force dnsmasq to react when a client requests an IP?
> I can see in the logs that it sees the hostname in the request:
> Nov 22 12:58:58 alkis dnsmasq-dhcp: 2230985259 Available DHCP subnet: 10.160.31.10/255.255.255.0
> Nov 22 12:58:58 alkis dnsmasq-dhcp: 2230985259 client provides name: client01
> But dnsmasq doesn't create DNS records for that hostname when it's in
> proxyDHCP mode. And my --dhcp-script is not executed either.
> Thanks in advance for any help!
The IP address is allocated by the "real" DHCP server and dnsmasq never
gets to see that information, so it can know the name, but not the
address. Hence it can't provide a DNS record, sorry.
More information about the Dnsmasq-discuss