When you enter the command named-checkzone e-gov-kz.ru /var/named/egov-kz.ru.zone, it gives an error: failed: file not found zone e-gov-kz.ru/IN: not loaded due to errors.

$TTL 86400 @ IN SOA ns1.e-gov-kz.ru. ns2.e-gov-kz.ru. ( 2017011301 ;serial 3600 ;refresh 1800 ;retry 604800 ;expire 86400 ;minimum TTL ) IN NS ns1.e-gov-kz.ru. IN NS ns2.e-gov-kz.ru. IN MX 10 mail.e-gov-kz.ru. @ IN A 185.209.20.21 ns1 IN A 185.209.20.21 ns2 IN A 185.209.20.21 mail IN A 185.209.20.21 www IN A 185.209.20.21 

  • file not found says that the utility could not find the file. its contents have nothing to do with it. Make sure that the file is there, taking into account the current root - Mike
  • Just the same, everything in the right directory is - Stranger
  • The file e-gov-kz.zone is located in / var / named - Stranger
  • Yes, but you write in the team e-gov-kz.ru.zone - Mike
  • This command checks for errors, but for some reason it cannot find the file. - Stranger

1 answer 1

Solved the problem, it turns out I confused the data of one server with another, and uploaded files to another server