manish-yadav / pdns-gui

Automatically exported from code.google.com/p/pdns-gui
0 stars 0 forks source link

Unable to edit number domain for example 777.com #15

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.open 777.com domain
2.click on save button

What is the expected output? What do you see instead?
I want to edit 777.com. After clicking on the save button I see an error 
message "Row 1: invalid name (only letters, digits and hyphen allowed).".

What version of the product are you using? On what operating system?
PHP 5.2, 5.3 and demosite http://www.powerdns-gui.org/

Original issue reported on code.google.com by cleo.l...@gmail.com on 11 Jun 2010 at 7:16

Attachments:

GoogleCodeExporter commented 8 years ago
As per RFC 1035 - 2.3.1:

Domain names must follow the rules for ARPANET host names.  They must start 
with a letter, end with a letter or digit, and have as interior characters only 
letters, digits, and hyphen.

Original comment by level7systems@googlemail.com on 11 Jun 2010 at 7:21

GoogleCodeExporter commented 8 years ago

Original comment by level7systems@googlemail.com on 11 Jun 2010 at 7:21

GoogleCodeExporter commented 8 years ago
Yes, you are right. 

But as per RFC 1123 - 2.1
"the restriction on the first character is relaxed to allow either a letter or 
a digit."

as per RFC 2181 - 11. Name syntax
"any binary string can serve as the value of any record that includes a domain 
name as some or all of its value (SOA, NS, MX, PTR, CNAME, and any others that 
may be added)."

It would be fine allow to let set checking domain name at least according RFC 
1123.

Original comment by cleo.l...@gmail.com on 11 Jun 2010 at 4:23

GoogleCodeExporter commented 8 years ago
in-addr.arpa domains don't start with a letter either... I'm having problems 
with a reverse zone due to this same problem.

Original comment by skeffl...@gmail.com on 7 Sep 2012 at 9:03