TuxInvader / nginx-dns

Sample Configuration for DNS over HTTPS (DoH/DoT gateway) and GSLB with NGINX
BSD 2-Clause "Simplified" License
194 stars 47 forks source link

feat: inject DNS client into query via ECS #28

Open honigpferd opened 8 months ago

honigpferd commented 8 months ago

Add client ip as ECS param in EDNS(0). This provides useful in combination with Pi-hole (R) detecting clients by ECS.

see also https://github.com/pi-hole/FTL/pull/851 and Pi-hole setting EDNS0_ECS=true (default)

based on RFC7871