tuxis-ie / nsedit

DNS Editor working with PowerDNS's new API
GNU General Public License v2.0
196 stars 55 forks source link

Ability to add comment to zone and records #127

Open telefax opened 8 years ago

telefax commented 8 years ago

I'm looking into replacing some other system with pdns and nsedit. However, the other system has the ability to add comments to zones and records. For instance, Ticket number containing the order information and maybe which customer who owns this domain. Gets quite messy when a customer has 50 domains seemingly unrelated to their brand =)

Would this be possible with nsedit? Maybe store this metadata in a separate sqlite database, which can also be exported? I guess it wouldn't be a good idea to tamper with the pdns backend it self.

Thanks for a great tool btw, best I've found!

telefax commented 8 years ago

Interesting, there actually is a "comments" table in the stock pdns database that could be used :)

tuxis-ie commented 8 years ago

Indeed. Isn't too difficult to implement. However, when would you want to actually see this comment?

telefax commented 8 years ago

There is always a risk of cluttering the user interface. I like the way its now, its detailed but rather clean.

Not sure if it would be good to have another fold out when clicking on the actual record, or clicking on some little comment icon or not. At the same time, I really like having comments available all the time when I scroll through records :)

Two possible ways I see:

Maybe the zone records need to "break out" of the parent folding somehow, since each levels removes some usable screen width. This would make the comment field less intrusive.

bjoe2k4 commented 8 years ago

+1 for the Icon solution (similar to DNSSEC icon, but not necessarily a new column). And maybe a way to change the comment without updating soa of pdns API allows.