Unbound forwarding mode incompatible with dns64-prefix custom option
-
This is probably an Unbound issue.
Using Unbound in the Resolver mode (Enable Forwarding Mode unchecked)
Under custom options, add:
module-config: "dns64 validator iterator" dns64-prefix: 2001:67c:27e4:1064::/96
This will turn on DNS64 in unbound. You will see that ipv4 only addresses are now given an AAAA record.
If you then go to the resolver and check "Enable Forwarding mode", you will get the following error message:
The following input errors were detected: The generated config file cannot be parsed by unbound. Please correct the following errors: /var/unbound/test/unbound.conf:111: error: syntax error read /var/unbound/test/unbound.conf failed: 1 errors in configuration file
I don't know if this is a pfSense issue or Unbound.
-
You need to put
server:
on a line before your custom options to ensure they are in the proper context. It's in the docs. It worked by chance before because your options just happened to land in the server context, but when you enable forwarding, they end up after that which is in a different place. -
@jimp said in Unbound forwarding mode incompatible with dns64-prefix custom option:
server:
This fixed it!