[Samba] DNS Update Failing
Patrick Goetz
pgoetz at math.utexas.edu
Tue Nov 2 08:37:15 UTC 2021
Finally, make sure /etc/resolv.conf isn't a link to a stub location (as
configured by systemd-resolved). If it is a link, delete the link and
create the file by hand. Primitive, but effective. <:)
On 11/1/21 05:39, L.P.H. van Belle via samba wrote:
> Can also be the "resolvconf" package..
> If that's installed, or configure it properly or remove it.
>
>
> That should fix it.
>
> Greetz,
>
> Louis
>
>
>> -----Oorspronkelijk bericht-----
>> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
>> Rowland Penny via samba
>> Verzonden: zondag 31 oktober 2021 20:22
>> Aan: samba at lists.samba.org
>> Onderwerp: Re: [Samba] DNS Update Failing
>>
>> On Sun, 2021-10-31 at 15:13 -0400, Rob Campbell via samba wrote:
>>> My /etc/resolv.conf was overwritten. What service does this on
>>> Debian?
>>
>> Usually resolvconf or networkmanger, but it usually says at the top of
>> /etc/resolv.conf
>>
>>> I've disabled systemd-resolved already.
>>>
>>> Getting a different error now.
>>> samba_dnsupdate --verbose --all-names
>>> *29 DNS updates* and 0 DNS deletes needed
>>> Successfully obtained Kerberos ticket to DNS/DC01.home.test-
>>> server.lan as
>>> DC01$
>>> update(nsupdate): A DC01.home.test-server.lan 10.0.0.19
>>> Calling nsupdate for A DC01.home.test-server.lan 10.0.0.19 (add)
>>> Successfully obtained Kerberos ticket to DNS/DC01.home.test-
>>> server.lan as
>>> DC01$
>>> Outgoing update query:
>>> ;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: 0
>>> ;; flags:; ZONE: 0, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
>>> ;; UPDATE SECTION:
>>> DC01.home.test-server.lan. 900 IN A 10.0.0.19
>>>
>>> ; TSIG error with server: tsig indicates error
>>> update failed: NOTAUTH(BADSIG)
>>> Failed nsupdate: 2
>>> update(nsupdate): CNAME
>>> f79b5e15-ea2b-4afd-a8ca-bb16e2531521._msdcs.home.test-server.lan
>>> DC01.home.test-server.lan
>>> ...
>>>
>>
>> Try adding this line to your smb.conf:
>>
>> dns update command = /usr/sbin/samba_dnsupdate --use-samba-tool
>>
>> Restart Samba, it usually works
>>
>> Rowland
>>
>>
>>
>> --
>> 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