[Unbound-users] How to config whitelist for EDNS client subnetin unbound
yukun2005 at gmail.com
Thu Jan 8 00:59:53 UTC 2015
If 0.0.0.0/0 is not a good idea, how about setting the prefix length
as max-client-subnet-ipv4 option?
According to unbound.conf manual,
Specifies the maximum prefix length of the client source address we
are willing to expose to third parties for IPv4. Defaults to 24.
Since this is the default prefix length exposed to the DNS server that
supports ECS, the records returned by the DNS server must be optimal for
the prefix with a length set by max-client-subnet-ipv4/6.
On Thu, Jan 8, 2015 at 6:23 AM, Yuri Schaeffer <yuri at nlnetlabs.nl> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> On 01/06/2015 07:32 PM, Over Dexia wrote:
> > But I believe that would be mitigated by storing the no-ecs
> > response with a source 0.0.0.0/0 (like Kun YU proposed) in the
> > subnet cache. If all queries for that domain use this cache, the
> > reply should be like intended.
> Think about what having a scope netmask of 0 means:
> "The most specific answer available for your source IP has the
> 0 bits in common with the address 0.0.0.0"
> Thus any query will match this cache entry. Which will result in the
> same behaviour as the current implementation.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
> -----END PGP SIGNATURE-----
> Unbound-users mailing list
> Unbound-users at unbound.net
Ph.D. Candidate, Department of Electronic Engineering, Tsinghua University,
Beijing, 100084, China.
Mobile Phone：+86 13466535220
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Unbound-users