Dnsmasq 监听的地址为 192.168.30.1
用 nslookup 结果如下:
连接用 Strongswan 搭建的 VPN D:\Users\Vicer>nslookup baidu.com 服务器: UnKnown Address: 192.168.30.1
*** UnKnown 找不到 baidu.com: No response from server
同一台机器,此时连接 AnyConnect ,结果如下:
D:\Users\Vicer>nslookup baidu.com 1.8.168.192.in-addr.arpa primary name server = localhost responsible mail addr = nobody.invalid serial = 1 refresh = 600 (10 mins) retry = 1200 (20 mins) expire = 604800 (7 days) default TTL = 10800 (3 hours) 服务器: UnKnown Address: 192.168.8.1
名称: baidu.com Addresses: 180.149.132.47 220.181.57.217 111.13.101.208 123.125.114.144
该怎么设置,才能使 Strongswan 用 Dnsmasq 作为 DNS 服务器?