#include <isc/lang.h>
#include <isc/types.h>
#include <dns/types.h>
#include <dns/db.h>
Go to the source code of this file.
Functions | |
ISC_LANG_BEGINDECLS isc_result_t | dns_private_chains (dns_db_t *db, dns_dbversion_t *ver, dns_rdatatype_t privatetype, isc_boolean_t *build_nsec, isc_boolean_t *build_nsec3) |
Examine the NSEC, NSEC3PARAM and privatetype RRsets at the apex of the database to determine which of NSEC or NSEC3 chains we are currently maintaining. In normal operations only one of NSEC or NSEC3 is being maintained but when we are transitiong between NSEC and NSEC3 we need to update both sets of chains. If 'privatetype' is zero then the privatetype RRset will not be examined. | |
isc_result_t | dns_private_totext (dns_rdata_t *privaterdata, isc_buffer_t *buffer) |
Convert a private-type RR 'privaterdata' to human-readable form, and place the result in 'buffer'. The text should indicate which action the private-type record specifies and whether the action has been completed. |
ISC_LANG_BEGINDECLS isc_result_t dns_private_chains | ( | dns_db_t * | db, | |
dns_dbversion_t * | ver, | |||
dns_rdatatype_t | privatetype, | |||
isc_boolean_t * | build_nsec, | |||
isc_boolean_t * | build_nsec3 | |||
) |
Examine the NSEC, NSEC3PARAM and privatetype RRsets at the apex of the database to determine which of NSEC or NSEC3 chains we are currently maintaining. In normal operations only one of NSEC or NSEC3 is being maintained but when we are transitiong between NSEC and NSEC3 we need to update both sets of chains. If 'privatetype' is zero then the privatetype RRset will not be examined.
Requires:
Definition at line 104 of file private.c.
References CHECK, CREATE, dns_rdata::data, dns_db_detachnode(), dns_db_findrdataset(), dns_db_getoriginnode(), DNS_NSEC3PARAM_BUFFERSIZE, dns_nsec3param_fromprivate(), DNS_RDATA_INIT, dns_rdataset_current(), dns_rdataset_disassociate(), dns_rdataset_first(), dns_rdataset_init(), dns_rdataset_isassociated(), dns_rdataset_next(), ignore(), ISC_FALSE, ISC_R_NOTFOUND, ISC_R_SUCCESS, ISC_TRUE, and REMOVE.
Referenced by dns_update_signaturesinc(), isdnssec(), and zone_sign().
isc_result_t dns_private_totext | ( | dns_rdata_t * | privaterdata, | |
isc_buffer_t * | buffer | |||
) |
Convert a private-type RR 'privaterdata' to human-readable form, and place the result in 'buffer'. The text should indicate which action the private-type record specifies and whether the action has been completed.
Requires:
Definition at line 298 of file private.c.
References CHECK, DNS_NSEC3PARAM_BUFFERSIZE, dns_nsec3param_fromprivate(), dns_rdata_fromstruct(), DNS_RDATA_INIT, dns_rdata_reset(), dns_rdata_tostruct(), dns_rdata_totext(), dns_secalg_format(), DNS_SECALG_FORMATSIZE, isc_buffer_init, isc_buffer_putstr, isc_buffer_putuint8, ISC_R_FAILURE, ISC_R_NOTFOUND, ISC_R_SUCCESS, and ISC_TF.
Referenced by ATF_TC_BODY(), and ns_server_signing().