mirror of
https://github.com/PowerDNS-Admin/PowerDNS-Admin.git
synced 2026-04-25 08:45:55 +03:00
[GH-ISSUE #80] Use IPv6 address in PTR records #51
Labels
No labels
bug / broken-feature
bug / broken-feature
docs / request
feature / request
help / other
mod / help-wanted
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/PowerDNS-Admin-PowerDNS-Admin#51
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 @joachimtingvold on GitHub (Jul 6, 2016).
Original GitHub issue: https://github.com/PowerDNS-Admin/PowerDNS-Admin/issues/80
Hi,
Would be far more "user friendly" if IPv6 addresses could be used directly in the "Name" column for IPv6 PTR zones. I'm coming from the BIND-world, where static text-configuration files where used, and having a /32 IPv6 zone it was quite useful to have different sections in the configuration file for each /64 using
$ORIGIN.This is not possible in PowerDNS (afaik, at least), so some kind of simplification would be preferred (since we can't use $ORIGIN or sort the list "as we please"). PTR-records could be made using the
set-ptrfeature of the PowerDNS API (as per #43), but even when that feature gets implemented into PowerDNS-Admin, it might be useful to set PTR's manually (e.g. ones that doesn't have forward records).And even with the "auto PTR" function, you'd still benefit from showing the actual IPv6 address, rather than the cumbersome entries we have today (dotted string from hell).
The logic would happen server-side within PowerDNS-Admin, and the records would still be stored/sent normally (as dotted strings), but would be converted to/from this format before displaying/storing.
Make it an option to disable/enable (so that it can be introduced as a "experimental feature") that is disabled by default. First implementation might have no error-checks, and imply that the user knows what he is doing. Then at some point; do checks if the IPv6 address actually matches the zone we're editing.
@joachimtingvold commented on GitHub (Jul 6, 2016):
I plan to implement this at some point (unless someone beats me to it). Just made the issue to address the "problem", and to keep track of it.
@joachimtingvold commented on GitHub (Aug 19, 2016):
Should work with PR #118.
@joachimtingvold commented on GitHub (Aug 19, 2016):
@joachimtingvold commented on GitHub (Aug 19, 2016):
The code does no form of error-checking regarding if the IPv6-address actually is a part of the ip6.arpa domain that's being edited. That's left as an exercise for the user (-:
Also, it only works with
NEW_SCHEMA. 4.0 is released, so I don't see a reason why new features should be implemented using the old method(s).I left out IPv4 on purpose. I'll probably look into that at some point, but IPv6 PTR's was by far first-priority.
@ngoduykhanh commented on GitHub (Aug 25, 2016):
#118 has been merged.