[x] This is not a support question, I have read about opensource and will send support questions to the IRC channel, GitHub Discussions or the mailing list.
PowerDNS auth does not allow IPv6 to IPv4 addresses in AAAA records.
::ffff:c3c9:a472 is fine.
::ffff:195.201.164.114 is already invalid IPv6 address.
But PowerDNS itself always converts ::ffff:c3c9:a472 to ::ffff:195.201.164.114, and if we want to change ::ffff:195.201.164.114 to ::ffff:195.201.164.115, it shows error Invalid IPv6 address.
Environment
Operating system: Rocky Linux 8.10 (Green Obsidian)
Software version: pdns-4.9.1-1pdns.el8.x86_64
Software source: PowerDNS repository
Steps to reproduce
Create ipv6-top-ipv4.test zone
with AAAA record converted from IPv6 to IPv4 ::ffff:c3c9:a472
Short description
PowerDNS auth does not allow IPv6 to IPv4 addresses in AAAA records.
::ffff:c3c9:a472
is fine.::ffff:195.201.164.114
is already invalid IPv6 address.But PowerDNS itself always converts
::ffff:c3c9:a472
to::ffff:195.201.164.114
, and if we want to change::ffff:195.201.164.114
to::ffff:195.201.164.115
, it shows errorInvalid IPv6 address
.Environment
Steps to reproduce
Create ipv6-top-ipv4.test zone
with AAAA record converted from IPv6 to IPv4
::ffff:c3c9:a472
in response AAAA record is already converted to
::ffff:195.201.164.114
The pdnsutil also shows the converted address.
Try to change ipv6-to-ipv4.test. AAAA
::ffff:195.201.164.114
to::ffff:195.201.164.115
Response
Create ipv6-to-ipv4.testfailed
zone with AAAA record converted from IPv6 to IPv4 (::ffff:195.201.164.114)
Response
Expected behaviour
PowerDNS accept AAAA records like ::ffff:195.201.164.114
Actual behaviour
{"error": "Record ipv6-to-ipv4.testfailed./AAAA '::ffff:195.201.164.114': Invalid IPv6 address"}
Other information