The following section outlines DNS/DHCP Server DNS metrics that are collected and
available for export to observability platforms.
bc_dns_qtype- A counter of DNS queries of different types. The value has a label
qtypesfor each of the DNS query types, such asA,AAAA, andSOA. bc_dns_opcode- A counter of DNS opcodes of different types. The value has a label
opcodesfor each of the DNS opcode types, such asUPDATE,QUERY, andSTATUS. bc_dhcp_rcode- A counter of DNS response codes of different types. The value has a label
rcodesfor each of the response code types, such asNOERROR,FORMERROR, andSERVFAIL. bc_dns_nsstat- A counter of DNS nameserver statistics of different types. The value has a
label
nstatsfor each of the nameserver statistic types, such asRequestv4,Requestv6, andReqEdns0. bc_dns_sockstat- A counter of BIND socket statistics of different types. The value has a
label
sockstatsfor each of the socket statistic types, such asUDP4Open,UDP6Open, andFDWatchClose. bc_dns_cache- A counter of BIND cache resource record sets of different types. The value
has a label
cachefor each of the record types, such asUDP4Open,UDP6Open, andFDWatchClose. bc_dns_cachestat- A counter of BIND cache statistics. The value has a label
cachestatfor each of the cache statistic types, such asCacheBuckets,HeapMemInUse, andCacheHits. bc_dns_resolver- A counter of DNS resolver statistics. The value has a label
resolverstatfor each of the resolver statistic types, such asCookieIn,Responsev4, andQueryv4. bc_dns_memory- The amount of memory used by the DNS service. The value has a label
contextfor different memory related statistics. The memory-related statistics can be one of the following:cache_heap_inuse: The cache heap memory in use, in megabytescache_heap_malloced: The cache heap memory allocated, in megabytescache_inuse: The cache memory in use, in megabytescache_malloced: The cache memory allocated, in megabytestotal_inuse: The total memory in use, in megabytestotal_malloced: The total memory allocated, in megabytes
bc_dns_topq- The most frequently occurring FQDNs queried since the last metrics
collection interval. The values have the labels
fqdnto indicate the FQDN andtypeto indicate the resource record type. bc_dns_toptld- The most frequently occurring top level domain (TLD) queried since the last
metrics collection interval. The values have the label
tldto indicate the top level domains. bc_dns_topclient- The top 10 most frequently occurring clients querying DNS since the last
metrics collection interval. The values have the label
sourceipto indicate the source IP of the client.