Author Topic: dns server start error  (Read 4155 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
dns server start error
« on: January 05, 2021, 05:31:15 PM »
i have found this erros on start bind dns

Quote
Jan  4 16:45:45 painel systemd: Starting Berkeley Internet Name Domain (DNS)...
Jan  4 16:45:45 painel bash: zone localhost.localdomain/IN: loaded serial 0
Jan  4 16:45:45 painel bash: zone localhost/IN: loaded serial 0
Jan  4 16:45:45 painel bash: zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loading from master file named.loopback failed: file not found
Jan  4 16:45:45 painel bash: zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: not loaded due to errors.
Jan  4 16:45:45 painel bash: _default/1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: file not found
Jan  4 16:45:45 painel bash: zone 1.0.0.127.in-addr.arpa/IN: loading from master file named.loopback failed: file not found
Jan  4 16:45:45 painel bash: zone 1.0.0.127.in-addr.arpa/IN: not loaded due to errors.
Jan  4 16:45:45 painel bash: _default/1.0.0.127.in-addr.arpa/IN: file not found
Jan  4 16:45:45 painel bash: zone 0.in-addr.arpa/IN: loading from master file named.empty failed: file not found
Jan  4 16:45:45 painel bash: zone 0.in-addr.arpa/IN: not loaded due to errors.
Jan  4 16:45:45 painel bash: _default/0.in-addr.arpa/IN: file not found
Jan  4 16:45:45 painel bash: zone ns1.centos-webpanel.com/IN: loaded serial 2013071600
Jan  4 16:45:45 painel bash: zone ns2.centos-webpanel.com/IN: loaded serial 2013071600
Jan  4 16:45:45 painel bash: zone site.ml/IN: loaded serial 2021010484
Jan  4 16:45:45 painel systemd: named.service: control process exited, code=exited status=1
Jan  4 16:45:45 painel systemd: Failed to start Berkeley Internet Name Domain (DNS).
Jan  4 16:45:45 painel systemd: Unit named.service entered failed state.
Jan  4 16:45:45 painel systemd: named.service failed.
[/quote]

can anyone help me?

Offline
*
Re: dns server start error
« Reply #1 on: January 05, 2021, 06:32:20 PM »
at file /etc/named.rfc1912.zones

i comment the lines

is this  correct?


Quote
// named.rfc1912.zones:
//
// Provided by Red Hat caching-nameserver package
//
// ISC BIND named zone configuration for zones recommended by
// RFC 1912 section 4.1 : localhost TLDs and address zones
// (c)2007 R W Franks
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//

zone "localhost.localdomain" IN {
   type master;
   file "named.localhost";
   allow-update { none; };
};

zone "localhost" IN {
   type master;
   file "named.localhost";
   allow-update { none; };
};

/*zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
   type master;
   file "named.loopback";
   allow-update { none; };
};

zone "1.0.0.127.in-addr.arpa" IN {
   type master;
   file "named.loopback";
   allow-update { none; };
};

zone "0.in-addr.arpa" IN {
   type master;
   file "named.empty";
   allow-update { none; };
};*/

« Last Edit: January 05, 2021, 07:20:06 PM by Administrator »