#include <isc/lang.h>
#include <dns/types.h>
Go to the source code of this file.
Defines | |
#define | DNS_ROOTNS_H 1 |
Functions | |
ISC_LANG_BEGINDECLS isc_result_t | dns_rootns_create (isc_mem_t *mctx, dns_rdataclass_t rdclass, const char *filename, dns_db_t **target) |
void | dns_root_checkhints (dns_view_t *view, dns_db_t *hints, dns_db_t *db) |
Definition in file rootns.h.
ISC_LANG_BEGINDECLS isc_result_t dns_rootns_create | ( | isc_mem_t * | mctx, | |
dns_rdataclass_t | rdclass, | |||
const char * | filename, | |||
dns_db_t ** | target | |||
) |
Definition at line 200 of file rootns.c.
References callbacks, check_hints(), dns_db_beginload(), dns_db_create(), dns_db_detach(), dns_db_endload(), dns_dbtype_zone, dns_lctx, DNS_LOGCATEGORY_GENERAL, DNS_LOGMODULE_HINTS, DNS_MASTER_HINT, dns_master_loadbuffer(), dns_master_loadfile(), DNS_R_SEENINCLUDE, dns_rdatacallbacks_init(), dns_rootname, isc_buffer_add, isc_buffer_init, ISC_LOG_ERROR, ISC_LOG_WARNING, isc_log_write(), ISC_R_NOTFOUND, ISC_R_SUCCESS, isc_result_totext(), dns_db::mctx, dns_db::origin, dns_db::rdclass, REQUIRE, and root_ns.
Referenced by configure_hint(), configure_hints(), and ns_server_create().
void dns_root_checkhints | ( | dns_view_t * | view, | |
dns_db_t * | hints, | |||
dns_db_t * | db | |||
) |
Definition at line 427 of file rootns.c.
References check_address_records(), cleanup(), dns_db_find(), dns_fixedname_init, dns_fixedname_name, dns_lctx, DNS_LOGCATEGORY_GENERAL, DNS_LOGMODULE_HINTS, dns_name_format(), DNS_NAME_FORMATSIZE, DNS_RDATA_INIT, dns_rdata_reset(), dns_rdata_tostruct(), dns_rdataset_current(), dns_rdataset_disassociate(), dns_rdataset_first(), dns_rdataset_init(), dns_rdataset_isassociated(), dns_rdataset_next(), dns_result_totext(), dns_rootname, fixed, in_rootns(), ISC_LOG_WARNING, isc_log_write(), ISC_R_NOMORE, ISC_R_SUCCESS, isc_stdtime_get(), dns_view::name, name, namebuf, now, REQUIRE, and RUNTIME_CHECK.
Referenced by prime_done().