mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 09:32:08 -04:00
Added dns_trust_ultimate for zone data (can be renamed later if necessary).
This commit is contained in:
parent
0942b8e0d6
commit
e9a9ae4fc6
4 changed files with 8 additions and 2 deletions
3
CHANGES
3
CHANGES
|
|
@ -1,4 +1,7 @@
|
|||
|
||||
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));
|
||||
|
|
|
|||
Loading…
Reference in a new issue