{"id":2419,"date":"2011-11-29T14:14:49","date_gmt":"2011-11-29T14:14:49","guid":{"rendered":"https:\/\/supportex.net\/?p=2419"},"modified":"2019-05-10T17:26:11","modified_gmt":"2019-05-10T15:26:11","slug":"bind-statistics-information","status":"publish","type":"post","link":"https:\/\/supportex.net\/blog\/2011\/11\/bind-statistics-information\/","title":{"rendered":"Bind: how to get statistics information"},"content":{"rendered":"<p>To get statistics information about query numbers that Bind has served you need to add next line to configuration file:<\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">statistics-file \"\/var\/stats\/named.stats\";<\/code><\/p>\n<p>It <a href=\"http:\/\/www.zytrax.com\/books\/dns\/ch7\/statistics.html#statistics-file\">should be added<\/a> in a &#8216;global&#8217; options statement. After that you need to restart Bind and run:<\/p>\n<p data-enlighter-language=\"shell\"><code class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">rndc stats<\/code><\/p>\n<p>Bind will dump statistics to this file. Note that if you run Bind chrooted it will be in a chroot filesystem.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">[root@playground ~]# cat \/var\/named\/var\/stats\/named.stats\n\n+++ Statistics Dump +++ (1322570392)\nsuccess 4826691\nreferral 14062\nnxrrset 1213695\nnxdomain 68008\nrecursion 544168\nfailure 25343\n[root@playground ~]#<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>To get statistics information about query numbers that Bind has served you need to add next line to configuration file: statistics-file &#8220;\/var\/stats\/named.stats&#8221;; It should be added in a &#8216;global&#8217; options statement. After that you need to restart Bind and run: rndc stats Bind will dump statistics to this file. Note that if you run Bind&hellip; <\/p>\n<div class=\"readmore-wrapper\"><a href=\"https:\/\/supportex.net\/blog\/2011\/11\/bind-statistics-information\/\" class=\"more-link\">Read <\/a><\/div>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[152],"tags":[253,252,275,254],"class_list":["post-2419","post","type-post","status-publish","format-standard","hentry","category-linux","tag-bind-en","tag-dns","tag-linux","tag-named-en"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Bind: how to get statistics information &#8211; Supportex.NET blog<\/title>\n<meta name=\"description\" content=\"Now to get statistics information from bind. Bind statistics information\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/supportex.net\/blog\/2011\/11\/bind-statistics-information\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bind: how to get statistics information &#8211; Supportex.NET blog\" \/>\n<meta property=\"og:description\" content=\"Now to get statistics information from bind. Bind statistics information\" \/>\n<meta property=\"og:url\" content=\"https:\/\/supportex.net\/blog\/2011\/11\/bind-statistics-information\/\" \/>\n<meta property=\"og:site_name\" content=\"Supportex.NET blog\" \/>\n<meta property=\"article:published_time\" content=\"2011-11-29T14:14:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-05-10T15:26:11+00:00\" \/>\n<meta name=\"author\" content=\"Oleksii Tykhonov\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Oleksii Tykhonov\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/supportex.net\/blog\/2011\/11\/bind-statistics-information\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/supportex.net\/blog\/2011\/11\/bind-statistics-information\/\"},\"author\":{\"name\":\"Oleksii Tykhonov\",\"@id\":\"https:\/\/supportex.net\/blog\/en\/#\/schema\/person\/0690c26a0266603129fc15eae6243251\"},\"headline\":\"Bind: how to get statistics information\",\"datePublished\":\"2011-11-29T14:14:49+00:00\",\"dateModified\":\"2019-05-10T15:26:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/supportex.net\/blog\/2011\/11\/bind-statistics-information\/\"},\"wordCount\":65,\"keywords\":[\"bind\",\"DNS\",\"linux\",\"named\"],\"articleSection\":[\"linux\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/supportex.net\/blog\/2011\/11\/bind-statistics-information\/\",\"url\":\"https:\/\/supportex.net\/blog\/2011\/11\/bind-statistics-information\/\",\"name\":\"Bind: how to get statistics information &#8211; Supportex.NET blog\",\"isPartOf\":{\"@id\":\"https:\/\/supportex.net\/blog\/en\/#website\"},\"datePublished\":\"2011-11-29T14:14:49+00:00\",\"dateModified\":\"2019-05-10T15:26:11+00:00\",\"author\":{\"@id\":\"https:\/\/supportex.net\/blog\/en\/#\/schema\/person\/0690c26a0266603129fc15eae6243251\"},\"description\":\"Now to get statistics information from bind. Bind statistics information\",\"breadcrumb\":{\"@id\":\"https:\/\/supportex.net\/blog\/2011\/11\/bind-statistics-information\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/supportex.net\/blog\/2011\/11\/bind-statistics-information\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/supportex.net\/blog\/2011\/11\/bind-statistics-information\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/supportex.net\/blog\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Bind: how to get statistics information\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/supportex.net\/blog\/en\/#website\",\"url\":\"https:\/\/supportex.net\/blog\/en\/\",\"name\":\"Supportex.NET blog\",\"description\":\"Server and network management company\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/supportex.net\/blog\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/supportex.net\/blog\/en\/#\/schema\/person\/0690c26a0266603129fc15eae6243251\",\"name\":\"Oleksii Tykhonov\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/supportex.net\/blog\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4fd5f58002717075c88963469b9babef?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4fd5f58002717075c88963469b9babef?s=96&d=mm&r=g\",\"caption\":\"Oleksii Tykhonov\"},\"url\":\"https:\/\/supportex.net\/blog\/author\/oleksiitykhonov\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Bind: how to get statistics information &#8211; Supportex.NET blog","description":"Now to get statistics information from bind. Bind statistics information","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/supportex.net\/blog\/2011\/11\/bind-statistics-information\/","og_locale":"en_US","og_type":"article","og_title":"Bind: how to get statistics information &#8211; Supportex.NET blog","og_description":"Now to get statistics information from bind. Bind statistics information","og_url":"https:\/\/supportex.net\/blog\/2011\/11\/bind-statistics-information\/","og_site_name":"Supportex.NET blog","article_published_time":"2011-11-29T14:14:49+00:00","article_modified_time":"2019-05-10T15:26:11+00:00","author":"Oleksii Tykhonov","twitter_misc":{"Written by":"Oleksii Tykhonov"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/supportex.net\/blog\/2011\/11\/bind-statistics-information\/#article","isPartOf":{"@id":"https:\/\/supportex.net\/blog\/2011\/11\/bind-statistics-information\/"},"author":{"name":"Oleksii Tykhonov","@id":"https:\/\/supportex.net\/blog\/en\/#\/schema\/person\/0690c26a0266603129fc15eae6243251"},"headline":"Bind: how to get statistics information","datePublished":"2011-11-29T14:14:49+00:00","dateModified":"2019-05-10T15:26:11+00:00","mainEntityOfPage":{"@id":"https:\/\/supportex.net\/blog\/2011\/11\/bind-statistics-information\/"},"wordCount":65,"keywords":["bind","DNS","linux","named"],"articleSection":["linux"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/supportex.net\/blog\/2011\/11\/bind-statistics-information\/","url":"https:\/\/supportex.net\/blog\/2011\/11\/bind-statistics-information\/","name":"Bind: how to get statistics information &#8211; Supportex.NET blog","isPartOf":{"@id":"https:\/\/supportex.net\/blog\/en\/#website"},"datePublished":"2011-11-29T14:14:49+00:00","dateModified":"2019-05-10T15:26:11+00:00","author":{"@id":"https:\/\/supportex.net\/blog\/en\/#\/schema\/person\/0690c26a0266603129fc15eae6243251"},"description":"Now to get statistics information from bind. Bind statistics information","breadcrumb":{"@id":"https:\/\/supportex.net\/blog\/2011\/11\/bind-statistics-information\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/supportex.net\/blog\/2011\/11\/bind-statistics-information\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/supportex.net\/blog\/2011\/11\/bind-statistics-information\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/supportex.net\/blog\/en\/"},{"@type":"ListItem","position":2,"name":"Bind: how to get statistics information"}]},{"@type":"WebSite","@id":"https:\/\/supportex.net\/blog\/en\/#website","url":"https:\/\/supportex.net\/blog\/en\/","name":"Supportex.NET blog","description":"Server and network management company","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/supportex.net\/blog\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/supportex.net\/blog\/en\/#\/schema\/person\/0690c26a0266603129fc15eae6243251","name":"Oleksii Tykhonov","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/supportex.net\/blog\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4fd5f58002717075c88963469b9babef?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4fd5f58002717075c88963469b9babef?s=96&d=mm&r=g","caption":"Oleksii Tykhonov"},"url":"https:\/\/supportex.net\/blog\/author\/oleksiitykhonov\/"}]}},"_links":{"self":[{"href":"https:\/\/supportex.net\/blog\/wp-json\/wp\/v2\/posts\/2419","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/supportex.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/supportex.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/supportex.net\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/supportex.net\/blog\/wp-json\/wp\/v2\/comments?post=2419"}],"version-history":[{"count":3,"href":"https:\/\/supportex.net\/blog\/wp-json\/wp\/v2\/posts\/2419\/revisions"}],"predecessor-version":[{"id":3164,"href":"https:\/\/supportex.net\/blog\/wp-json\/wp\/v2\/posts\/2419\/revisions\/3164"}],"wp:attachment":[{"href":"https:\/\/supportex.net\/blog\/wp-json\/wp\/v2\/media?parent=2419"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/supportex.net\/blog\/wp-json\/wp\/v2\/categories?post=2419"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/supportex.net\/blog\/wp-json\/wp\/v2\/tags?post=2419"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}