Mam problem z ustawieniem dnsów. Korzystając z poradnika znajdującego się tutaj doszedłem do takiego oto stanu:
/etc/bind/named.conf
Kod: Zaznacz cały
// 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
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";
};
zone "zocim.eu" {
        type master;
        file "/etc/bind/db.zocim.eu";
        allow-transfer {
                87.206.193.230;
        };
        notify yes;
};
include "/etc/bind/named.conf.local";
Kod: Zaznacz cały
$TTL 3600
@       IN      SOA     ns1.zocim.eu.   root.zocim.eu. (
        2002070201
        86400
        3600
        3600000
        1209600
        )
;
       IN      NS              ns1.zocim.eu.
       IN      NS              ns2.zocim.eu.
;
        IN      MX      10      mail.zocim.eu.
;
@       IN      A       87.206.193.230
www     IN      A       87.206.193.230
ns1     IN      A       87.206.193.230
ns2     IN      A       87.206.193.230
mail    IN      A       87.206.193.230Kod: Zaznacz cały
dig @ns1.zocim.eu zocim.euKod: Zaznacz cały
dig: couldn't get address for 'ns1.zocim.eu': not found