[Samba] Samba4 AD Bind DNS wrong server.

Stefan Kania stefan at kania-online.de
Wed Dec 29 07:39:13 UTC 2021


put the following two lines in your smb.conf

interfaces = <device-name or IP>
bind interfaces only

that's it

Am 29.12.21 um 00:08 schrieb Wyatt C Jackson via samba:
> Hello good people. I am trying to setup Samba4 as an Active Directory
> server on my Raspberry Pi 4. I have chosen to use the BIND_DLZ backend
> for dns. On this Pi I also have docker running. I had k3s installed,
> but removed it after setup.
> 
> One thing I have noticed is that when running `sudo samba_dnsupdate
> --verbose --all-names`, it appears that the script attempts to talk to
> a dns server on all interfaces on the system. As I do not have bind
> listening on those interfaces (as they belong to docker/kubernetes),
> it errors out. Is there a way to tell samba not to try to talk to dns
> servers on those interfaces?
> 
> Thanks in advance.
> 
> Samba Version:
>         samba -V
>         Version 4.13.14-Ubuntu
> 
> Note: When I am refering to interfaces, I am refering to the IP address
> assigned to those interfaces.
> 
> 
> 
> 
> Minecraftchest1
> Minecraftchest1 at outlook.com
> Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows
> 

-- 
Stefan Kania
Landweg 13
25693 St. Michaelisdonn


Signieren jeder E-Mail hilft Spam zu reduzieren und schützt Ihre
Privatsphäre. Ein kostenfreies Zertifikat erhalten Sie unter
https://www.dgn.de/dgncert/index.html
Download der root-Zertifikate: https://www.dgn.de/dgncert/downloads.html





More information about the samba mailing list