I'm trying to configure a local DNS server. But something is wrong and I can't figure out what :\ Forwarding and cashing-nameserver seems to work. Reverse lookup is also working.
dmesg -a :
zonefile(mydomain-forward.db):
bsdbox is the server and is correctly configured with 2 ipaddresses.
192.168.0.50 en 192.168.0.100
named.conf:
dmesg -a :
Code:
Jan 3 15:14:46 bsdbox named[913]: the working directory is not writable
Jan 3 15:14:46 bsdbox named[913]: zone mydomain.local/IN: loading from master file master/mydomain-forward.db failed: unknown class/type
zonefile(mydomain-forward.db):
Code:
$TTL 3600 ; 1 hour default TTL
@ IN SOA ns.mydomain.local. admin.mydomain.local. (
2010010305 ; Serial
10800 ; Refresh
3600 ; Retry
604800 ; Expire
300 ; Negative Reponse TTL
)
; DNS Servers
IN NS ns.mydomain.local.
IN A 192.168.0.100
; Machine Names
localhost IN A 127.0.0.1
ns IN A 192.168.0.100
router IN A 192.168.0.1
bsdbox IN A 192.168.0.50
bsdbox is the server and is correctly configured with 2 ipaddresses.
192.168.0.50 en 192.168.0.100
named.conf:
Code:
zone "mydomain.local" {
type master;
file "master/mydomain-forward.db";
};