DNS server NSD MX записи
Добавлено: 20 дек 2013, 12:34
MX записи
nsd.conf
Код: Выделить всё
server:
chroot: "/usr/local/etc/nsd"
ip-address: 217.29.30.X
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.domain.kg"
algorithm: hmac-md5
secret: "scL0g9ivWsfiuU/N8Q=="
zone:
name: "domain.kg"
zonefile: "./master/domain.kg"
notify: 217.29.30.X ns1-ns2.domain.kg
provide-xfr: 217.29.30.X ns1-ns2.domain.kg
zone:
name: "30.29.217.in-addr.arpa"
zonefile: "./master/30.29.217.in-addr.arpa"
notify: 192.168.0.2 ns1-ns2.domain.kg
provide-xfr: 192.168.0.2 ns1-ns2.domain.kg
Код: Выделить всё
$TTL 1800 ;minimum ttl
IN SOA ns1.domain.kg. admin.domain.kg. (
2013121701 ;serial
3600 ;refresh
9600 ;retry
180000 ;expire
600 ;negative ttl
)
NS ns1.domain.kg.
NS ns2.domain.kg.
MX 10 mail.domain.kg
A 217.29.30.X
ns1 IN A 217.29.30.X
ns2 IN A 217.29.30.X
www IN A 217.29.30.X
ftp IN A 217.29.30.X
mail IN A 217.29.30.X
Код: Выделить всё
$TTL 1800 ;minimum ttl
30.29.217.in-addr.arpa. IN SOA ns1.domain.kg. admin.domain.kg. (
2013121701 ;serial
3600 ;refresh
9600 ;retry
180000 ;expire
600 ;negative ttl
)
NS ns1.domain.kg.
NS ns2.domain.kg.
1 PTR ns1.domain.kg.
2 PTR ns2.domain.kg.
3 PTR host.domain.kg.
4 PTR mail.domain.kg.