[Samba] Custom dns_update_list file

Arnaud FLORENT aflorent at iris-tech.fr
Thu Feb 10 09:48:09 UTC 2022


Le 09/02/2022 à 17:50, Victor Rodriguez via samba a écrit :
> Hello,
Hi
>
> I have the need to set specific IPs in DNS to allow clients to 
> correctly communicate with Samba. I archieve this editing 
> samba/private/dns_update_list and replacing the A record for the 
> domain. This works until some package update replaces it with the 
> default one.
>
> Is there any way to properly set a custom dns_update_list that does 
> not get overwritten?

on debian /ubuntu, you can try with diversion


https://www.debian.org/doc/debian-policy/ap-pkg-diversions.html

>
> I can't use the interfaces directive in smb.conf as the same interface 
> has more than one IP.
>
> Thanks in advance
>
>
-- 
Arnaud FLORENT
IRIS Technologies




More information about the samba mailing list