-- Unit named.service has begun starting up.
Jan 14 17:58:51 mail.local bash[5119]: /etc/named.conf:68: zone '.': already exists previous definition: /etc/named.conf:54
Jan 14 17:58:51 mail.local bash[5119]: /etc/named.conf:76: zone 'localhost': already exists previous definition: /etc/named.rfc1912.zones:19
Jan 14 17:58:51 mail.local bash[5119]: /etc/named.conf:86: zone '0.in-addr.arpa': already exists previous definition: /etc/named.rfc1912.zones:37
Jan 14 17:58:51 mail.local bash[5119]: /etc/named.conf:95: zone 'local': already exists previous definition: /etc/named.conf:62
Jan 14 17:58:51 mail.local systemd[1]: named.service: control process exited, code=exited status=1
Jan 14 17:58:51 mail.local systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
-- Subject: Unit named.service has failed
zone "test.local" IN {
type master;
file "test.local.zone"
allow-update { none; };
};
$TTL 86400
@ IN SOA test.local (
2014120801 ;Serial
3600 ;Refresh
1800 ;Retry
604800 ;Expire
86400 ;Minimum TTL
)
;
www IN A 192.168.0.118
named.service - Berkeley Internet Name Domain (DNS)
Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2019-01-14 17:35:36 EET; 2min 12s ago
Process: 4749 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z "$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi (code=exited, status=1/FAILURE)
Jan 14 17:35:36 mail.local systemd[1]: Starting Berkeley Internet Name Doma.....
Jan 14 17:35:36 mail.local bash[4749]: /etc/named.conf:98: missing ';' befo...e'
Jan 14 17:35:36 mail.local systemd[1]: named.service: control process exite...=1
Jan 14 17:35:36 mail.local systemd[1]: Failed to start Berkeley Internet Na...).
Jan 14 17:35:36 mail.local systemd[1]: Unit named.service entered failed state.
Jan 14 17:35:36 mail.local systemd[1]: named.service failed.
Hint: Some lines were ellipsized, use -l to show in full.