我正在configurationDNSMASQ以利用上游名称服务器,而不使用/etc/resolv.conf与server=选项。 我不太明白的是以下句子中的domain spec是什么意思?
dnsmasq.conf
# Add other name servers here, with domain specs if they are for # non-public domains. server=/localnet/10.0.0.1
这是一个可选部分,用于指定特定域的转发器。
你可以把server=8.8.8.8放在你的configuration文件中,为所有的域指定一个服务器。
如果你想让所有的google.com解决一个特定的服务器做一些像server=/google.com/8.8.4.4 。