目前我正在
路由器上关注https://github.com/RMerl/asuswrt-merlin.ng/wiki/Custom-domains-with-dnsmasq 。我已经创建了一个dnsmasq.conf.add
文件,address=/g/192.168.0.96
其中包含。
我可以http://g/
在除 Windows 机器之外的所有设备上访问。四处搜索,我发现的唯一解决方案是手动配置每个 Windows 设备,我想避免这种情况(例如添加后缀或编辑主机文件)。
请注意,http://g./
在 Windows 上确实会重定向(与配置后缀相同)。
我想要一个对网络上尝试访问 .net 的任何设备“有效”的解决方案http://g/
。