Skip to content

Block Domain before rewrite #7282

Discussion options

You must be logged in to vote

After tinkering with the syntax i found the solution.
All i was missing was the denyallow, after this it works like a charm.
Thank you for pointing me in the right direction.

||service1.domain.com^
||service2.domain.com^

|*.domain.com^$dnsrewrite=NOERROR;A;10.0.0.100,denyallow=service2.domain.com|service1.domain.com

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Penholder7412
Comment options

@Penholder7412
Comment options

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