GNU bug report logs -
#26820
26.0.50; DNS mode and IPv6 reverse zones
Previous Next
Reported by: peder <at> klingenberg.no (Peder O. Klingenberg)
Date: Sun, 7 May 2017 18:52:01 UTC
Severity: wishlist
Tags: patch
Found in version 26.0.50
Fixed in version 26.1
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Tue, 23 May 2017 20:36:04 -0400
with message-id <w47f173xcb.fsf <at> fencepost.gnu.org>
and subject line Re: bug#26820: 26.0.50; DNS mode and IPv6 reverse zones
has caused the debbugs.gnu.org bug report #26820,
regarding 26.0.50; DNS mode and IPv6 reverse zones
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
26820: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26820
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Last week I was trying to set up reverse delegations for some newly
assigned IPv6 address space. It was... painful.
IPv6 addresses are ugly enough in their normal format, but when used in
a reverse zone, they need to be converted to individual nibbles
separated by dots, reversed, and have .ip6.arpa. appended. The result
is less than human friendly.
So I've written a new feature for dns-mode.el that allows me to mostly
relate to the normal IPv6 format, and convert automatically to the
nibble format. I can for instance do this in a (part of a) zone file,
where I'm only interested in defining hosts in the last 16 bits of the
address:
$ORIGIN 2a0a:3dc0:10::/112
::1/-112 IN PTR www.example.com.
And then, by pressing C-c C-e on each of the IPv6 addresses, end up with
the necessary
$ORIGIN 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.0.0.c.d.3.a.0.a.2.ip6.arpa.
1.0.0.0 IN PTR www.example.com.
Assuming I'm doing this as I type, I can then yank the last
standard-format address, do a minimal edit, C-c C-e again, and continue
typing to define the next PTR record.
I'm hoping this sounds useful to other people as well. I'll pass along
the patch as soon as I get a bug# to attach to it. :)
[Message part 3 (message/rfc822, inline)]
Version: 26.1
Thanks; tweaked and applied as 8f6550b.
This bug report was last modified 8 years and 58 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.