dns-ui icon indicating copy to clipboard operation
dns-ui copied to clipboard

use of "classification" field

Open bastiaanvisser opened this issue 6 years ago • 6 comments

What is the use of the "Classification" field when adding a zone (or editing its options), and is it somehow possible to disable this field (or make it optional)?

bastiaanvisser avatar Jan 21 '19 19:01 bastiaanvisser

Was just about to create an issue to ask the same question.

Napsty avatar Jan 23 '19 13:01 Napsty

This field was created and used by Opera Software. In their case it was used to distinguish between internal zones (that should only be synced out to the internal resolvers) and public zones (that should be synced to all resolvers and the public nameservers). Other companies will likely not have a setup like this, and so for them the field is not very useful (though providing any value at all in the field will suffice). If we are to make the field optional/hidden, it will have to be done by adding a configuration setting for it.

thomas-pike avatar Jan 23 '19 13:01 thomas-pike

Or you could just rename the field from "classification" to "description"? The field itself seems to be irrelevant for the actual zone, but a description field is always nice to have. But yes, it should be optional.

Napsty avatar Jan 23 '19 13:01 Napsty

Please keep it as "classification" and not "description". We've the same use case as Opera. Some domains are only internal for 10.* IP addresses and domains are replicated to our external servers.

robertpenz avatar Mar 04 '19 08:03 robertpenz

Don't worry, I have no intention of renaming the field, as Opera would not be happy with me breaking upgrades for them. I expect the simplest option is to make a configuration setting with 3 options for the field: required / optional / disabled

thomas-pike avatar Mar 04 '19 09:03 thomas-pike

If you could make it optional, that would be great. Right now, I have a dozen domains, only the most recent has a classification, and that's because I couldn't create a zone using dns-ui w/o filling out that field.

jsoref avatar Apr 11 '19 19:04 jsoref