From: Daniel Salzman Date: Wed, 30 Jan 2019 13:53:59 +0000 (+0100) Subject: ddns: add DNAME type to the replace check X-Git-Tag: v2.8.0~80 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4d92cdd20079fd4f42e965cb57a0d808199ce8a;p=thirdparty%2Fknot-dns.git ddns: add DNAME type to the replace check --- diff --git a/src/knot/updates/ddns.c b/src/knot/updates/ddns.c index cac4c42d39..ad87427427 100644 --- a/src/knot/updates/ddns.c +++ b/src/knot/updates/ddns.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2018 CZ.NIC, z.s.p.o. +/* Copyright (C) 2019 CZ.NIC, z.s.p.o. 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 @@ -272,6 +272,7 @@ static inline bool is_node_removal(const knot_rrset_t *rr) static bool should_replace(const knot_rrset_t *rrset) { return rrset->type == KNOT_RRTYPE_CNAME || + rrset->type == KNOT_RRTYPE_DNAME || rrset->type == KNOT_RRTYPE_NSEC3PARAM; }