[Samba] New DNS-Records not aviable
Heinz Hölzl
heinz.hoelzl at gvcc.net
Thu Jan 23 09:22:26 UTC 2020
Hi,
after a downgrade to samba 4.10 everything works fine.
How should i proceed now?
Regards,
Heinz
Am Dienstag, den 21.01.2020, 15:48 +0000 schrieb Heinz Hölzl via samba:
> Hi list,
>
> after the upgrade to samba 4.11.4 i have a problem with new added DNS
> records.
> If i add a new dns-record, the "samba-tool dns add" returns a "Record
> added successfully" but the new record is not aviable:
>
> "samba-tool dns query" returns "ERROR: Record or zone does not
> exist."
>
> "nslookup" or "host" returns nothing regarding the added record.
>
> if i retry to reinsert the new record, i get a
> WERR_DNS_ERROR_RECORD_ALREADY_EXISTS
>
>
> I have 4 domain controllers, 2 DCs are working with SAMBA_INTERNAL -
> DNS and 2 DCs are working with BIND9_DLZ.
>
> I tried also to rejoin a DC ... same issue.
>
>
> Thanks!
>
> Regards,
> Heinz
>
>
>
>
>
>
>
> root at dctest2:~# /usr/local/samba/bin/samba-tool dns add dc2
> klingons.gvcc.net xy A 172.27.10.32
> Record added successfully
> root at dctest2:~# /usr/local/samba/bin/samba-tool dns query dc2
> klingons.gvcc.net xy A
> ERROR: Record or zone does not exist.
> root at dctest2:~# host xy.klingons.gvcc.net
> Host xy.klingons.gvcc.net not found: 3(NXDOMAIN)
> root at dctest2:~# /usr/local/samba/bin/samba-tool dns add dc2
> klingons.gvcc.net xy A 172.27.10.32
> ERROR(runtime): uncaught exception - (9711,
> 'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
> File "/usr/local/samba/lib/python3.6/site-
> packages/samba/netcmd/__init__.py", line 186, in _run
> return self.run(*args, **kwargs)
> File "/usr/local/samba/lib/python3.6/site-
> packages/samba/netcmd/dns.py", line 945, in run
> raise e
> File "/usr/local/samba/lib/python3.6/site-
> packages/samba/netcmd/dns.py", line 941, in run
> 0, server, zone, name, add_rec_buf, None)
> root at dctest2:~# /usr/local/samba/bin/samba-tool dns delete dc2
> klingons.gvcc.net xy A 172.27.10.32
> Record deleted successfully
> root at dctest2:~#
More information about the samba
mailing list