[Samba] Samba4 how to get a reverse dlz zone

steve steve at steve-ss.com
Sat Apr 7 08:55:03 MDT 2012

On 03/04/12 02:10, Amitay Isaacs wrote:
> On Tue, Apr 3, 2012 at 3:27 AM, steve<steve at steve-ss.com>  wrote:

> You can use samba-tool dns commands to create a reverse zone.
> To create a reverse zone for subnet,
> $ samba-tool dns zonecreate<server>  1.168.192.in-addr.arpa
> And then you can add record (e.g. test1.my.domain ->
> $ samba-tool dns add<server>  1.168.192.in-addr.arpa 1 PTR test1.my.domain
> Amitay.

Hi Amitay

s4 seemed to create the forward zone by itself. We added the reverse 
zone as you mentioned. Our win 7 clients inject the forward zone with 
their details automatically by DHCP.

For our Linux clients authenticating against s4, we had to use fixed IP.

This is with bind9. Could you take a look at this for us?

hh1:/home/steve # samba-tool dns add hh3.site hh10.hh3.site 
Password for [Administrator at HH3.SITE]:
Record added successfully

hh1:/home/steve # samba-tool dns add 1.168.192.in-addr.arpa 
11 PTR hh11.hh3.site
Password for [Administrator at HH3.SITE]:
Record added successfully

hh1:/home/steve # host hh10.hh3.site
hh10.hh3.site has address

hh1:/home/steve # host domain name pointer hh10.hh3.site.

It seems to be working. Is this the correct way of proceeding?


More information about the samba mailing list