dns.rst
changeset 1874 12f24827be09
parent 1873 d64682ab74a2
child 1881 889e37c1c5b5
--- a/dns.rst	Wed Jan 13 21:24:20 2016 +0200
+++ b/dns.rst	Wed Jan 13 23:29:23 2016 +0200
@@ -106,6 +106,30 @@
   dp.gov.ua.              3600    IN      A       195.64.190.1
   adm.dp.gov.ua.          3600    IN      A       195.64.190.1
 
+Get info about NS.
+==================
+
+Version of running NS::
+
+  $ dig @4.2.2.1 version.bind chaos txt
+  $ nslookup -q=txt -class=CHAOS version.bind. 4.2.2.1
+
+Server name::
+
+  $ dig @4.2.2.1 id.server txt chaos
+  $ nslookup -q=txt -class=CHAOS id.server. 4.2.2.1
+
+  $ dig @4.2.2.1 hostname.bind txt chaos
+  $ nslookup -q=txt -class=CHAOS hostname.bind. 4.2.2.1
+
+That strings come from BIND config::
+
+  options {
+    version "none of your business";
+    server-id "Host A";
+    hostname "Host A";
+  };
+
 How reread config file?
 =======================