[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 192.168.1.0/24 subnet,
>
> $ samba-tool dns zonecreate<server>  1.168.192.in-addr.arpa
>
> And then you can add record (e.g. test1.my.domain ->  192.168.1.1)
>
> $ 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 192.168.1.2 hh3.site hh10.hh3.site 
A 192.168.1.10
Password for [Administrator at HH3.SITE]:
Record added successfully

hh1:/home/steve # samba-tool dns add 192.168.1.2 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 192.168.1.10

hh1:/home/steve # host 192.168.1.10
10.1.168.192.in-addr.arpa domain name pointer hh10.hh3.site.

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

Cheers,
Steve


More information about the samba mailing list