summaryrefslogtreecommitdiffstats
path: root/src/providers/dp_dyndns.c
diff options
context:
space:
mode:
authorPavel Reichl <preichl@redhat.com>2015-07-23 05:30:34 -0400
committerJakub Hrozek <jhrozek@redhat.com>2015-08-14 23:54:44 +0200
commit4f2a07c422fa357ef6651bca8c48b8005280fa1d (patch)
treed2dcb2a619c5898f70fa508df8571b7a2d6e23e6 /src/providers/dp_dyndns.c
parente4d6e9ccac14044d6bcd5a0dce7f45fdfab6bf3d (diff)
downloadsssd-4f2a07c422fa357ef6651bca8c48b8005280fa1d.tar.gz
sssd-4f2a07c422fa357ef6651bca8c48b8005280fa1d.tar.xz
sssd-4f2a07c422fa357ef6651bca8c48b8005280fa1d.zip
DYNDNS: remove zone command
Remove zone command from message to nsupsate. This command is generally used to hint nsupdate. In correctly configured environment such information should be obtained via DNS. If DNS does not provide necessary information we give other hints. For more details see: https://fedorahosted.org/sssd/wiki/DesignDocs/DDNSMessagesUpdate Resolves: https://fedorahosted.org/sssd/ticket/2495 Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/providers/dp_dyndns.c')
-rw-r--r--src/providers/dp_dyndns.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/providers/dp_dyndns.c b/src/providers/dp_dyndns.c
index 3171e6909..ae3f913ee 100644
--- a/src/providers/dp_dyndns.c
+++ b/src/providers/dp_dyndns.c
@@ -436,7 +436,7 @@ fail:
errno_t
be_nsupdate_create_fwd_msg(TALLOC_CTX *mem_ctx, const char *realm,
- const char *zone, const char *servername,
+ const char *servername,
const char *hostname, const unsigned int ttl,
uint8_t remove_af, struct sss_iface_addr *addresses,
char **_update_msg)
@@ -459,16 +459,6 @@ be_nsupdate_create_fwd_msg(TALLOC_CTX *mem_ctx, const char *realm,
goto done;
}
- if (zone) {
- DEBUG(SSSDBG_FUNC_DATA,
- "Setting the zone explicitly to [%s].\n", zone);
- update_msg = talloc_asprintf_append(update_msg, "zone %s.\n", zone);
- if (update_msg == NULL) {
- ret = ENOMEM;
- goto done;
- }
- }
-
update_msg = nsupdate_msg_add_fwd(update_msg, addresses, hostname,
ttl, remove_af);
if (update_msg == NULL) {