From 8d777d12186bb6d5dc4c39e5ccbe50a164ea547c Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sun, 15 Aug 2021 11:51:22 +0200 Subject: WIP dnsupdate --- src/odhcpd.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/odhcpd.h') diff --git a/src/odhcpd.h b/src/odhcpd.h index ff7e105..4cdf5a4 100644 --- a/src/odhcpd.h +++ b/src/odhcpd.h @@ -149,6 +149,10 @@ struct config { char *dhcp_cb; char *dhcp_statefile; int log_level; + char *nsupdate_domain; + char *nsupdate_key; + char *nsupdate_server; + char *nsupdate_zone; }; @@ -446,4 +450,9 @@ int router_setup_interface(struct interface *iface, bool enable); int dhcpv6_setup_interface(struct interface *iface, bool enable); int ndp_setup_interface(struct interface *iface, bool enable); +int dns_init(); +int dns_update_rr(const char *hostname, int family, const void *addr); +int dns_update_finish(); +int dns_reload(); + void odhcpd_reload(void); -- cgit v1.2.3