[Samba] Samba4 how to get a reverse dlz zone

Amitay Isaacs amitay at gmail.com
Mon Apr 2 18:10:45 MDT 2012


On Tue, Apr 3, 2012 at 3:27 AM, steve <steve at steve-ss.com> wrote:
> El 02/04/12 18:22, felix at epepm.cupet.cu escribió:
>>>
>>> El 02/04/12 18:12, felix at epepm.cupet.cu escribió:
>>>>>
>>>>> Hi
>>>>> I have s4 with bind9 working fine. I see that it sets up a forward zone
>>>>> without using zone files (is that the dlz bit?)
>>>>>
>>>>> Is it possible to get it to produce a reverse zone?
>>>>>
>>>>
>>>> Well, it's possible.
>>>> I have done it using the DNS mmc console from Windows.
>>>>
>>>> Best regards,
>>>> Felix.
>>>
>>> Hi
>>> I'm not very good with windows. Is there a equivalent for Linux?
>>> Cheers,
>>> Steve
>>
>>
>> I don't know. It might be possible with samba-tool.
>>
>> Cheers,
>> Felix
>
>
> OK, thanks.
> Anyone?
>
> Steve

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.


More information about the samba mailing list