dnsrewrite and client for ipv4 (split horizon) #6655
-
@@||dns.domain.org^$client=10.0.0.0/8,dnstype=A^dnsrewrite=NOERROR;A;10.20.30.40 I think this should serve the answer 10.20.30.40 for hosts in the 10/8 subnet when asked what is the A record for dns.domain.org I also tried using the /#clients url settings.. and could not get the 10.0.0.0/8 it's own 'custom filtering rules'.. I'm not sure if my syntax is the issue.. trying to combine two modifiers.. https://github.com/AdguardTeam/AdGuardHome/wiki/Hosts-Blocklists#modifiers "NOTE: If a rule contains a modifier not listed in this document, the whole rule must be ignored. " I think this is my problem.. looking for 10/8 hosts to get 10.20.30.40 and !10/8 hosts to get 50.60.70.80 (for example) (Thank you in advance) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Not sure what wasn't saving right.. but I bounced the server and then editing was fine..
Version: v0.107.43 |
Beta Was this translation helpful? Give feedback.
Not sure what wasn't saving right.. but I bounced the server and then editing was fine..
#6226 (comment)
Version: v0.107.43