Hello everybody,

What is a good way to dynamically add a dhcp-host record, so a machine will get the ipaddr I assign to it?

example:
dhcp-host=52:54:00:e6:f4:8a,192.168.40.29,nginx01.example.lan,infinite

I want to automate the process and be able to integrate it with my ansible deployment systems.

Adding the line to the dnsmasq config file and reloading it will do the trick but is there a way to dynamically add it with some dnsmasq command?

Tips?

Kind regards,

Jelle de Jong

_______________________________________________
Dnsmasq-discuss mailing list
[email protected]
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to