[Samba] samba-tool PTR with /16 network

Rowland penny rpenny at samba.org
Tue Aug 6 15:16:05 UTC 2019


On 06/08/2019 15:34, Hénoch Hervé wrote:
>
> I have bind9 but my problem is not the tools but the syntax of 
> samba-tool :
>
> I have created a zone
>
> 18.172.in-addre.arpa
>
> then
>
> samba-tool dns add <my ad> 19.172.in-addr.arpa 0.11 PTR server1.sc.local
>
Why are you creating one reverse zone, then trying to add a record to a 
different reverse zone
>
> but this command create a zone 172.19.11.11.0 !!!!!!
>
> Must I create another zone like 0.18.172 before ? And what is the 
> syntax for create a PTR  record with classe B network ...
>
You definitely need the zone to exist before you can add records to it ;-)

I 'think' you have the 'name' wrong,  try '.0.11' instead of '0.11'

Rowland





More information about the samba mailing list