Root Zones fail Validation #24
Replies: 8 comments 15 replies
-
Hi @andy-shady-org, that makes perfect sense to me. Let me see how I can fix this short-term ... I think it shouldn't be too much of an issue to make TLDs (root zones would just be called |
Beta Was this translation helpful? Give feedback.
-
Hm. I just tried to create a zone "com", which works perfectly well. However, I found an uncaught exception when entering "com." as the name of a zone when "com" already exists. "." does currently not validate though. |
Beta Was this translation helpful? Give feedback.
-
OK, that said - I put together a branch that contains experimental support for managing root zones. Essentially it creates a special case, allowing a zone name to be Can you check out if it works for you? If it does, I'll probably hide the functionality after a feature flag so people who don't manage their own root zones don't get confused and push a new release. |
Beta Was this translation helpful? Give feedback.
-
Sure, I'll check it out in the morning and let you know ASAP.
Thanks for your effort on this, very much appreciated.
|
Beta Was this translation helpful? Give feedback.
-
Thanks! I just published 0.18.4, which should be available on PyPI in a few minutes. Currently, unlike in yesterday's test branch, you'll need to enable that feature explicitly using
in |
Beta Was this translation helpful? Give feedback.
-
Hi @andy-shady-org, that's another one that will get more attention in the (hopefully) near future ... I guess until that happens (it will be a major feature) I should make validation fail for RFC2317 zones. Let me see what I can do short-term. |
Beta Was this translation helpful? Give feedback.
-
Re. "EmptyLabel": Did you manage to add the zone By the way, this looks like a bug in IPy to me. The other issue is the slow performance of "Add Record". Are you using the GUI for this? I think the performance is so bad because the form contains a pulldown menu for the zone, and with 8k zones it needs to be read from the DB and (worse) transferred to the client in order to create the pulldown menu. Currently I'm not sure how to tackle that, but I'll try to think of something. That's one of the "problems I didn't expect" issues. Another idea: If we're talking about the GUI here, could you try to use the "Add Record" button in the zone view instead of using "Add Record" from any other view? That one comes with the zone pre-selected, so it might (depending on how intelligent Django uses resources) avoid the cost of initialising the pulldown menu. |
Beta Was this translation helpful? Give feedback.
-
Can you describe the way you got the "Add Record" button to raise an exception? I wasn't able to enter the zone at all (correctly so, because its name is not valid), so how did you manage to click on "Add Record"? The error is either that you were able to create the zone (in that case I'm interested on how you did that) or some weird problem with "Add Record" causing it to raise an exception - I'm not entirely clear on how that can happen. An exception is never an expected and acceptable behaviour for GUI actions and that needs to be sorted out, IPy bug or not. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
inc @tobus3000
We run root zones, which have names of 'com', 'ch' and 'uk', etc. These are failing validation checks against invalid domain name.
I appreciate that validation should be done on the zone name, however perhaps an extra boolean field signifying if the zone is a root zone could bypass this validation.
What are your thoughts on this?
Beta Was this translation helpful? Give feedback.
All reactions