Skip to content

Help with Bind conf files #2

Description

@freedombirdone

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions