Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
krisbai
V2EX  ›  Linux

请教: dnsmasq 的配置文件问题。

  •  
  •   krisbai · Jan 16, 2018 · 3222 views
    This topic created in 3046 days ago, the information mentioned may be changed or developed.
    新增了一台服务器,配置了 dnsmasq.hosts.conf 文件 。格式 IP 域名 主机名 ,如果域名是.com 结尾的主机名就可以正常走内网 Ping 通 ,如果域名以其他方式结尾就跳过内部 DNS 了。dig 出来的主机内网 IP 正常。
    正常格式:1.2.3.4 a.buy.com buy
    异常格式:1.2.3.4 a.buy.cc buy
    defunct9
        1
    defunct9  
       Jan 16, 2018
    全部配置贴出来看看
    Sh888
        2
    Sh888  
       Jan 16, 2018
    LZ 语文水平有待提高啊。
    看了 3 遍,不知所云。
    krisbai
        4
    krisbai  
    OP
       Jan 16, 2018
    @sublimevsatom 谢谢!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5074 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 49ms · UTC 09:19 · PVG 17:19 · LAX 02:19 · JFK 05:19
    ♥ Do have faith in what you're doing.