On 7/3/25 09:42, Rowland Penny via samba wrote:> On Thu, 3 Jul 2025 08:41:30 -0700
> Peter Carlson via samba<samba at lists.samba.org> wrote:
>
>> I have a simple samba setup
>>
>> # Global parameters
>> [global]
>> ??? netbios name = NC
>> ??? realm = CARLSON.HOME
> So, your dns domain is carlson.home
I have earthbest.com and howudodat.com, for my home I use carlson.home.?
earthbest.com and howudodat.com are functioning just fine with split
level setup.? for carlson.home I have a few devices that are not domain
joined (proxmox cluster: pve1, pve2, pve3, my tv tuner and my cameras),
I want to add those to carlson.home for dns resolution.>
>> ??? server role = active directory domain controller
>> ??? server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc,
>> drepl, winbindd, ntp_signd, kcc, dnsupdate
>> ??? workgroup = CARLSON
>> ??? idmap_ldb:use rfc2307 = yes
>>
>> [sysvol]
>> ??? path = /var/lib/samba/sysvol
>> ??? read only = No
>>
>> [netlogon]
>> ??? path = /var/lib/samba/sysvol/carlson.home/scripts
>> ??? read only = No
>>
>> I would like to manage some DNS records for carlson.home (ie:
>> pve1.carlson.home = 192.168.1.3).? In reading the wiki, it seems I
>> have 3 options: samba-tool, admintool and windows DNS RSAT tool.
>> Please tell me that there is a way to just simply edit BIND's db.X
>> file?
>>
>> I did find a way to make it work using: response-policy?? { zone
>> "rpz.local";}; but I would like to organize my DNS and not
just use
>> one flat file
> Not possible, your AD domain dns servers are authoritative for the
> carlson.home dns domain and you cannot put dns records for that dns
> domain in a flat file, those records are stored in AD.
>
> Rowland
>
adding response-policy zone and adding pve1.carlson.home A 192.168.1.3
to that actually works for resolving non domain joined devices.? I guess
that's not too bad.
peter