Skip to content
Discussion options

You must be logged in to vote

I am sorry that it took us so long to supply the valid answer, but here it is:

$dnstype=AAAA,denyallow=example.org|example.com,dnsrewrite=NXDOMAIN;;

This rule will make AdGuard Home return NXDOMAIN to queries for all domains save for example.org and example.com.

There's one more thing to it. Ideally, the rule should look like this:
$dnstype=AAAA,denyallow=example.org|example.com,dnsrewrite=NOERROR;;

The problem is that AGH currently does not support rewrites to empty "NOERROR" responses. I'll open a bug report about it.

Replies: 4 comments 6 replies

Comment options

You must be logged in to vote
3 replies
@Mosney
Comment options

@ainar-g
Comment options

ainar-g Jan 4, 2022
Collaborator

@Mosney
Comment options

Comment options

You must be logged in to vote
1 reply
@Mosney
Comment options

Comment options

You must be logged in to vote
1 reply
@Mosney
Comment options

Answer selected by ameshkov
Comment options

You must be logged in to vote
1 reply
@Mosney
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants