Open cokebar opened 2 months ago
说明中,通配前缀是*-a.,是不是多了一个a 因为看了源码,看起来通配应该是*-. https://github.com/pymumu/smartdns/blob/22349761ec8b35aefe1a07d0922e97ef4fb0e0c0/src/dns_conf.c#L1436-L1457
*-a.
a
*-.
从右到左匹配 例如 1、baidu.com,实际匹配baidu.com结尾的任何域名 2、*.baidu.com,实际匹配.baidu.com结尾的任何域名 3、-.baidu.com,实际匹配baidu.com
说明中,通配前缀是
因为看了源码,看起来通配应该是
*-a.
,是不是多了一个a
*-.
https://github.com/pymumu/smartdns/blob/22349761ec8b35aefe1a07d0922e97ef4fb0e0c0/src/dns_conf.c#L1436-L1457