V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
gujiaxi
V2EX  ›  问与答

Mac下修改hosts无效

  •  
  •   gujiaxi · 2013-03-15 15:01:41 +08:00 · 3380 次点击
    这是一个创建于 4064 天前的主题,其中的信息可能已经有所发展或是发生改变。
    修改之后的`/etc/hosts`文件是这样的: http://snippi.com/s/ay3funj

    hosts用的是 [Smarthosts] 项目的"Windows 北京服务器"。

    Is there anything wrong?
    1 条回复    1970-01-01 08:00:00 +08:00
    shinwood
        1
    shinwood  
       2013-03-15 15:06:30 +08:00
    改完后有没有terminal下运行:dscacheutil -flushcache 这条语句?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   987 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 18:51 · PVG 02:51 · LAX 11:51 · JFK 14:51
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.