Commit e9a9ae4f authored by Brian Wellington's avatar Brian Wellington
Browse files

Added dns_trust_ultimate for zone data (can be renamed later if necessary).

parent 0942b8e0
66. [func] Data in authoritative zones should have a trust level
beyond secure.
65. [cleanup] Removed obsolete typedef of dns_zone_callbackarg_t
from <dns/types.h>.
......
......@@ -207,7 +207,8 @@ enum {
dns_trust_authauthority = 5,
dns_trust_authanswer = 6,
dns_trust_secure = 7,
dns_trust_authsecure = 8
dns_trust_authsecure = 8,
dns_trust_ultimate = 9
};
/*
......
......@@ -518,6 +518,7 @@ dns_diff_load(dns_diff_t *diff, dns_addrdatasetfunc_t addfunc,
/* Convert the rdatalist into a rdataset. */
dns_rdataset_init(&rds);
CHECK(dns_rdatalist_tordataset(&rdl, &rds));
rds.trust = dns_trust_ultimate;
INSIST(op == DNS_DIFFOP_ADD);
result = (*addfunc)(add_private, name, &rds);
......
......@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: master.c,v 1.47 2000/04/06 22:02:00 explorer Exp $ */
/* $Id: master.c,v 1.48 2000/04/20 18:47:17 bwelling Exp $ */
#include <config.h>
......@@ -1073,6 +1073,7 @@ commit(dns_rdatacallbacks_t *callbacks, rdatalist_head_t *head,
if (!ignore) {
dns_rdataset_init(&dataset);
dns_rdatalist_tordataset(this, &dataset);
dataset.trust = dns_trust_ultimate;
result = ((*callbacks->add)(callbacks->add_private,
owner,
&dataset));
......
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