[Samba] Get the reverse zone working
Rowland Penny
rpenny at samba.org
Wed Apr 26 17:33:50 UTC 2023
On 26/04/2023 18:24, matti.kaupenjohann via samba wrote:
>> Is this a typo, I would expect 0.99.10.in-addr.arpa, based on '10.99.0.2'
> yes you are absolutely right and that helped me to find my other typo.
> While I was correcting the command:
>
> samba-tool dns add adc01.heim.lan 20.10.10.in-addr.arpa 220 PTR
> adc01.heim.lan -Uadministrator
>
> to
>
> samba-tool dns add dc01.heim.lan 0.99.10.in-addr.arpa *2* PTR
> adc01.heim.lan -Uadministrator
>
> I recognized that I also forgot to change the last octet of my ip
> address. I think that was the issue on my first approach as well but
> sadly impossible to resolve after the reset.
>
> Nevertheless, after deleting the false created zone and creating the
> correct one I was able to resolve the reverse lookup.
>
> After reading two different documentations about the setup, the wrong
> set octet is easily overseen in both texts. Maybe a change in the
> command or documentation could address this issue?
>
> Thanks so far
>
> Matti
>
The problem is that you are the one creating the reversezone, now you
created 0.99.10.in-addr.arpa, but you could have created
99.10.in-addr.arpa, in which case your ip to add could be '2.99'
I will see if the documentation can be made clearer.
Rowland
More information about the samba
mailing list