IPv4 in IPv6 in AAAA records
Miek Gieben
miekg at atoom.net
Mon Aug 23 08:16:06 UTC 2004
[On 23 Aug, @ 08:31, Phil wrote in "IPv4 in IPv6 in AAAA records ..."]
> ham.org. 12H IN AAAA ::FFFF:D166:C049
>
> It's just a slight convenience to have this. I was just wondering if this
the following patch restores this behavior.
Regards,
Miek
=-=-=-=-=-= begin patch =-=-=-=-=-=
Index: RELNOTES
===================================================================
RCS file: /cvs/nsd/RELNOTES,v
retrieving revision 1.39
diff -u -r1.39 RELNOTES
--- RELNOTES 18 Aug 2004 09:01:33 -0000 1.39
+++ RELNOTES 23 Aug 2004 08:09:58 -0000
@@ -6,6 +6,7 @@
BUG FIXES:
- Bug #87: allow @ in the rdata
+ - Bug #88: allow ::FFFF:ipv4addr in AAAA records
2.1.2
=============
Index: zparser.y
===================================================================
RCS file: /cvs/nsd/zparser.y,v
retrieving revision 1.74
diff -u -r1.74 zparser.y
--- zparser.y 18 Aug 2004 09:01:33 -0000 1.74
+++ zparser.y 23 Aug 2004 08:09:58 -0000
@@ -672,7 +672,7 @@
{ error_prev_line("Syntax error in PX record"); }
;
-rdata_aaaa: STR trail
+rdata_aaaa: dotted_str trail
{
zadd_rdata_wireformat(zparser_conv_a6(parser->region, $1.str)); /* IPv6 address */
}
More information about the nsd-users
mailing list