V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
通过以下 Referral 链接购买 DigitalOcean 主机,你将可以帮助 V2EX 持续发展
DigitalOcean - SSD Cloud Servers
Vicer
V2EX  ›  VPS

在 VPS 上安装了 Strongswan 和 Dnsmasq。。。求救!

  •  
  •   Vicer · 2016-03-23 20:17:59 +08:00 · 309 次点击
    这是一个创建于 2970 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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 服务器?

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5523 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 09:12 · PVG 17:12 · LAX 02:12 · JFK 05:12
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.