AdGuardDNS icon indicating copy to clipboard operation
AdGuardDNS copied to clipboard

DNS rebind protection

Open ammnt opened this issue 3 years ago • 0 comments

Hello,

please add DNS rebind native protection to block all private addresses and subnets. Now I use these ugly rules:

/^(22[4-9]|23[0-9])(.[0-9]{1,3}){3}$/
/^(24[0-9]|25[0-5])(.[0-9]{1,3}){3}$/
/^(::1)$/
/^(::ffff:)/
/^(fc00::)/
/^(fe80::)/
/^(febf::)/
/^(fec0::)/
/^(feff::)/
/^(ff00::)/
/^0(.[0-9]{1,3}){3}$/
/^10(.[0-9]{1,3}){3}$/
/^100.(6[4-9]|[7-9][0-9]{1}|1[0-1][0-9]|12[0-7])(.[0-9]{1,3}){2}$/
/^127(.[0-9]{1,3}){3}$/
/^169.254(.[0-9]{1,3}){2}$/
/^172.(1[6-9]|2[0-9]|3[0-1])(.[0-9]{1,3}){2}$/
/^192.0.0(.[0-9]{1,3}){1}$/
/^192.0.2(.[0-9]{1,3}){1}$/
/^192.168(.[0-9]{1,3}){2}$/
/^198.(1[8-9])(.[0-9]{1,3}){2}$/
/^198.51.100(.[0-9]{1,3}){1}$/
/^203.0.113(.[0-9]{1,3}){1}$/

Thank you. Best regards!😎

ammnt avatar Sep 26 '22 14:09 ammnt