summaryrefslogtreecommitdiffstats
path: root/src/providers/ipa/ipa_dyndns.h
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-05-02 07:48:26 -0400
committerStephen Gallagher <sgallagh@redhat.com>2010-05-07 17:14:32 -0400
commit973b7c27c0b294b8b2f120296f64c6a3a36e44b7 (patch)
tree657daeb7e60b8710f73fe6215407becc3c7f5b22 /src/providers/ipa/ipa_dyndns.h
parent66da80489c0114878043b40592c5f47d41eb0ffd (diff)
downloadsssd-973b7c27c0b294b8b2f120296f64c6a3a36e44b7.tar.gz
sssd-973b7c27c0b294b8b2f120296f64c6a3a36e44b7.tar.xz
sssd-973b7c27c0b294b8b2f120296f64c6a3a36e44b7.zip
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).
Diffstat (limited to 'src/providers/ipa/ipa_dyndns.h')
-rw-r--r--src/providers/ipa/ipa_dyndns.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/providers/ipa/ipa_dyndns.h b/src/providers/ipa/ipa_dyndns.h
new file mode 100644
index 000000000..406e8b2f0
--- /dev/null
+++ b/src/providers/ipa/ipa_dyndns.h
@@ -0,0 +1,31 @@
+/*
+ SSSD
+
+ ipa_dyndns.h
+
+ Authors:
+ Stephen Gallagher <sgallagh@redhat.com>
+
+ Copyright (C) 2010 Red Hat
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#ifndef IPA_DYNDNS_H_
+#define IPA_DYNDNS_H_
+
+void ipa_dyndns_update(void *pvt);
+
+
+#endif /* IPA_DYNDNS_H_ */