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 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 ... Regard Le 06/08/2019 ? 16:28, Rowland penny via samba a ?crit?:> On 06/08/2019 15:05, H?noch Herv? via samba wrote: >> Hi, >> >> I want to create a reverse dns pointer with samba with a network /16. >> Suppose my network is 172.19.0.0/16 and i've a server with >> IP=172.19.0.11 and name server1.domain.lan >> >> What is the syntax to create the reverse dns zone and then the PTR ? >> >> Regard >> > On Debian, that would be 'apt-get install bind9 bind-utils' > > Or to put it another way, you cannot with the internal dns server. > > 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/>
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
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 ;-) Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Rowland penny via samba > Verzonden: dinsdag 6 augustus 2019 17:16 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] samba-tool PTR with /16 network > > 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 > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
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