Skip to content
Discussion options

You must be logged in to vote

If you want to target just a single hostname and not it's subdomains, you'd better do something like that:
|null-host.server^$dnsrewrite=0.0.0.0

| - points to a beginning of a hostname, it does not match subdomains like || does.
For the second rule, you should use denyallow: ||*.server^$dnsrewrite=10.0.0.11,denyallow=null-host.server

Here's the pair of rules that does what you need:

||*.server^$dnsrewrite=10.0.0.11,denyallow=null-host.server
||null-host.server^$dnsrewrite=0.0.0.0

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by agneevX
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