On Sun, Oct 03, Alkis Georgopoulos wrote:

> Is there any way for dnsmasq to put all the dhcp-hosts into its DNS view
> even when these clients are offline?

Maybe you asking for this:

  dnsdomain=home.arpa
  hostname=esprimo
  MAC=00:a0:d1:c8:8e:cb
  ipv4=172.16.0.6
  ipv6=fd00:172:16::02a0:d1ff:fec8:8ecb

  tee -a dnsmasq.conf <<_EOF_
  host-record=${hostname}.${dnsdomain},${ipv4},${ipv6},123
  dhcp-host=${MAC},id:*,set:${hostname},${ipv4},${hostname},216000
  _EOF_

Olaf

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to