
22nd August 2010, 17:24
|
|
Junior Member
|
|
Join Date: Dec 2005
Location: Italy
Posts: 12
Thanks: 5
Thanked 1 Time in 1 Post
|
|
Failed validation of a PTR record
Hello all, for an unusual configuration that i need to make in a reverse zone of my DNS configuration, i need to enter the resource records like this:
Name: 142.128/27.12.8.151.in-addr.arpa.
But the control panel say me that the Name is invalid. Can be caused by the slash? Can I modify this behaviour? Is a php's regex that control this?
I use myDNS instead of Bind, with ISPConfig3 on Lenny in an OpenVZ container.
Thanks you for all the good work
kokkez
|

23rd August 2010, 11:14
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,896
Thanks: 693
Thanked 4,191 Times in 3,207 Posts
|
|
Please update your ISPConfig to the latest stable release (3.0.2.2) or the 3.0.3 beta.
|

25th August 2010, 12:36
|
|
Junior Member
|
|
Join Date: Dec 2005
Location: Italy
Posts: 12
Thanks: 5
Thanked 1 Time in 1 Post
|
|
Well, i have tried with 3.0.2.2 and with 3.0.3 beta. The error on validation, of a PTR record, is the same:
ERROR 1. The zone has the wrong format.
In my first post i have incorrectly stated that was the Name that not validate, but i was wrong, it appear to be the Zone, sorry for that.
But the questions remains, where can i look for a try to edit the validation routine?
Last edited by kokez; 25th August 2010 at 14:08.
|

25th August 2010, 15:52
|
|
Member
|
|
Join Date: Aug 2010
Posts: 78
Thanks: 3
Thanked 3 Times in 3 Posts
|
|
Quote:
Originally Posted by kokez
Hello all, for an unusual configuration that i need to make in a reverse zone of my DNS configuration, i need to enter the resource records like this:
Name: 142.128/27.12.8.151.in-addr.arpa.
But the control panel say me that the Name is invalid. Can be caused by the slash? Can I modify this behaviour? Is a php's regex that control this?
I use myDNS instead of Bind, with ISPConfig3 on Lenny in an OpenVZ container.
Thanks you for all the good work
kokkez
|
I think you need to have a look at the validation function and tweak it to accept that data, or just open mysql and insert the record by hand (easy if it's a one off update).
I would like to ask why you need this weird syntax to begin with ?
ispcomm
|

25th August 2010, 16:04
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,896
Thanks: 693
Thanked 4,191 Times in 3,207 Posts
|
|
Quote:
Originally Posted by kokez
Well, i have tried with 3.0.2.2 and with 3.0.3 beta. The error on validation, of a PTR record, is the same:
ERROR 1. The zone has the wrong format.
In my first post i have incorrectly stated that was the Name that not validate, but i was wrong, it appear to be the Zone, sorry for that.
But the questions remains, where can i look for a try to edit the validation routine?
|
Just added 142.128/27.12.8.151.in-addr.arpa. in 3.0.3 beta as a zone and it works fine for me, no error. You should check that you do not have any whitespaces in front ot after the value.
|

25th August 2010, 17:18
|
|
Junior Member
|
|
Join Date: Dec 2005
Location: Italy
Posts: 12
Thanks: 5
Thanked 1 Time in 1 Post
|
|
Yes the zone validate to me too. Are the PTR records that dont want to validate.
It is my connectivity's provider that has instructed me to do in this way. He let me do the reverse lookup for only the subnet of 32 IP addresses he has assigned to my net. And it work.
The problem arise now because i like to switch to ispconfig3 for my DNS system. I like the idea behind mydns, it seem to be almost complete, it also support the "*" in records.
It remains only this little "problem", but if i can manage the validation rule, i think i'm ready to switch.
Thanks for your support.
Last edited by kokez; 25th August 2010 at 17:20.
|

25th August 2010, 23:19
|
|
Junior Member
|
|
Join Date: Dec 2005
Location: Italy
Posts: 12
Thanks: 5
Thanked 1 Time in 1 Post
|
|
Ok, i think i have resolved.
ISPConfig 3.0.2.2 and 3.0.3
Line 81 of /usr/local/ispconfig/interface/web/dns/form/dns_ptr.tform.php
from:
'regex' => '/^[\w\.\-]{1,64}$/',
to:
'regex' => '/^[\w\.\-\/]{1,64}$/',
Probably this is to include in the next stable version. Yes i know, this is a special case, but is a real one.
More, i think i can contribute some more precise italian translations, if this can help. Can i do? How? Some documents or posts to read?
I am totally new to the SVN things (well, never want to learn)
__________________
Luigi Cocconcelli
+393931792932
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 01:05.
|
Recent comments
15 hours 53 min ago
1 day 1 hour ago
1 day 2 hours ago
1 day 5 hours ago
1 day 10 hours ago
1 day 10 hours ago
1 day 12 hours ago
1 day 22 hours ago
2 days 3 hours ago
2 days 5 hours ago