[Samba] bind9 refuses to start -> zone has no NS records
L.P.H. van Belle
belle at bazuin.nl
Thu Apr 30 12:17:36 UTC 2020
Try this.
systemctl edit bind9
#/etc/systemd/system/bind9.service.d/override.conf
[Service]
ExecReload=
sytemctl edit samba-ad-dc.service
#/etc/systemd/system/samba-ad-dc.service.d/override.conf
[Unit]
After=network.target network-online.target bind9.service
systemctl daemon-reload
systemctl restart bind9 samba-ad-dc
If that does not work, then, can you run this script:
https://github.com/thctlo/samba4/raw/master/samba-collect-debug-info.sh
Anonimize where needed, shows all i want to know.
At least, its a good start ;-)
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> Benedikt Kaleß via samba
> Verzonden: donderdag 30 april 2020 14:09
> Aan: samba at lists.samba.org >> samba
> Onderwerp: [Samba] bind9 refuses to start -> zone has no NS records
>
> Hi,
>
> I have to add a second DC to a Zone.
> I use the sernet packages Version 4.11 on a debian 10 host.
>
> The bind refuses to start:
>
> root at addc-zone02:~# systemctl status bind9
> ??? bind9.service - BIND Domain Name Server
> Loaded: loaded (/lib/systemd/system/bind9.service;
> enabled; vendor preset: enabled)
> Active: failed (Result: exit-code) since Thu 2020-04-30
> 14:51:58 EEST; 5s ago
> Docs: man:named(8)
> Process: 3733 ExecStart=/usr/sbin/named $OPTIONS
> (code=exited, status=1/FAILURE)
> Tasks: 0 (limit: 4701)
> Memory: 624.0K
> CGroup: /system.slice/bind9.service
>
> Apr 30 14:51:58 addc-zone02 named[3734]: Loading 'AD DNS
> Zone' using driver dlopen
> Apr 30 14:51:58 addc-zone02 named[3734]: samba_dlz: started
> for DN DC=example,DC=com
> Apr 30 14:51:58 addc-zone02 named[3734]: samba_dlz: starting configure
> Apr 30 14:51:58 addc-zone02 named[3734]: zone
> 21.168.192.in-addr.arpa/NONE: has no NS records
> Apr 30 14:51:58 addc-zone02 named[3734]: samba_dlz: Failed to
> configure zone '21.168.192.in-addr.arpa'
> Apr 30 14:51:58 addc-zone02 named[3734]: loading
> configuration: bad zone
> Apr 30 14:51:58 addc-zone02 named[3734]: exiting (due to fatal error)
> Apr 30 14:51:58 addc-zone02 systemd[1]: bind9.service:
> Control process exited, code=exited, status=1/FAILURE
> Apr 30 14:51:58 addc-zone02 systemd[1]: bind9.service: Failed
> with result 'exit-code'.
> Apr 30 14:51:58 addc-zone02 systemd[1]: Failed to start BIND
> Domain Name Server.
>
> 21.168.192.in-addr.arpa is an empty zone and I deleted that
> zone with the Windows DNS tool.
>
> I have another DC where bind9 is running. I copied
> /etc/bind/named.conf.options and /etc/bind/named.conf.local
> I also double checked permissions in /var/lib/samba/bind-dns
> and /var/lib/samba/private
>
> Any tips are welcome. How can I start bind9 or where should I
> look for errors?
>
> Best
> Benedikt
>
> --
> forumZFD
> Entschieden für Frieden|Committed to Peace
>
> Benedikt Kaleß
> Leiter Team IT|Head team IT
>
> Forum Ziviler Friedensdienst e.V.|Forum Civil Peace Service
> Am Kölner Brett 8 | 50825 Köln | Germany
>
> Tel 0221 91273233 | Fax 0221 91273299 |
> http://www.forumZFD.de
>
> Vorstand nach § 26 BGB, einzelvertretungsberechtigt|Executive Board:
> Oliver Knabe (Vorsitz|Chair), Sonja Wiekenberg-Mlalandle,
> Alexander Mauz
> VR 17651 Amtsgericht Köln
>
> Spenden|Donations: IBAN DE37 3702 0500 0008 2401 01 BIC BFSWDE33XXX
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
More information about the samba
mailing list