plugin/dns64: reject unsupported prefix lengths (#8611)

This commit is contained in:
jxj
2026-10-08 16:25:27 +08:00
committed by GitHub
parent 311a9915da
commit e886525620
3 changed files with 25 additions and 1 deletions

View File

@@ -20,6 +20,8 @@ dns64 [PREFIX]
~~~
* **PREFIX** defines a custom prefix instead of the default `64:ff9b::/96`.
Its length must be 32, 40, 48, 56, 64, or 96 bits, as defined in
[RFC 6052 Section 2.2](https://www.rfc-editor.org/info/rfc6052/#section-2.2).
Or use this slightly longer form with more options: