-
hi, could not find a working answer in the issues or wiki pages. how do i setup custom dns rewrites for a specific clients list (settings / client settings )? -- external clients are matched via IP (everything not 192.168..) this works fine. i tried different things, ie. a custom filtering rule with the $dnsrewrite modifier, but it looks like dns rewrites always win. How to set this up? tia. //edit. tried some things. the custom rewrite rule works, when the dns rewrite entry is removed. So 'dns rewrites' overwrite custom rules. //edit2: ||mail.example.org^$important,client='external',dnsrewrite=example.org |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I see you've been able to figure this out already, You can also use the |
Beta Was this translation helpful? Give feedback.
I see you've been able to figure this out already,
client
anddnsrewrite
is indeed what you need.You can also use the
ctag
modifier if you want to limit the rule to a group of clients:https://github.com/AdguardTeam/AdGuardHome/wiki/Hosts-Blocklists#ctag