问HN:无需root/admin的本地主机名

7作者: terry_hc2 个月前原帖
我在寻找一种简单的方法来为内部使用本地定义主机名,类似于 /etc/hosts,但不需要超级用户权限。在本地或局域网运行解析器就不算“简单”了。这个问题主要涉及到网页浏览器,因此一个聪明的 Firefox 或 Chromium 浏览器扩展将非常合适。如果解析能够在浏览器外部进行,那就更好了。 感谢任何建议。
查看原文
I&#x27;m looking for a simple way to locally define hostnames for internal use, think &#x2F;etc&#x2F;hosts, but without the requirement of superuser privileges. Running a resolver locally, or within the LAN, falls outside the realm of &quot;simple&quot;. The subject is primarily the web browser, so a clever browser extension for Firefox and&#x2F;or Chromium would work great. If resolution could also happen outside the browser that would be a nice bonus.<p>Thankful for any suggestions.