vim /var/named/chroot/etc/named.conf -------------- zone "yourdomain.com" { type master; file "yourdomain.com.zone"; }; -------------- vim /var/named/chroot/var/named/yourdomain.com.zone -------------- $TTL 300 $ORIGIN yourdomain.com. @ IN SOA ns1.yourdomain.com. postmaster.yourdomain.com. ( 20150220 3H 15M 1W 300 ) IN MX 10 mail IN NS ns1.yourdns.com. IN NS ns2.yourdns.com. yourdomain.com. IN A 100.100.100.100 mail IN A 100.100.100.100 www IN A 100.100.100.100 -------------- named-checkzone "yourdomain.com" /var/named/chroot/var/named/yourdomain.com.zone service named configtest service named restart