Bind - проверка файла зоны через named-checkzone

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Перейти к:навигация, поиск

Bind - проверка файла зоны через named-checkzone

# named-checkzone smm-smile.com /var/named/smm-smile.com.db
zone smm-smile.com/IN: loaded serial 2015022800
OK


Пример с ошибкой:

# named-checkzone mymail.com /home/admin/conf/dns/mymail.com.db
/home/admin/conf/dns/mymail.com.db:20: ignoring out-of-zone data (112.17.33.178.in-addr.arpa)
dns_master_load: /home/admin/conf/dns/mymail.com.db:21: pop.mymail: CNAME and other data
zone mymail/IN: loading from master file /home/admin/conf/dns/mymail.com.db failed: CNAME and other data
zone mymail/IN: not loaded due to errors.