[Samba] bind-dns configuration is generated incorrectly after "domain backup restore" + samba_upgradedns

Rowland Penny rpenny at samba.org
Wed Dec 11 10:43:07 UTC 2024


On Wed, 11 Dec 2024 10:58:58 +0100
Emil Sandnabba via samba <samba at lists.samba.org> wrote:

> Hello!
> 
> I'm trying the backup/restore functionality on Samba 4.21.1, but I'm
> having trouble with the Bind DNS configuration.
> 
> The domain is created by:
> samba-tool domain provision --use-rfc2307 --adminpass={adminpassword}
> --domain=domain.se --realm=realm --site=site --server-role=dc
> --dns-backend=BIND9_DLZ
>
While I do not think it will cure your problem (though it may do), can
you please try again, but this time with correct values to your options:

The domain in --domain is the NetBIOS domain, not the DNS domain and
the dot is illegal in a NetBIOS domain name.

The --realm should be the DNS domain in uppercase.

If you want to use a registered dns domain, then I suggest you use a
subdomain of that, something like  'ad.domain.se' instead of 'domain.se'

Rowland




More information about the samba mailing list