[Dnsmasq-discuss] Always add dhcp-host to the DNS.

René van Dorst opensource at vdorst.com
Fri Oct 11 08:52:54 BST 2013


It would be useful to always add the dhcp-host name to the DNS even if the client didn't ask for a DHCP request.

The current workaround is adding a host-record or an entry in /etc/hosts.
But I prefer the one-line configuration option.
Maybe by adding an extra flag like "dns" to control the behavior.

Using dnsmasq v2.66.

Example:

### PRINTERS ###

# Printer, HP LaserJet 2100
dhcp-host=00:01:e6:22:37:4d,192.168.10.240,"PTR-LJ2100"
cname="PRINTER-LJ2100","PTR-LJ2100"

To:

# Printer, HP LaserJet 2100
dhcp-host=00:01:e6:22:37:4d,192.168.10.240,"PTR-LJ2100",dns
cname="PRINTER-LJ2100","PTR-LJ2100"

Greats,

René van Dorst
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20131011/c71fc31c/attachment.html>


More information about the Dnsmasq-discuss mailing list