[Samba] samba-tool PTR with /16 network
Hénoch Hervé
h.henoch at isc84.org
Wed Aug 7 07:38:25 UTC 2019
Hi,
The wiki is clear for class C network it is not clear for class B.
Suppose my network is 172.19.0.0/16, I suppose the following command is
good :
> samba-tool dns zonecreate <Your-AD-DNS-Server-IP-or-hostname>
19.172.in-addr.arpa
But what is the syntax PTR record for this computer :
server1.domain.lan = 172.19.0.11 ?
I've tested :
> samba-tool dns add <Your-AD-DNS-Server-IP-or-hostname>
19.172.in-addr.arpa 0.11 PTR server1.domain.lan : not good !
> samba-tool dns add <Your-AD-DNS-Server-IP-or-hostname>
19.172.in-addr.arpa 11.0 PTR server1.domain.lan: not good !
> samba-tool dns add <Your-AD-DNS-Server-IP-or-hostname>
19.172.in-addr.arpa .0.11 PTR server1.domain.lan : not good !
> samba-tool dns add <Your-AD-DNS-Server-IP-or-hostname>
19.172.in-addr.arpa 11.0. PTR server1.domain.lan: not good !
Regard
Le 06/08/2019 à 18:16, Rowland penny via samba a écrit :
> On 06/08/2019 16:21, L.P.H. van Belle via samba wrote:
>> Its pretty clear how in the wiki.
>>
>> https://wiki.samba.org/index.php/DNS_Administration
>>
>> samba-tool dns zonecreate <Your-AD-DNS-Server-IP-or-hostname>
>> 0.99.10.in-addr.arpa
>>
>> ;-)
>
> And that would get you a /24 network
>
> And I also thought wrong, yes the name is wrong, but it should have
> been '11.0' instead of '0.11'
>
> Rowland
>
>
>
--
*Hervé* *HÉNOCH*
*Responsable projets informatique*
Tél. : 04.90.27.57.44 h.henoch at isc84.org <mailto:h.henoch at isc84.org>
/250, chemin de Baigne-Pieds – 84 000 Avignon/
*/www.institut-sainte-catherine.org/*
<http://www.institut-sainte-catherine.org/>
More information about the samba
mailing list