named.conf Close
Use buttons above to get extra information

File Name:
File Size: Bytes
Tags:
Description:

// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local
options {
 listen-on port 53 { 127.0.0.1; 192.168.20.120; };
 allow-transfer {  127.0.0.1; };
//      forwarders { ;}; a qui li preguntem si no ho coneixem?
//      allow-query { 192.168.50.181;}; //a qui li permetem fer consultes?
//      allow-recursion { ;}; qui pot fer querys a mi

};
//include "/etc/bind/named.conf.options";

// prime the server with knowledge of the root servers
zone "." {
        type hint;
        file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
        type master;
        file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
        type master;
        file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
        type master;
        file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
        type master;
        file "/etc/bind/db.255";
};

include "/etc/bind/named.conf.local";