ns_server Struct Reference

Name server state. Better here than in lots of separate global variables. More...

#include <server.h>


Data Fields

unsigned int magic
isc_mem_tmctx
isc_task_ttask
isc_quota_t xfroutquota
isc_quota_t tcpquota
isc_quota_t recursionquota
dns_acl_tblackholeacl
dns_acl_tkeepresporder
char * statsfile
 Statistics file name.
char * dumpfile
 Dump file name.
char * secrootsfile
 Secroots file name.
char * bindkeysfile
 bind.keys file name
char * recfile
 Recursive file name.
isc_boolean_t version_set
 User has set version.
char * version
 User-specified version.
isc_boolean_t hostname_set
 User has set hostname.
char * hostname
 User-specified hostname.
isc_boolean_t server_usehostname
 Use hostname for server id.
char * server_id
 User-specified server id.
dns_aclenv_t aclenv
 Current ACL environment. This defines the current values of the localhost and localnets ACLs.
dns_loadmgr_tloadmgr
dns_zonemgr_tzonemgr
dns_viewlist_t viewlist
ns_interfacemgr_tinterfacemgr
dns_db_tin_roothints
dns_tkeyctx_ttkeyctx
isc_timer_tinterface_timer
isc_timer_theartbeat_timer
isc_timer_tpps_timer
isc_uint32_t interface_interval
isc_uint32_t heartbeat_interval
isc_mutex_t reload_event_lock
isc_event_treload_event
isc_boolean_t flushonshutdown
isc_boolean_t log_queries
 For BIND 8 compatibility.
ns_cachelist_t cachelist
 Possibly shared caches.
isc_stats_tnsstats
 Server stats.
dns_stats_trcvquerystats
dns_stats_topcodestats
 Incoming query stats.
isc_stats_tzonestats
isc_stats_tresolverstats
 Zone management stats.
isc_stats_tsockstats
 Resolver stats.
ns_controls_tcontrols
 Control channels.
unsigned int dispatchgen
ns_dispatchlist_t dispatches
dns_acache_tacache
ns_statschannellist_t statschannels
dns_tsigkey_tsessionkey
char * session_keyfile
dns_name_tsession_keyname
unsigned int session_keyalg
isc_uint16_t session_keybits
isc_boolean_t interface_auto
unsigned char secret [32]
 Source Identity Token.
char * lockfile


Detailed Description

Name server state. Better here than in lots of separate global variables.

Definition at line 44 of file server.h.


Field Documentation

unsigned int ns_server::magic

Definition at line 45 of file server.h.

Referenced by ns_server_create(), and ns_server_destroy().

isc_mem_t* ns_server::mctx

Definition at line 46 of file server.h.

Referenced by add_listener(), check_lockfile(), do_addzone(), do_modzone(), end_reserved_dispatches(), load_configuration(), load_zones(), ns_add_reserved_dispatch(), ns_controls_create(), ns_controls_destroy(), ns_server_create(), ns_server_destroy(), ns_server_dumpdb(), setstring(), shutdown_server(), and view_loaded().

isc_task_t* ns_server::task

Definition at line 48 of file server.h.

Referenced by add_listener(), do_addzone(), do_modzone(), interface_timer_tick(), load_configuration(), load_new_zones(), load_zones(), ns_server_create(), ns_server_delzone(), ns_server_dumpdb(), ns_server_flushcache(), ns_server_flushnode(), ns_server_freeze(), ns_server_nta(), ns_server_reload(), ns_server_reloadwanted(), ns_server_scan_interfaces(), ns_server_showzone(), ns_server_sync(), ns_server_tsigdelete(), ns_server_tsiglist(), ns_server_validation(), run_server(), and shutdown_server().

isc_quota_t ns_server::xfroutquota

Definition at line 51 of file server.h.

Referenced by load_configuration(), ns_server_create(), and ns_server_destroy().

isc_quota_t ns_server::tcpquota

Definition at line 52 of file server.h.

Referenced by load_configuration(), ns_server_create(), ns_server_destroy(), and ns_server_status().

isc_quota_t ns_server::recursionquota

Definition at line 53 of file server.h.

Referenced by load_configuration(), ns_server_create(), ns_server_destroy(), and ns_server_status().

dns_acl_t* ns_server::blackholeacl

Definition at line 54 of file server.h.

Referenced by load_configuration(), ns_server_create(), and shutdown_server().

dns_acl_t* ns_server::keepresporder

Definition at line 55 of file server.h.

Referenced by load_configuration(), ns_server_create(), and shutdown_server().

char* ns_server::statsfile

Statistics file name.

Definition at line 56 of file server.h.

Referenced by load_configuration(), ns_server_create(), ns_server_destroy(), and ns_server_dumpstats().

char* ns_server::dumpfile

Dump file name.

Definition at line 57 of file server.h.

Referenced by load_configuration(), ns_server_create(), ns_server_destroy(), and ns_server_dumpdb().

char* ns_server::secrootsfile

Secroots file name.

Definition at line 58 of file server.h.

Referenced by load_configuration(), ns_server_create(), ns_server_destroy(), and ns_server_dumpsecroots().

char* ns_server::bindkeysfile

bind.keys file name

Definition at line 59 of file server.h.

Referenced by load_configuration(), ns_server_create(), and ns_server_destroy().

char* ns_server::recfile

Recursive file name.

Definition at line 60 of file server.h.

Referenced by load_configuration(), ns_server_create(), ns_server_destroy(), and ns_server_dumprecursing().

isc_boolean_t ns_server::version_set

User has set version.

Definition at line 61 of file server.h.

Referenced by load_configuration(), and ns_server_create().

char* ns_server::version

User-specified version.

Definition at line 62 of file server.h.

Referenced by load_configuration(), ns_server_create(), and ns_server_destroy().

isc_boolean_t ns_server::hostname_set

User has set hostname.

Definition at line 63 of file server.h.

Referenced by load_configuration(), and ns_server_create().

char* ns_server::hostname

User-specified hostname.

Definition at line 64 of file server.h.

Referenced by load_configuration(), ns_server_create(), and ns_server_destroy().

isc_boolean_t ns_server::server_usehostname

Use hostname for server id.

Definition at line 66 of file server.h.

Referenced by load_configuration(), and ns_server_create().

char* ns_server::server_id

User-specified server id.

Definition at line 67 of file server.h.

Referenced by load_configuration(), ns_server_create(), and ns_server_destroy().

dns_aclenv_t ns_server::aclenv

Current ACL environment. This defines the current values of the localhost and localnets ACLs.

Definition at line 74 of file server.h.

Referenced by load_configuration(), ns_server_create(), ns_server_destroy(), and scan_interfaces().

dns_loadmgr_t* ns_server::loadmgr

Definition at line 77 of file server.h.

dns_zonemgr_t* ns_server::zonemgr

Definition at line 78 of file server.h.

Referenced by adjust_interfaces(), load_configuration(), load_new_zones(), ns_server_create(), ns_server_destroy(), ns_server_status(), ns_stats_dump(), shutdown_server(), and view_loaded().

dns_viewlist_t ns_server::viewlist

Definition at line 79 of file server.h.

Referenced by adjust_interfaces(), heartbeat_timer_tick(), load_configuration(), load_new_zones(), load_zones(), newzone_parse(), ns_server_create(), ns_server_destroy(), ns_server_dumpdb(), ns_server_dumpsecroots(), ns_server_flushcache(), ns_server_flushnode(), ns_server_freeze(), ns_server_loadnta(), ns_server_mkeys(), ns_server_nta(), ns_server_saventa(), ns_server_sync(), ns_server_tsigdelete(), ns_server_tsiglist(), ns_server_validation(), ns_stats_dump(), shutdown_server(), and zone_from_args().

ns_interfacemgr_t* ns_server::interfacemgr

Definition at line 80 of file server.h.

Referenced by adjust_interfaces(), load_configuration(), ns_server_create(), ns_server_dumprecursing(), run_server(), scan_interfaces(), and shutdown_server().

dns_db_t* ns_server::in_roothints

Definition at line 81 of file server.h.

Referenced by ns_server_create(), and shutdown_server().

dns_tkeyctx_t* ns_server::tkeyctx

Definition at line 82 of file server.h.

Referenced by load_configuration(), ns_server_create(), and ns_server_destroy().

isc_timer_t* ns_server::interface_timer

Definition at line 84 of file server.h.

Referenced by load_configuration(), ns_server_create(), run_server(), and shutdown_server().

isc_timer_t* ns_server::heartbeat_timer

Definition at line 85 of file server.h.

Referenced by load_configuration(), ns_server_create(), run_server(), and shutdown_server().

isc_timer_t* ns_server::pps_timer

Definition at line 86 of file server.h.

Referenced by load_configuration(), ns_server_create(), run_server(), and shutdown_server().

isc_uint32_t ns_server::interface_interval

Definition at line 88 of file server.h.

Referenced by load_configuration(), and ns_server_create().

isc_uint32_t ns_server::heartbeat_interval

Definition at line 89 of file server.h.

Referenced by load_configuration(), and ns_server_create().

isc_mutex_t ns_server::reload_event_lock

Definition at line 91 of file server.h.

Referenced by ns_server_create(), ns_server_reload(), and ns_server_reloadwanted().

isc_event_t* ns_server::reload_event

Definition at line 92 of file server.h.

Referenced by ns_server_create(), ns_server_destroy(), ns_server_reload(), and ns_server_reloadwanted().

isc_boolean_t ns_server::flushonshutdown

Definition at line 94 of file server.h.

Referenced by load_configuration(), ns_server_create(), ns_server_flushonshutdown(), and shutdown_server().

isc_boolean_t ns_server::log_queries

For BIND 8 compatibility.

Definition at line 95 of file server.h.

Referenced by load_configuration(), ns_server_create(), ns_server_status(), and ns_server_togglequerylog().

ns_cachelist_t ns_server::cachelist

Possibly shared caches.

Definition at line 97 of file server.h.

Referenced by load_configuration(), ns_server_create(), ns_server_destroy(), ns_server_flushcache(), and shutdown_server().

isc_stats_t* ns_server::nsstats

Server stats.

Definition at line 98 of file server.h.

Referenced by ns_server_create(), ns_server_destroy(), and ns_stats_dump().

dns_stats_t* ns_server::rcvquerystats

Definition at line 99 of file server.h.

Referenced by ns_server_create(), ns_server_destroy(), and ns_stats_dump().

dns_stats_t* ns_server::opcodestats

Incoming query stats.

Incoming message stats

Definition at line 100 of file server.h.

Referenced by ns_server_create(), ns_server_destroy(), and ns_stats_dump().

isc_stats_t* ns_server::zonestats

Definition at line 101 of file server.h.

Referenced by ns_server_create(), ns_server_destroy(), and ns_stats_dump().

isc_stats_t* ns_server::resolverstats

Zone management stats.

Definition at line 102 of file server.h.

Referenced by ns_server_create(), ns_server_destroy(), ns_stats_dump(), and run_server().

isc_stats_t* ns_server::sockstats

Resolver stats.

Socket stats

Definition at line 103 of file server.h.

Referenced by ns_server_create(), ns_server_destroy(), and ns_stats_dump().

ns_controls_t* ns_server::controls

Control channels.

Definition at line 105 of file server.h.

Referenced by ns_server_create(), ns_server_destroy(), and shutdown_server().

unsigned int ns_server::dispatchgen

Definition at line 106 of file server.h.

Referenced by end_reserved_dispatches(), ns_add_reserved_dispatch(), ns_server_create(), and start_reserved_dispatches().

ns_dispatchlist_t ns_server::dispatches

Definition at line 107 of file server.h.

Referenced by end_reserved_dispatches(), ns_add_reserved_dispatch(), and ns_server_create().

dns_acache_t* ns_server::acache

Definition at line 109 of file server.h.

ns_statschannellist_t ns_server::statschannels

Definition at line 111 of file server.h.

Referenced by ns_server_create(), ns_statschannels_configure(), ns_statschannels_shutdown(), and update_listener().

dns_tsigkey_t* ns_server::sessionkey

Definition at line 113 of file server.h.

Referenced by cleanup_session_key(), configure_session_key(), and ns_server_create().

char* ns_server::session_keyfile

Definition at line 114 of file server.h.

Referenced by cleanup_session_key(), configure_session_key(), and ns_server_create().

dns_name_t* ns_server::session_keyname

Definition at line 115 of file server.h.

Referenced by cleanup_session_key(), configure_session_key(), and ns_server_create().

unsigned int ns_server::session_keyalg

Definition at line 116 of file server.h.

Referenced by cleanup_session_key(), configure_session_key(), and ns_server_create().

isc_uint16_t ns_server::session_keybits

Definition at line 117 of file server.h.

Referenced by cleanup_session_key(), configure_session_key(), and ns_server_create().

isc_boolean_t ns_server::interface_auto

Definition at line 118 of file server.h.

Referenced by load_configuration().

unsigned char ns_server::secret[32]

Source Identity Token.

Definition at line 119 of file server.h.

Referenced by load_configuration().

char* ns_server::lockfile

Definition at line 121 of file server.h.

Referenced by check_lockfile(), ns_server_create(), and ns_server_destroy().


The documentation for this struct was generated from the following file:
Generated on Tue Apr 28 17:41:21 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha