bluesky139
V2EX  ›  DNS

dnsmasq 无法解析没有点号的域名?

  •  
  •   bluesky139 · May 23, 2016 · 4896 views
    This topic created in 3717 days ago, the information mentioned may be changed or developed.

    确切的说应该是计算机名。 我在配置文件里这样配置无效,不能解析 mac01 。 address=/mac01/10.10.10.38

    这样有效,能解析 mac01.local 。 address=/mac01.local/10.10.10.38

    7 replies    2016-06-04 14:37:52 +08:00
    wsy2220
        1
    wsy2220  
       May 24, 2016 via Android
    试试 mac01.
    bluesky139
        2
    bluesky139  
    OP
       May 24, 2016
    @wsy2220 仍然不行,可以解析"mac01.",但仍然无法解析"mac01"。
    realpg
        3
    realpg  
       May 24, 2016
    .mac01 试试
    bluesky139
        4
    bluesky139  
    OP
       May 25, 2016
    @realpg 仍然不行。
    Lentin
        5
    Lentin  
       May 25, 2016
    引用一下 hosts 吧……
    bluesky139
        6
    bluesky139  
    OP
       May 26, 2016
    @Lentin 试过了,也没用,跟使用 address 的效果一样。
    nanpuyue
        7
    nanpuyue  
       Jun 4, 2016
    一楼才是正解。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5649 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 74ms · UTC 03:43 · PVG 11:43 · LAX 20:43 · JFK 23:43
    ♥ Do have faith in what you're doing.