[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Configure BIND9



Dear: Debian Users

I have done install Bind9 with dselect. I need to create my own DNS Server
locally. I use before redhat as my DNS server. Now I am convert to Debian
Bind9. What is rndc.key for ?

The problem is I can't create a record into my Bind9.
Below is my file in my /etc/bind/

smtp:/etc/bind# ls -l
total 11
-rw-r--r--    1 root     root          237 Jul  2  2002 db.0
-rw-r--r--    1 root     root          271 Jul  2  2002 db.127
-rw-r--r--    1 root     root          237 Jul  2  2002 db.255
-rw-r--r--    1 root     root          345 Mar 11 15:26 db.khimmaki
-rw-r--r--    1 root     root          256 Mar 11 16:34 db.local
-rw-r--r--    1 root     root         2769 Jul  2  2002 db.root
-rw-r--r--    1 root     root         1594 Mar 11 16:31 named.conf
-rw-------    1 root     root           77 Mar 11 15:02 rndc.key

I have add db.khimmaki setting into my named.conf

// We are the master server for Khimmaki.net
zone "khimmaki.net" {
        type master;
        file "/etc/bind/db.khimmaki.net";
};


And this is my db.khimmaki

;
; BIND data file for local loopback interface
;
$TTL    604800
@       IN      SOA     smtp.khimmaki.net. root.khimmaki.net. (
                              1         ; Serial
                         604800         ; Refresh
                          86400         ; Retry
                        2419200         ; Expire
                         604800 )       ; Negative Cache TTL

; Name Server (NS) records.
        IN      NS      smtp.khimmaki.net.


@       IN      A       127.0.0.1
smtp    IN      A       192.168.118.4



Reply to: