Skip to content

learning $dnstype modifier #3069

Answered by ameshkov
gentlyxu asked this question in Q&A
May 1, 2021 · 4 comments · 2 replies
Discussion options

You must be logged in to vote

Ah, I see, it blocks a domain because it points to na61-na62.wagbridge.advertisement.inner.alibabacorp.com and na61-na62.wagbridge.advertisement.inner.alibabacorp.com.gds.alibabadns.com which makes sense -- your rule matches both domains.

There're two options to fix this.

  1. Unblock those two domains. This is okay if they're only used as CNAME targets.
@@||wagbridge.advertisement.inner.alibabacorp.com^
@@||wagbridge.advertisement.inner.alibabacorp.com.gds.alibabadns.com^
  1. Use denyallow for the same reason:
/^(\S+\.)?advert/$denyallow=alibabacorp.com|alibabadns.com

Regarding dnstype - the query in the original issue is of type A so $dnstype=CNAME simply does nothing to it.

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

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

Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by gentlyxu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #3051 on May 04, 2021 12:32.