plugin/dns64 : add support for DNS requests over IPv4 network (#4809)

This commit is contained in:
Ondřej Benkovský
2022-01-07 17:16:23 +01:00
committed by GitHub
parent 39a99a5bbe
commit b546031f9b
5 changed files with 106 additions and 9 deletions

View File

@@ -66,6 +66,8 @@ func dns64Parse(c *caddy.Controller) (*DNS64, error) {
dns64.Prefix = pref
case "translate_all":
dns64.TranslateAll = true
case "allow_ipv4":
dns64.AllowIPv4 = true
default:
return nil, c.Errf("unknown property '%s'", c.Val())
}