robgr85
January 25th, 2009, 05:13 PM
I've read some manuals available in the network, tried few times... and bind ain't working for me :-|
What I want to do, is to set simple DNS server for my local network. I've got hard time with it... could You help me?
That I've done:
1. install the bind9
sudo apt-get update
sudo apt-get install bind9
2. edit on
/etc/bind/named.conf.local
3. added file
/etc/bind/my.zone
4. added reversed zone file
/etc/bind/zone.my
It just does not want to work :/
when tried to check zone-files by
named-checkzone my.zone zone.my
I got the following output
zone.my:2: ignoring out-of-zone data (1.168.192.in-addr.arpa)
zone my.zone/IN: has 0 SOA records
zone my.zone/IN: has no NS records
after trying
named-checkzone . my.zone
i got:
my.zone:2: SOA record not at top of zone (my.zone)
zone ./IN: loading from master file my.zone failed: not at top of zone
what can be the cause of that problem? Any solutions?
What I want to do, is to set simple DNS server for my local network. I've got hard time with it... could You help me?
That I've done:
1. install the bind9
sudo apt-get update
sudo apt-get install bind9
2. edit on
/etc/bind/named.conf.local
3. added file
/etc/bind/my.zone
4. added reversed zone file
/etc/bind/zone.my
It just does not want to work :/
when tried to check zone-files by
named-checkzone my.zone zone.my
I got the following output
zone.my:2: ignoring out-of-zone data (1.168.192.in-addr.arpa)
zone my.zone/IN: has 0 SOA records
zone my.zone/IN: has no NS records
after trying
named-checkzone . my.zone
i got:
my.zone:2: SOA record not at top of zone (my.zone)
zone ./IN: loading from master file my.zone failed: not at top of zone
what can be the cause of that problem? Any solutions?