nsdc rebuild
конфиги:zonec: reading zone "51.205.91.in-addr.arpa".
zonec: processed 7 RRs in "51.205.91.in-addr.arpa".
zonec: reading zone "domen.kg".
./master/domen.kg:2: error: syntax error
zonec: processed 9 RRs in "domen.kg".
SOA record not present in domen.kg.
zonec: error writing the database (/usr/local/etc/nsd/data/nsd.database.66606): Unknown error: 0
/usr/local/etc/nsd/data/nsd.database is unmodified
nsd.conf
domen.kgserver:
chroot: "/usr/local/etc/nsd"
ip-address: 0.0.0.0
ip4-only: yes
identity: "DNS"
hide-version: yes
database: "/usr/local/etc/nsd/data/nsd.database"
logfile: "/var/log/nsd.log"
server-count: 4
pidfile: "/usr/local/etc/nsd/run/nsd.pid"
zonesdir: "/usr/local/etc/nsd/zones"
difffile: "/usr/local/etc/nsd/data/ixfr.db"
xfrdfile: "/usr/local/etc/nsd/data/xfrd.state"
key:
name: "ns1-ns2.domen.kg"
algorithm: hmac-md5
secret: "vsdfsdsdfgdg1234asdgf=="
zone:
name: "domen.kg"
zonefile: "./master/domen.kg"
notify: 91.205.51.1X ns1-ns2.domen.kg
provide-xfr: 91.205.51.X ns1-ns2.domen.kg
zone:
name: "51.205.91.in-addr.arpa"
zonefile: "./master/51.205.91.in-addr.arpa"
notify: 91.205.51.X ns1-ns2.domen.kg
provide-xfr: 91.205.51.X ns1-ns2.domen.kg
51.205.91.in-addr.arpaTTL 1800 ;minimum ttl
domen.kg. IN SOA ns1.domen.kg. admin.domen.kg. (
2012042301 ;serial
3600 ;refresh
9600 ;retry
180000 ;expire
600 ;negative ttl
)
NS ns1.domen.kg.
NS ns2.domen.kg.
MX 10 mail
A 91.205.51.X
ns1 A 91.205.51.X
ns2 A 91.205.51.X
www A 91.205.51.X
ftp A 91.205.51.X
mail A 91.205.51.X
не могу понять где эта синтаксическая ошибка ($TTL 1800 ;minimum ttl
51.205.91.in-addr.arpa. IN SOA ns1.domen.kg. admin.domen.kg. (
2012042301 ;serial
3600 ;refresh
9600 ;retry
180000 ;expire
600 ;negative ttl
)
NS ns1.domen.kg.
NS ns2.domen.kg.
1 PTR ns1.domen.kg.
2 PTR ns2.domen.kg.
3 PTR host.domen.kg.
4 PTR mail.domen.kg.