wuyanteng2016
V2EX  ›  DNS

dnsmasq 客户端解析提示 unknow

  •  
  •   wuyanteng2016 · Jun 23, 2016 · 4514 views
    This topic created in 3797 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
    xmgit
    Jun 23, 2016
    1
    addn-hosts=/path/hosts
    在 hosts 文件中写入 192.168.0.10 xxx.com
    配置文件的说明很详细,为什么不看?那么百度也能搜到答案吧。
    wuyanteng2016
    wuyanteng2016
    OP
    Jun 23, 2016
    2
    多谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1836 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 15:30 · PVG 23:30 · LAX 07:30 · JFK 10:30
    ♥ Do have faith in what you're doing.