V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
wuyanteng2016
V2EX  ›  DNS

dnsmasq 客户端解析提示 unknow

  •  
  •   wuyanteng2016 · Jun 23, 2016 · 4075 views
    This topic created in 3595 days ago, the information mentioned may be changed or developed.
    dnsmasq 无法设置自身服务器 domain 域名吗?客户端访问的时候,怎么才能显示 dnsmasq 定义的服务器名称?

    比如:

    cmd >nslookup

    server: xxx.com
    IP: 192.168.0.10


    2 replies    2016-06-23 07:56:59 +08:00
    xmgit
        1
    xmgit  
       Jun 23, 2016
    addn-hosts=/path/hosts
    在 hosts 文件中写入 192.168.0.10 xxx.com
    配置文件的说明很详细,为什么不看?那么百度也能搜到答案吧。
    wuyanteng2016
        2
    wuyanteng2016  
    OP
       Jun 23, 2016
    多谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3139 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 14:41 · PVG 22:41 · LAX 07:41 · JFK 10:41
    ♥ Do have faith in what you're doing.