View Single Post
  #10  
Old 8th December 2009, 00:59
kurv kurv is offline
Junior Member
 
Join Date: Dec 2009
Location: Kyjiv, Ukraine
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

my config-files
maybe it help

named.conf
Code:
include "/etc/bind/named.conf.options";

zone "." {
        type hint;
        file "/etc/bind/db.root";
};

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

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

//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";

zone "my.domain" {
        type slave;
        file "/etc/bind/zones/db.my.domain";
        masters {IP master server;};
};
named.conf.options
Code:
options {
        directory "/var/cache/bind";

        allow-transfer {77.88.207.78;};
        dnssec-enable yes; // I'm not sure
        auth-nxdomain no;    # conform to RFC1035
        listen-on-v6 { any; };
};
mydns.conf
Code:
db-host = localhost
db-user = ispconfig
db-password = my pass heare
database = dbispconfig
user = nobody
group = nogroup
listen = *         
no-listen =   
zone-cache-size = 2048
zone-cache-expire = 60 
reply-cache-size = 2048 
reply-cache-expire = 30
log = LOG_DAEMON 
pidfile = /var/run/mydns.pid 
timeout = 120 
multicpu = 1   
recursive =   
allow-axfr = yes 
allow-tcp = yes  
allow-update = yes 
ignore-minimum = no 
soa-table = dns_soa 
rr-table = dns_rr      
soa-where = server_id = 1 
rr-where =  server_id = 1   
use-soa-active = yes 
use-rr-active = yes
notify-enabled = yes
notify-source = IP slave server
Reply With Quote