summaryrefslogtreecommitdiffhomepage
path: root/src/odhcpd.h
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2021-08-15 11:51:22 +0200
committerMikael Magnusson <mikma@users.sourceforge.net>2021-09-21 22:37:08 +0200
commit8d777d12186bb6d5dc4c39e5ccbe50a164ea547c (patch)
tree593cee5bd1a6cb7c485bcafab343c04e51e77563 /src/odhcpd.h
parent01b4e6046f10e21809c3f380f2d33bf3fe59698d (diff)
WIP dnsupdatednsupdate
Diffstat (limited to 'src/odhcpd.h')
-rw-r--r--src/odhcpd.h9
1 files changed, 9 insertions, 0 deletions
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);