qsjx1 发表于 2007-2-16 02:44:51

请问各位高手,ROS的DNS中支持域名中使用通配符*吗?

如题   
例如 *.sina.com    或者 www.topzj.* 之类的?

怎样设置才能达到上述效果?

zzyzzyboy 发表于 2007-2-17 14:43:17

试国,没好使

stimy 发表于 2010-7-3 13:44:24

Wildcard properties (dst-host and dst-path) match a complete string (i.e., they will not match "example.com" if they are set to "example"). Available wildcards are '*' (match any number of any characters) and '?' (match any one character). Regular expressions are also accepted here, but if the property should be treated as a regular expression, it should start with a colon (':'). Small hits in using regular expressions: \\ symbol sequence is used to enter \ character in console \. pattern means . only (in regular expressions single dot in pattern means any symbol) to show that no symbols are allowed before the given pattern, we use ^ symbol at the beginning of the pattern to specify that no symbols are allowed after the given pattern, we use $ symbol at the end of the pattern to enter [ or ] symbols, you should escape them with backslash \. It is strongly recommended to deny all IP addresses except those behind the router as the proxy still may be used to access your internal-use-only (intranet) web servers. Also, consult examples in Firewall Manual on how to protect your router.

c254477879 发表于 2010-7-5 19:55:04

支持正则表达式
页: [1]
查看完整版本: 请问各位高手,ROS的DNS中支持域名中使用通配符*吗?