Problems updating IPv6 prefix

I am testing the new (PR #1112) mechanism to update mutilple hostnames and to use a prefix instead of a full IPv6 IP. My URL looks similar to this:

https://update.dedyn.io?hostname=<subdomain>.dedyn.io,<host2>.<subdomain>.dedyn.io,<host3>.<subdomain>.dedyn.io&myipv4=192.0.2.1&myipv6=2001:db8:1::/56

(<subdomain>, <host2>, <host3> have real values of course and they all have existing A and AAAA RRsets.)

However I am getting HTTP Status 500 and the following response instead of good:

<!doctype html>
<html lang="en">
<head>
  <title>Server Error (500)</title>
</head>
<body>
  <h1>Server Error (500)</h1><p></p>
</body>
</html>

More tests:

  • The same thing happens when using ipv6 instead of myipv6 as the parameter name. ipv6 is explicitly mentioned in the documentation to work with a prefix whereas myipv6 is not.
  • I tried 2001:db8:1::1/56 instead of 2001:db8:1::/56, i.e. including an Interface Identifier, as mentioned in the documentation. Same result.

Is this a bug or am I doing something wrong?

Thx.
fiwswe

2 Likes

Note: When I use a complete IPv6 address instead of a prefix, the same call works fine.

1 Like

This is a bug, thanks for catching it. Sorry that this is happening.

Can you please report it on GitHub? We’ll then prepare a fix.

Thanks,
Peter

1 Like

#1154

1 Like

This has been fixed in PR #1155.

Thanks!

1 Like