Name
ecs - add client subnet address
Description
This handler adds the EDNS0 client subnet's (RFC 7871) subnet to the current context. If none is found, nothing
is added. Other handlers, like geoip or acl can use this data instead of the source IP address.
Syntax
ecs
Examples
Enable cookies:
example.org {
ecs
whoami
}
Context
The ecs handler adds a single key to the context:
| Key |
Type |
Example |
Description |
ecs/address |
net.IP |
198.51.100.1 |
The address. |
See Also
See RFC 7871.