[Samba] Dynamic Updates to Bind DLZ through DHCP have repeated errors in syslog
Rowland penny
rpenny at samba.org
Fri Jan 29 20:18:41 UTC 2021
On 29/01/2021 20:08, ralph strebbing wrote:
> On Fri, Jan 29, 2021 at 2:22 PM Rowland penny via samba
> <samba at lists.samba.org> wrote:
>
>> Have you created the reversezone(s) in AD ?
>>
> Only if I'm manually creating the DNS Entry (e.g pbx.domain.com
> pointing to an IP of another static device pbx1). Aside from that, I
> thought that the script was creating them on the 'add' function.
>
> Ralph
No, the script doesn't create any reverse zones , it checks if any exist:
# get existing reverse zones (if any)
ReverseZones=$(samba-tool dns zonelist "${Server}" --reverse |
grep 'pszZoneName' | awk '{print $NF}')
if [ -z "$ReverseZones" ]; then
echo "No reverse zone found, not updating"
result3='0'
result4='0'
Samba AD doesn't have any reverse zones by default, you have to create them.
Rowland
More information about the samba
mailing list