0

This is an example of my loadbalancer file for a single DNS entry.

acl:
  - 'is_site_net hdr(host) -i site.net’ 

use_backend:
  - 'site_net if is_site.net whitelist_list’

  site_net:
    options:
      server: ‘site_net 10.10.10.10:80'

I want to include an entry that uses wildcards, and wonder how to implement that in my file:

*.demo.site.net

2

Can't do wildcards AFAIK, but you can just match the tail of the address, which should do the same thing:

acl match_tail_example hdr_end(host) -i .demo.site.net
  • Should it not be a dot added .demo.site.net? – nicoX Mar 16 '15 at 16:21
  • Ah, sorry for the typo. Corrected. – Jim G. Mar 16 '15 at 16:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.