Jump to content

Recommended Posts

Posted

hello,

i need help with configuring BIND9. I want to set up local DNS for LAN. forwarding works, but adding a zone doesn't work.
BIND9 with the first zone starts but does not translate the name to an ip address. With the second zone, BIND9 does not get up at all.

What am I doing wrong?

 

/etc/bind/named.conf.local

//
// Do any local configuration here
//

// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";

zone "example.loc" {
        type master;
        file "/etc/bind/zones/example.loc.db";
};

zone “0.10.10.in-addr.arpa” {
      type master;
      file “/etc/bind/zones/10.10.0.in-addr.arpa”;
};

/etc/bind/zones/example.loc.db


;
; BIND data file for local loopback interface
;
$TTL    604800
@       IN      SOA     ns1.example.loc. host.example.loc. (
                              5         ; Serial
                         604800         ; Refresh
                          86400         ; Retry
                        2419200         ; Expire
                         604800 )       ; Negative Cache TTL
;

example.loc.    IN      NS      ns1.example.loc.
example.loc. IN A       10.10.0.100

/etc/bind/zones/10.10.0.db


;
; BIND data file for local loopback interface
;
$TTL    604800
@       IN      SOA     ns1.example.loc. host.example.loc. (
                              5         ; Serial
                         604800         ; Refresh
                          86400         ; Retry
                        2419200         ; Expire
                         604800 )       ; Negative Cache TTL
;

example.loc.    IN      NS      ns1.example.loc.
example.loc. IN A       10.10.0.100

 

Posted

You will likely get a better response on BIND mailing list, or in their IRC channel (assuming they have one) or even #linux or #bsd (would be my rough descending order of preference).

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines