H A D | zone.c | 76 #include <dns/zone.h> 81 #define DNS_ZONE_VALID(zone) ISC_MAGIC_VALID(zone, ZONE_MAGIC) 268 * Zones in certain states such as "waiting for zone transfer" 269 * or "zone transfer in progress" are kept on per-state linked lists 270 * in the zone manager using the 'statelink' field. The 'statelist' 271 * field points at the list the zone is currently on. It the zone 277 * Statistics counters about zone management. 281 * Optional per-zone statistic 442 dns_zone_t *zone; member in struct:dns_notify 461 dns_zone_t *zone; member in struct:dns_stub 472 dns_zone_t *zone; member in struct:dns_load 484 dns_zone_t *zone; member in struct:dns_forward 674 inc_stats(dns_zone_t *zone, isc_statscounter_t counter) argument 686 dns_zone_t *zone; local 845 zone_free(dns_zone_t *zone) argument 950 dns_zone_setclass(dns_zone_t *zone, dns_rdataclass_t rdclass) argument 978 dns_zone_getclass(dns_zone_t *zone) argument 985 dns_zone_setnotifytype(dns_zone_t *zone, dns_notifytype_t notifytype) argument 994 dns_zone_getserial2(dns_zone_t *zone, isc_uint32_t *serialp) argument 1018 dns_zone_getserial(dns_zone_t *zone) argument 1033 dns_zone_settype(dns_zone_t *zone, dns_zonetype_t type) argument 1048 zone_freedbargs(dns_zone_t *zone) argument 1063 dns_zone_getdbtype(dns_zone_t *zone, char ***argv, isc_mem_t *mctx) argument 1096 dns_zone_setdbtype(dns_zone_t *zone, unsigned int dbargc, const char * const *dbargv) argument 1143 dns_zone_setview(dns_zone_t *zone, dns_view_t *view) argument 1167 dns_zone_getview(dns_zone_t *zone) argument 1175 dns_zone_setorigin(dns_zone_t *zone, const dns_name_t *origin) argument 1204 dns_zone_setacache(dns_zone_t *zone, dns_acache_t *acache) argument 1234 dns_zone_setstring(dns_zone_t *zone, char **field, const char *value) argument 1253 dns_zone_setfile(dns_zone_t *zone, const char *file) argument 1258 dns_zone_setfile2(dns_zone_t *zone, const char *file, dns_masterformat_t format) argument 1276 dns_zone_getfile(dns_zone_t *zone) argument 1283 default_journal(dns_zone_t *zone) argument 1308 dns_zone_setjournal(dns_zone_t *zone, const char *journal) argument 1321 dns_zone_getjournal(dns_zone_t *zone) argument 1337 zone_isdynamic(dns_zone_t *zone) argument 1349 zone_load(dns_zone_t *zone, unsigned int flags) argument 1514 dns_zone_load(dns_zone_t *zone) argument 1519 dns_zone_loadnew(dns_zone_t *zone) argument 1524 dns_zone_loadandthaw(dns_zone_t *zone) argument 1548 get_master_options(dns_zone_t *zone) argument 1611 dns_zone_t *zone = event->ev_arg; local 1648 zone_startload(dns_db_t *db, dns_zone_t *zone, isc_time_t loadtime) argument 1720 zone_check_mx(dns_zone_t *zone, dns_db_t *db, dns_name_t *name, dns_name_t *owner) argument 1808 zone_check_srv(dns_zone_t *zone, dns_db_t *db, dns_name_t *name, dns_name_t *owner) argument 1896 zone_check_glue(dns_zone_t *zone, dns_db_t *db, dns_name_t *name, dns_name_t *owner) argument 2043 integrity_checks(dns_zone_t *zone, dns_db_t *db) argument 2209 zone_check_dnskeys(dns_zone_t *zone, dns_db_t *db) argument 2273 resume_signingwithkey(dns_zone_t *zone) argument 2324 zone_addnsec3chain(dns_zone_t *zone, dns_rdata_nsec3param_t *nsec3param) argument 2396 resume_addnsec3chain(dns_zone_t *zone) argument 2445 set_resigntime(dns_zone_t *zone) argument 2482 check_nsec3param(dns_zone_t *zone, dns_db_t *db) argument 2572 zone_postload(dns_zone_t *zone, dns_db_t *db, isc_time_t loadtime, isc_result_t result) argument 2863 exit_check(dns_zone_t *zone) argument 2880 zone_check_ns(dns_zone_t *zone, dns_db_t *db, dns_name_t *name) argument 2941 zone_count_ns_rr(dns_zone_t *zone, dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, unsigned int *nscount, unsigned int *errors) argument 3071 zone_get_from_db(dns_zone_t *zone, dns_db_t *db, unsigned int *nscount, unsigned int *soacount, isc_uint32_t *serial, isc_uint32_t *refresh, isc_uint32_t *retry, isc_uint32_t *expire, isc_uint32_t *minimum, unsigned int *errors) argument 3128 dns_zone_t *zone; local 3200 dns_zone_t *zone; local 3217 dns_zone_t *zone; local 3234 dns_zone_getmctx(dns_zone_t *zone) argument 3241 dns_zone_getmgr(dns_zone_t *zone) argument 3248 dns_zone_setflag(dns_zone_t *zone, unsigned int flags, isc_boolean_t value) argument 3260 dns_zone_setoption(dns_zone_t *zone, unsigned int option, isc_boolean_t value) argument 3273 dns_zone_getoptions(dns_zone_t *zone) argument 3281 dns_zone_setxfrsource4(dns_zone_t *zone, const isc_sockaddr_t *xfrsource) argument 3292 dns_zone_getxfrsource4(dns_zone_t *zone) argument 3298 dns_zone_setxfrsource6(dns_zone_t *zone, const isc_sockaddr_t *xfrsource) argument 3309 dns_zone_getxfrsource6(dns_zone_t *zone) argument 3315 dns_zone_setaltxfrsource4(dns_zone_t *zone, const isc_sockaddr_t *altxfrsource) argument 3328 dns_zone_getaltxfrsource4(dns_zone_t *zone) argument 3334 dns_zone_setaltxfrsource6(dns_zone_t *zone, const isc_sockaddr_t *altxfrsource) argument 3347 dns_zone_getaltxfrsource6(dns_zone_t *zone) argument 3353 dns_zone_setnotifysrc4(dns_zone_t *zone, const isc_sockaddr_t *notifysrc) argument 3364 dns_zone_getnotifysrc4(dns_zone_t *zone) argument 3370 dns_zone_setnotifysrc6(dns_zone_t *zone, const isc_sockaddr_t *notifysrc) argument 3381 dns_zone_getnotifysrc6(dns_zone_t *zone) argument 3387 dns_zone_setalsonotify(dns_zone_t *zone, const isc_sockaddr_t *notify, isc_uint32_t count) argument 3417 dns_zone_setmasters(dns_zone_t *zone, const isc_sockaddr_t *masters, isc_uint32_t count) argument 3458 dns_zone_setmasterswithkeys(dns_zone_t *zone, const isc_sockaddr_t *masters, dns_name_t **keynames, isc_uint32_t count) argument 3602 dns_zone_getdb(dns_zone_t *zone, dns_db_t **dpb) argument 3622 dns_zone_maintenance(dns_zone_t *zone) argument 3636 was_dumping(dns_zone_t *zone) argument 3770 find_zone_keys(dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *ver, isc_mem_t *mctx, unsigned int maxkeys, dst_key_t **keys, unsigned int *nkeys) argument 3810 set_key_expiry_warning(dns_zone_t *zone, isc_stdtime_t when, isc_stdtime_t now) argument 3841 del_sigs(dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name, dns_rdatatype_t type, zonediff_t *zonediff, dst_key_t **keys, unsigned int nkeys, isc_stdtime_t now) argument 4023 zone_resigninc(dns_zone_t *zone) argument 4840 zone_nsec3chain(dns_zone_t *zone) argument 5647 zone_sign(dns_zone_t *zone) argument 6127 zone_maintenance(dns_zone_t *zone) argument 6244 dns_zone_markdirty(dns_zone_t *zone) argument 6254 dns_zone_expire(dns_zone_t *zone) argument 6263 zone_expire(dns_zone_t *zone) argument 6280 dns_zone_refresh(dns_zone_t *zone) argument 6342 dns_zone_flush(dns_zone_t *zone) argument 6363 dns_zone_dump(dns_zone_t *zone) argument 6378 zone_needdump(dns_zone_t *zone, unsigned int delay) argument 6411 dns_zone_t *zone = arg; local 6492 zone_dump(dns_zone_t *zone, isc_boolean_t compact) argument 6582 dumptostream(dns_zone_t *zone, FILE *fd, const dns_master_style_t *style, dns_masterformat_t format) argument 6607 dns_zone_dumptostream2(dns_zone_t *zone, FILE *fd, dns_masterformat_t format, const dns_master_style_t *style) argument 6613 dns_zone_dumptostream(dns_zone_t *zone, FILE *fd) argument 6619 dns_zone_fulldumptostream(dns_zone_t *zone, FILE *fd) argument 6625 dns_zone_unload(dns_zone_t *zone) argument 6634 notify_cancel(dns_zone_t *zone) argument 6654 forward_cancel(dns_zone_t *zone) argument 6672 zone_unload(dns_zone_t *zone) argument 6696 dns_zone_setminrefreshtime(dns_zone_t *zone, isc_uint32_t val) argument 6704 dns_zone_setmaxrefreshtime(dns_zone_t *zone, isc_uint32_t val) argument 6712 dns_zone_setminretrytime(dns_zone_t *zone, isc_uint32_t val) argument 6720 dns_zone_setmaxretrytime(dns_zone_t *zone, isc_uint32_t val) argument 6728 notify_isqueued(dns_zone_t *zone, dns_name_t *name, isc_sockaddr_t *addr) argument 6746 notify_isself(dns_zone_t *zone, isc_sockaddr_t *dst) argument 7087 dns_zone_notify(dns_zone_t *zone) argument 7101 zone_notify(dns_zone_t *zone, isc_time_t *now) argument 7381 dns_zone_t *zone = NULL; local 7641 dns_zone_t *zone; local 8015 queue_soa_query(dns_zone_t *zone) argument 8056 create_query(dns_zone_t *zone, dns_rdatatype_t rdtype, dns_message_t **messagep) argument 8176 dns_zone_t *zone = event->ev_arg; local 8355 ns_query(dns_zone_t *zone, dns_rdataset_t *soardataset, dns_stub_t *stub) argument 8571 dns_zone_t *zone = (dns_zone_t *) event->ev_arg; local 8663 dns_zone_t *zone = (dns_zone_t *)event->ev_arg; local 8676 zone_settimer(dns_zone_t *zone, isc_time_t *now) argument 8775 cancel_refresh(dns_zone_t *zone) argument 8794 notify_createmessage(dns_zone_t *zone, unsigned int flags, dns_message_t **messagep) argument 8947 dns_zone_notifyreceive(dns_zone_t *zone, isc_sockaddr_t *from, dns_message_t *msg) argument 9118 dns_zone_setnotifyacl(dns_zone_t *zone, dns_acl_t *acl) argument 9130 dns_zone_setqueryacl(dns_zone_t *zone, dns_acl_t *acl) argument 9142 dns_zone_setqueryonacl(dns_zone_t *zone, dns_acl_t *acl) argument 9154 dns_zone_setupdateacl(dns_zone_t *zone, dns_acl_t *acl) argument 9166 dns_zone_setforwardacl(dns_zone_t *zone, dns_acl_t *acl) argument 9178 dns_zone_setxfracl(dns_zone_t *zone, dns_acl_t *acl) argument 9190 dns_zone_getnotifyacl(dns_zone_t *zone) argument 9198 dns_zone_getqueryacl(dns_zone_t *zone) argument 9206 dns_zone_getqueryonacl(dns_zone_t *zone) argument 9214 dns_zone_getupdateacl(dns_zone_t *zone) argument 9222 dns_zone_getforwardacl(dns_zone_t *zone) argument 9230 dns_zone_getxfracl(dns_zone_t *zone) argument 9238 dns_zone_clearupdateacl(dns_zone_t *zone) argument 9249 dns_zone_clearforwardacl(dns_zone_t *zone) argument 9260 dns_zone_clearnotifyacl(dns_zone_t *zone) argument 9271 dns_zone_clearqueryacl(dns_zone_t *zone) argument 9282 dns_zone_clearqueryonacl(dns_zone_t *zone) argument 9293 dns_zone_clearxfracl(dns_zone_t *zone) argument 9304 dns_zone_getupdatedisabled(dns_zone_t *zone) argument 9311 dns_zone_setupdatedisabled(dns_zone_t *zone, isc_boolean_t state) argument 9317 dns_zone_getzeronosoattl(dns_zone_t *zone) argument 9324 dns_zone_setzeronosoattl(dns_zone_t *zone, isc_boolean_t state) argument 9330 dns_zone_setchecknames(dns_zone_t *zone, dns_severity_t severity) argument 9338 dns_zone_getchecknames(dns_zone_t *zone) argument 9346 dns_zone_setjournalsize(dns_zone_t *zone, isc_int32_t size) argument 9354 dns_zone_getjournalsize(dns_zone_t *zone) argument 9362 zone_namerd_tostr(dns_zone_t *zone, char *buf, size_t length) argument 9394 zone_name_tostr(dns_zone_t *zone, char *buf, size_t length) argument 9415 zone_rdclass_tostr(dns_zone_t *zone, char *buf, size_t length) argument 9431 zone_viewname_tostr(dns_zone_t *zone, char *buf, size_t length) argument 9456 dns_zone_name(dns_zone_t *zone, char *buf, size_t length) argument 9463 notify_log(dns_zone_t *zone, int level, const char *fmt, ...) argument 9478 dns_zone_logc(dns_zone_t *zone, isc_logcategory_t *category, int level, const char *fmt, ...) argument 9494 dns_zone_log(dns_zone_t *zone, int level, const char *fmt, ...) argument 9509 zone_debuglog(dns_zone_t *zone, const char *me, int debuglevel, const char *fmt, ...) argument 9551 dns_zone_setmaxxfrin(dns_zone_t *zone, isc_uint32_t maxxfrin) argument 9558 dns_zone_getmaxxfrin(dns_zone_t *zone) argument 9565 dns_zone_setmaxxfrout(dns_zone_t *zone, isc_uint32_t maxxfrout) argument 9571 dns_zone_getmaxxfrout(dns_zone_t *zone) argument 9578 dns_zone_gettype(dns_zone_t *zone) argument 9585 dns_zone_getorigin(dns_zone_t *zone) argument 9592 dns_zone_settask(dns_zone_t *zone, isc_task_t *task) argument 9607 dns_zone_gettask(dns_zone_t *zone, isc_task_t **target) argument 9613 dns_zone_setidlein(dns_zone_t *zone, isc_uint32_t idlein) argument 9622 dns_zone_getidlein(dns_zone_t *zone) argument 9629 dns_zone_setidleout(dns_zone_t *zone, isc_uint32_t idleout) argument 9636 dns_zone_getidleout(dns_zone_t *zone) argument 9702 dns_zone_replacedb(dns_zone_t *zone, dns_db_t *db, isc_boolean_t dump) argument 9715 zone_replacedb(dns_zone_t *zone, dns_db_t *db, isc_boolean_t dump) argument 9890 zone_attachdb(dns_zone_t *zone, dns_db_t *db) argument 9907 zone_detachdb(dns_zone_t *zone) argument 9916 zone_xfrdone(dns_zone_t *zone, isc_result_t result) argument 10153 dns_zone_t *zone; local 10188 dns_zone_getssutable(dns_zone_t *zone, dns_ssutable_t **table) argument 10200 dns_zone_setssutable(dns_zone_t *zone, dns_ssutable_t *table) argument 10212 dns_zone_setsigvalidityinterval(dns_zone_t *zone, isc_uint32_t interval) argument 10219 dns_zone_getsigvalidityinterval(dns_zone_t *zone) argument 10226 dns_zone_setsigresigninginterval(dns_zone_t *zone, isc_uint32_t interval) argument 10242 dns_zone_getsigresigninginterval(dns_zone_t *zone) argument 10249 queue_xfrin(dns_zone_t *zone) argument 10289 dns_zone_t *zone = event->ev_arg; local 10520 dns_zone_t *zone; local 10611 dns_zone_forwardupdate(dns_zone_t *zone, dns_message_t *msg, dns_updatecallback_t callback, void *callback_arg) argument 10661 dns_zone_next(dns_zone_t *zone, dns_zone_t **next) argument 10787 dns_zonemgr_managezone(dns_zonemgr_t *zmgr, dns_zone_t *zone) argument 10841 dns_zonemgr_releasezone(dns_zonemgr_t *zmgr, dns_zone_t *zone) argument 10937 dns_zone_t *zone; local 11047 dns_zone_t *zone; local 11095 zmgr_start_xfrin_ifquota(dns_zonemgr_t *zmgr, dns_zone_t *zone) argument 11320 zone_saveunique(dns_zone_t *zone, const char *path, const char *templat) argument 11538 dns_zone_forcereload(dns_zone_t *zone) argument 11551 dns_zone_isforced(dns_zone_t *zone) argument 11558 dns_zone_setstatistics(dns_zone_t *zone, isc_boolean_t on) argument 11568 dns_zone_getstatscounters(dns_zone_t *zone) argument 11577 dns_zone_setstats(dns_zone_t *zone, isc_stats_t *stats) argument 11588 dns_zone_setrequeststats(dns_zone_t *zone, isc_stats_t *stats) argument 11606 dns_zone_getrequeststats(dns_zone_t *zone) argument 11622 dns_zone_dialup(dns_zone_t *zone) argument 11639 dns_zone_setdialup(dns_zone_t *zone, dns_dialuptype_t dialup) argument 11675 dns_zone_setkeydirectory(dns_zone_t *zone, const char *directory) argument 11688 dns_zone_getkeydirectory(dns_zone_t *zone) argument 11696 dns_zone_t *zone; local 11742 dns_zone_checknames(dns_zone_t *zone, dns_name_t *name, dns_rdata_t *rdata) argument 11787 dns_zone_setcheckmx(dns_zone_t *zone, dns_checkmxfunc_t checkmx) argument 11793 dns_zone_setchecksrv(dns_zone_t *zone, dns_checksrvfunc_t checksrv) argument 11799 dns_zone_setcheckns(dns_zone_t *zone, dns_checknsfunc_t checkns) argument 11805 dns_zone_setisself(dns_zone_t *zone, dns_isselffunc_t isself, void *arg) argument 11815 dns_zone_setnotifydelay(dns_zone_t *zone, isc_uint32_t delay) argument 11824 dns_zone_getnotifydelay(dns_zone_t *zone) argument 11831 dns_zone_signwithkey(dns_zone_t *zone, dns_secalg_t algorithm, isc_uint16_t keyid, isc_boolean_t delete) argument 11850 dns_zone_addnsec3chain(dns_zone_t *zone, dns_rdata_nsec3param_t *nsec3param) argument 11878 dns_zone_setnodes(dns_zone_t *zone, isc_uint32_t nodes) argument 11887 dns_zone_setsignatures(dns_zone_t *zone, isc_uint32_t signatures) argument 11902 dns_zone_setprivatetype(dns_zone_t *zone, dns_rdatatype_t type) argument 11908 dns_zone_getprivatetype(dns_zone_t *zone) argument 11914 zone_signwithkey(dns_zone_t *zone, dns_secalg_t algorithm, isc_uint16_t keyid, isc_boolean_t delete) argument [all...] |