-
I don't want use IPv6, cause my ISP has a bad route on it. But If I want syncthing's IPv6 discovery to work normal, or something else etc, I should allow single or multi-domain AAAA record query. For convenience, example domain use
Although it looks wired, I think it should be work with my purpose. But the result is AAAA query for After some tests, I found I just need a little edit, it will work properly.
Just delete So I think the question is: Why |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
The
Without the
So, in your case, you need to remove both the
This works in our test setups. @ameshkov, do we want an extra block in the Wiki about such combinations? Is this even the desired behaviour? |
Beta Was this translation helpful? Give feedback.
-
I would've tried out |
Beta Was this translation helpful? Give feedback.
-
I am sorry that it took us so long to supply the valid answer, but here it is:
This rule will make AdGuard Home return NXDOMAIN to queries for all domains save for There's one more thing to it. Ideally, the rule should look like this: The problem is that AGH currently does not support rewrites to empty "NOERROR" responses. I'll open a bug report about it. |
Beta Was this translation helpful? Give feedback.
-
@Mosney, we've got an update. Latest We've also improved the wiki page about rewrites so that it now includes this exact case as an example. |
Beta Was this translation helpful? Give feedback.
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
andexample.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.