This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

using regular expressions in host names

hi, 

setting up dns groups in packet filter for google apps, i need to enter 

docs[N].google.com

where N is a digit from 0 to 9.  Instead of creating 10 DNS groups, I tried this regex:

docs[0-9]\.google.com 

but it doesn't seem to work.  

any help, thanks!


This thread was automatically locked due to age.
Parents
  • the long way I did it was to define ten (10) DNS groups, from hostname docs0.google.com to docs9.google.com
    then I would have to do another ten definitions for spreadsheets0.google.com to spreadsheets9.google.com.

    I'm creating a packet filter rule to allow http and https services for these DNS groups based on instructions of Google

    When i defined a DNS group with a hostname *.docs.google.com, it appeared to work, though.  Astaro (v7.510) resolved IPs with it.

    So it's appears OK to use *.somehostname.com, but not some[0-9]hostname.com . . getting confused [:S]
Reply
  • the long way I did it was to define ten (10) DNS groups, from hostname docs0.google.com to docs9.google.com
    then I would have to do another ten definitions for spreadsheets0.google.com to spreadsheets9.google.com.

    I'm creating a packet filter rule to allow http and https services for these DNS groups based on instructions of Google

    When i defined a DNS group with a hostname *.docs.google.com, it appeared to work, though.  Astaro (v7.510) resolved IPs with it.

    So it's appears OK to use *.somehostname.com, but not some[0-9]hostname.com . . getting confused [:S]
Children
No Data