From 48a038d077ed2de18a5211e010c18ab680107293 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Sun, 2 May 2010 07:48:26 -0400 Subject: Add dynamic DNS updates to FreeIPA This adds two new options: ipa_dyndns_update: Boolean value to select whether this client should automatically update its IP address in FreeIPA DNS. ipa_dyndns_iface: Choose an interface manually to use for updating dynamic DNS. Default is to use the interface associated with the LDAP connection to FreeIPA. This patch supports A and AAAA records. It relies on the presence of the nsupdate tool from the bind-utils package to perform the actual update step. The location of this utility is set at build time, but its availability is determined at runtime (so clients that do not require dynamic update capability do not need to meet this dependency). --- src/external/nsupdate.m4 | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/external/nsupdate.m4 (limited to 'src/external') diff --git a/src/external/nsupdate.m4 b/src/external/nsupdate.m4 new file mode 100644 index 000000000..6e18f017b --- /dev/null +++ b/src/external/nsupdate.m4 @@ -0,0 +1,8 @@ +AC_PATH_PROG(NSUPDATE, nsupdate) +AC_MSG_CHECKING(for nsupdate) +if test -x "$NSUPDATE"; then + AC_DEFINE_UNQUOTED([NSUPDATE_PATH], ["$NSUPDATE"], [The path to nsupdate]) + AC_MSG_RESULT(yes) +else + AC_MSG_ERROR([no. nsupdate is not available]) +fi -- cgit