-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Can you provide sample zone configuration files that works for bind9? I have the following configurations but I cannot seem to resolve the following queries:
HOST:
$ nslookup ns1
Server: 127.0.0.53
Address: 127.0.0.53#53
** server can't find ns1: SERVFAIL
HOST.DOMAIN:
$ nslookup ns1.example
Server: 127.0.0.53
Address: 127.0.0.53#53
** server can't find ns1.example: NXDOMAIN
FQDN:
$ nslookup ns1.example.local
Server: 127.0.0.53
Address: 127.0.0.53#53
** server can't find ns1.example.local: SERVFAIL
Configurations:
/etc/bind/db.local
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA localhost. root.localhost. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS localhost.
@ IN A 127.0.0.1
@ IN AAAA ::1
/etc/bind/db.example.local
$TTL 604800
@ IN SOA ns1.example.local. root.ns1.example.local. (
4 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns1.example.local.
ns1 IN A 192.168.110.153
log4jdnsreq 3600 IN NS ns1.example.local.