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
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?
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
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.
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.
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)