Host通配符问题

7,576 阅读1分钟

hosts文件是不支持子域通配符匹配的 如果需要可以:

mac 用户

brew install dnsmasq

dnsmasq.conf中添加address=/localhost.com/127.0.0.1

方案

文档

mac配置