PDA

View Full Version : Automatic PTR zone creation fail!


josej
22nd July 2008, 13:04
Helo,

First of all, thanks in advance, and sorry but my english is very poor.

From the latest update of ISPConfig to version 2.2.24 the automatic PTR creation does not work for me. And all entries has deleted.

How I recreate de PTR zones?

Temporary I have put this entries manually

but in the past this job has automatic..

Waht can I do?

I expect that the question is understandable..

Thanks

till
22nd July 2008, 13:31
The PTR records were created automatically when you craete a DNS Record, you can not create them manually. The way ISPConfig creates PTR records has been changed in the latest versions as the way there were created before was not correct and the ptr files should not contain all domains, just one per IP.

josej
22nd July 2008, 16:55
I add a new Domain in ISPConfig and ISPConfig generate this file:
And no PTR entries...

Filename: pri.newdomain.com



$TTL 86400
@ IN SOA dns.mydomain.com. myemail.mydomain.com. (
2008072201 ; serial, todays date + todays serial #
28800 ; refresh, seconds
7200 ; retry, seconds
604800 ; expire, seconds
86400 ) ; minimum, seconds
;
NS dns.mydomain.com. ; Inet Address of name server 1
NS dns2.mydomain.com ; Inet Address of name server 2
;

MX 10 mail.newdomain.com.

newdomain.com. A x.y.z.w
mail A x.y.z.w
test A x.y.z.w
;;;; MAKE MANUAL ENTRIES BELOW THIS LINE! ;;;;



Then If I want a PTR Record I put manually in pri.z.y.x.in-addr.arpa

$TTL 86400
@ IN SOA dns.mydomain.com. hostmaster.mydomain.com. (
2008072201 ; serial, todays date + todays serial #
28800 ; Refresh
7200 ; Retry
604800 ; Expire
86400) ; Minimum TTL
NS dns.mydomain.com.
NS dns2.mydomain.com.
50 PTR somedomain.com.
51 PTR dns1.somedomain.com
52 PTR dns2.somedomain.com

;;;; MAKE MANUAL ENTRIES BELOW THIS LINE! ;;;;

50 PTR dns.mydomain.com.
52 PTR dns2.mydomain.com.
50 PTR mail.newdomain.com.
50 PTR test.newdomain.com.



What is the best way to do this? or what is the way of ISPConfig put PTR entries?

in this file ISPConfig only put a PTR entry of "somedomain.com" and no entry for "mydomain.com" and "newdomain.com"


Thanks in advance