summaryrefslogtreecommitdiffstats
path: root/src/providers/dp_dyndns.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2014-07-06 22:53:27 +0200
committerJakub Hrozek <jhrozek@redhat.com>2015-08-14 23:51:02 +0200
commit8145ab51b05aa86b2f1a21b49383f55e50b0a2e3 (patch)
tree6889f7d6cb72299d7d778ddbb3c9157e230e1a09 /src/providers/dp_dyndns.c
parentdb5f9ab3feb85aa444eab20428ca2b98801b6783 (diff)
downloadsssd-8145ab51b05aa86b2f1a21b49383f55e50b0a2e3.tar.gz
sssd-8145ab51b05aa86b2f1a21b49383f55e50b0a2e3.tar.xz
sssd-8145ab51b05aa86b2f1a21b49383f55e50b0a2e3.zip
DYNDNS: Add a new option dyndns_server
Some environments use a different DNS server than identity server. For these environments, it would be useful to be able to override the DNS server used to perform DNS updates. This patch adds a new option dyndns_server that, if set, would be used to hardcode a DNS server address into the nsupdate message. Reviewed-by: Pavel Reichl <preichl@redhat.com>
Diffstat (limited to 'src/providers/dp_dyndns.c')
-rw-r--r--src/providers/dp_dyndns.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/dp_dyndns.c b/src/providers/dp_dyndns.c
index c254d7893..9a726bd43 100644
--- a/src/providers/dp_dyndns.c
+++ b/src/providers/dp_dyndns.c
@@ -1180,6 +1180,7 @@ static struct dp_option default_dyndns_opts[] = {
{ "dyndns_update_ptr", DP_OPT_BOOL, BOOL_TRUE, BOOL_FALSE },
{ "dyndns_force_tcp", DP_OPT_BOOL, BOOL_FALSE, BOOL_FALSE },
{ "dyndns_auth", DP_OPT_STRING, { "gss-tsig" }, NULL_STRING },
+ { "dyndns_server", DP_OPT_STRING, NULL_STRING, NULL_STRING },
DP_OPTION_TERMINATOR
};