When 10.0.0.164 is the ip address of the bind server and domain.com is configured in LC with "Own DNS server" with a valid DNS template, then I correctly see in /etc/bind/zones.liveconfig:
Code
zone "domain.com" {
type master;
file "/var/lib/bind/domain.com.db";
update-policy { grant LiveConfig. subdomain domain.com. ANY; };
};
... and /var/lib/bind/domain.com.db:
Code
; _ _ ___ __ _ (R)
; | | (_)_ _____ / __|___ _ _ / _(_)__ _
; | |__| \ V / -_) (__/ _ \ ' \| _| / _` |
; |____|_|\_/\___|\___\___/_||_|_| |_\__, |
; |___/
; Copyright (c) 2009-2013 Keppler IT GmbH.
; ----------------------------------------------------------------------------
; Created at: 2013-12-04 12:01:22 CET
$ORIGIN .
domain.com 86400 IN SOA ns1.domain.com. dr.domain.com. (
2013120401 ; serial
86400 ; refresh
7200 ; retry
1209600 ; expire
3600 ; minimum (neg. TTL)
)
$ORIGIN domain.com.
dev 10800 IN A 10.0.0.164
www 10800 IN A 10.0.0.164
10800 IN NS ns1.domain.com.
10800 IN MX 10 mail.domain.com.
10800 IN A 10.0.0.164
; <EOF>
Alles anzeigen
... but still the dig command will return:
Code
root@ziba200:/var/lib/bind# dig @10.0.0.164 domain.com
; <<>> DiG 9.7.3 <<>> @10.0.0.164 domain.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 43908
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;domain.com. IN A
;; Query time: 0 msec
;; SERVER: 10.0.0.164#53(10.0.0.164)
;; WHEN: Wed Dec 4 12:09:30 2013
;; MSG SIZE rcvd: 31
Alles anzeigen
Why is it failing? What is missing?