bind config
zone "minskmag.by" {
type master;
file "/etc/bind/named/minskmag.by";
};
zone file
$TTL 3600
@ IN SOA ns1.thestudio.by. root.thestudio.by. (2012041615 10800 3600 604800 86400)
IN NS ns1.thestudio.by.
IN NS ns2.thestudio.by.
IN A 178.159.244.101
command:
dig minskmag.by @ns1.thestudio.by
doesn't receive answer section
could anyone help me?
dig
output? Is the query getting anNXDOMAIN
orSERVFAIL
response, or simply timing out? What about if youdig @localhost
from the server?dig minskmag.by @178.159.244.101
; <<>> DiG 9.7.3-P3 <<>> minskmag.by @178.159.244.101
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 31776
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;minskmag.by. IN A
;; Query time: 472 msec
;; SERVER: 178.159.244.101#53(178.159.244.101)
;; WHEN: Mon Apr 16 21:15:54 2012
;; MSG SIZE rcvd: 29
named-checkzone minskmag.by /etc/bind/named/minskmag.by
zone minskmag.by/IN: loaded serial 2012041600
OK