[Samba] samba-tool PTR with /16 network

Rowland penny rpenny at samba.org
Wed Aug 7 09:35:34 UTC 2019


On 07/08/2019 10:12, L.P.H. van Belle via samba wrote:
> Hai,
>   
> Good your asking this.
> I should have tested it... and NO, PTR lookup is not working correctly in this case.
>   
> I've reported it as a bug.
> https://bugzilla.samba.org/show_bug.cgi?id=14077
>   

Hi Louis, did you create '172.19.0.55' ? I ask this because the OP was 
trying to create '172.19.0.11', I created a zone with:

sudo samba-tool dns zonecreate 19.172.in-addr.arpa -U Administrator

I then created the record with:

sudo samba-tool dns add 127.0.0.1 19.172.in-addr.arpa 11.0 PTR 
member1.example.com -U Administrator

host -t PTR 172.19.0.11

Then gave me:

11.0.19.172.in-addr.arpa domain name pointer member1.example.com.

and:

host -t A member1.example.com

Gives:

member1.example.com has address 172.19.0.11

Finally:

nslookup 172.19.0.11
11.0.19.172.in-addr.arpa    name = member1.example.com.

Rowland




More information about the samba mailing list