Jump to content
Welcome to our new Citrix community!

DNS rewrite policy problem

Ihar Harbuz

Recommended Posts

Good day.

I already have running DNS proxy configuration.

Now I need response concrete A record for request for domain "test.org" an source IP


I do:

add rewrite action a-rw-garant-ntp replace_dns_answer_section "DNS.NEW_RRSET_A(\"\",300)"
add rewrite policy p-rw-garant-ntp "DNS.RES.QUESTION.DOMAIN.EQ(\"test.org.\")" a-rw-garant-ntp
It's OK


add rewrite policy p-rw-garant-ntp1 "CLIENT.IP.SRC.EQ(" a-rw-garant-ntp
ERROR: Invalid argument

And consequently, when I try to do:

add rewrite policy p-rw-garant-ntp1 "CLIENT.IP.SRC.EQ(\"test.org.\")" a-rw-garant-ntp

I get "ERROR: Invalid argument"


How can I create policy for filtering both DNS domain and source IP?

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...