Commit a4d92cdd authored by Daniel Salzman's avatar Daniel Salzman

ddns: add DNAME type to the replace check

parent ccc470ec
/* Copyright (C) 2018 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
/* Copyright (C) 2019 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment