mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2026-04-26 16:15:54 +03:00
[GH-ISSUE #51] Make it easy to add A and PTR records as a pair #27
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
pull-request
question
question
upstream
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nsedit#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fastcat on GitHub (Jul 29, 2015).
Original GitHub issue: https://github.com/tuxis-ie/nsedit/issues/51
Since A and PTR records are very often paired, it would be convenient to be able to add them as a pair. Auto-detecting the PTR zone would be nifty, but not absolutely necessary.
Even cooler would be the ability to edit them as a pair, but that's rather more difficult.
@tuxis-ie commented on GitHub (Jul 30, 2015):
That sounds like a good idea. Do you have any idea how you would like to see that implemented? It's not based on a zone, so it would be an extra option in a tools section in the menu or something like that?
@fastcat commented on GitHub (Jul 30, 2015):
I see two "natural" ways to do it.
One: Make it an "extension" to the box for adding an A / AAAA record to a zone -- e.g. if you select one of those, have extra fields that appear for adding the PTR record. The zone in which to place the PTR record could be a drop-down, with a little javascript to try to auto-select the correct zone based on the content for the A/AAAA record. I don't think a separate TTL field would be necessary, use the same TTL for both records.
Two: A top level option as you suggest, with similar javascript to try to auto-select both zones.
The UI for option two is probably a bit cleaner, though it does require two variants of the zone auto-selector js.
As far as placement of the link, for option 1 it's embedded into the existing UI. For option 2, I think the most natural placement would be another "tab" button alongside the import and add zone buttons.