View Single Post
  #1  
Old 17th August 2009, 22:17
guimnk guimnk is offline
Member
 
Join Date: Jul 2009
Posts: 92
Thanks: 7
Thanked 2 Times in 2 Posts
Default PTR Records in ISPConfig 3

Hi all..

I've authority over of my ip block (example: 192.168.1.0/28)

I'm trying to create my own PTR records in ISPConfig.

This is a example of PTR Zone using bind9:

Code:
zone "1-30.1.168.192.in-addr.arpa" {
        type master;
        file "/etc/bind/db.192";
};
Code:
$TTL    604800
@       IN      SOA     test.domain.com. root.test.domain.com. (
                     2009040101         ; Serial
                           3600         ; Refresh
                          86400         ; Retry
                        2419200         ; Expire
                         604800 )       ; Negative Cache TTL
; NS
@	IN      NS      ns1.domain.com.
@	IN      NS      ns2.domain.com.

; domain.com
10        IN      PTR     test.domain.com.
And it is a Zone of domain.com:

Code:
$TTL    604800
@       IN      SOA     test.domain.com. root.test.domain.com. (
                     2009040101         ; Serial
                           3600         ; Refresh
                          86400         ; Retry
                        2419200         ; Expire
                         604800 )       ; Negative Cache TTL
; NS
@	IN      NS      ns1.domain.com.
@	IN      NS      ns2.domain.com.

; domain.com
ns1		IN	A	192.168.1.1
ns1	        IN	A	192.168.1.2

test           IN    A        192.168.1.10
So, the IP test.domain.com is 192.168.1.10 and 192.168.1.10 resolve test.domain.com

In ISPConfig I'm trying to create a new zone with name 1-30.1.168.192.in-addr.arpa. and next, will create a NS record and PTR record. Example:

Code:
Zone: 1-30.1.168.192.in-addr.arpa.
Nameserver Hostname: ns1.domain.com.

Zone: 1-30.1.168.192.in-addr.arpa.
Nameserver Hostname: ns2.domain.com.

Name: 1
Canonical Name: ns1.domain.com.

Name: 2
Canonical Name: ns2.domain.com.

Name: 10
Canonical Name: test.domain.com.
And in zone of "domain.com" is:

Code:
 
Hostname: ns1.domain.com.
IP-Address: 192.168.1.1

Hostname: ns2.domain.com.
IP-Address: 192.168.1.2

Hostname: test.domain.com.
IP-Address: 192.168.1.10
I'm trying to view the result but not works.. Please, how can I do to fix it?

Last edited by guimnk; 18th August 2009 at 16:05.
Reply With Quote
Sponsored Links