V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
wuyanteng2016
V2EX  ›  DNS

dnsmasq 客户端解析提示 unknow

  •  
  •   wuyanteng2016 · 2016-06-23 07:41:23 +08:00 · 3414 次点击
    这是一个创建于 2891 天前的主题,其中的信息可能已经有所发展或是发生改变。
    dnsmasq 无法设置自身服务器 domain 域名吗?客户端访问的时候,怎么才能显示 dnsmasq 定义的服务器名称?

    比如:

    cmd >nslookup

    server: xxx.com
    IP: 192.168.0.10


    2 条回复    2016-06-23 07:56:59 +08:00
    Bardon
        1
    Bardon  
       2016-06-23 07:46:18 +08:00
    addn-hosts=/path/hosts
    在 hosts 文件中写入 192.168.0.10 xxx.com
    配置文件的说明很详细,为什么不看?那么百度也能搜到答案吧。
    wuyanteng2016
        2
    wuyanteng2016  
    OP
       2016-06-23 07:56:59 +08:00
    多谢
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5005 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 08:54 · PVG 16:54 · LAX 01:54 · JFK 04:54
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.