-
-
Notifications
You must be signed in to change notification settings - Fork 340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add prefer-ip4 and require-ip4/require-ip6 options #165
Comments
Thanks for the issue report, the |
It seems that the prefer-ip4 and prefer-ip6 options are not recognised in unbound-control. Is this done on purpose? root@haanjdj:~ # unbound-control -c /var/unbound/unbound.conf get_option prefer-ip4 |
You need version 1.11.0 (or later) to have that option |
I have 1.11.0, according to unbound-control -h |
You are right, that is missing from the code. I added the missing functionality in commit 2541ccb and this should appear in the next release. |
Thanks! |
There's a
prefer-ip6
option but no correspondingprefer-ip4
option.Many service providers are unable to consider the reputation of any source address smaller than a /64 but many VPS providers put all customers in the same /64.
This makes it impossible to reliably use IPv6 for outbound connections. For example, sending any email to Google over IPv6 will significantly reduce the likelihood of it being delivered.
When querying DNS blacklists/whitelists that impose a query limit based on source address, the only viable solution at this time is to prefer IPv4 whenever possible.
Ideally I'd like to be able to configure specific zones to be IPv4-only with a
require-ip4
option.The text was updated successfully, but these errors were encountered: