diff options
| author | Eric Luehrsen <ericluehrsen@hotmail.com> | 2016-12-29 01:29:17 -0500 |
|---|---|---|
| committer | Eric Luehrsen <ericluehrsen@hotmail.com> | 2017-01-22 20:53:04 -0500 |
| commit | c7684b9f70d2f5370daee62363dbe65bfced6b80 (patch) | |
| tree | 5ebdc12b79929a1ab43fb5cd0c1ae2ef21a43f18 /lang/python/python3 | |
| parent | ee8b15cad2f43e626df62e9d567b0ef09fa682cb (diff) | |
unbound: add odhcpd specific scripts to link DHCP-DNS
The UCI for Unbound already links to dnsmasq, but what
if with Unbound, we want to configure a plain dhcp server.
Most servers can call a script for lease events. That
script can then formulate DNS records and load them
with unbound-control (dependency).
The files added here work with OpenWRT/LEDE odhcpd, such
that it can be run alone. They can be used as examples
for any dhcp server. 'odhcpd.sh' is to be called by
odhcpd when a lease event occurs. 'odhcpd.awk' is called
internal to the shell script. The awk script handles
any tricky reformating that may be required.
/etc/config/dhcp
config odhcpd 'odhcpd'
option leasetrigger '/usr/lib/unbound/odhcpd.sh'
Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
Diffstat (limited to 'lang/python/python3')
0 files changed, 0 insertions, 0 deletions
