小编Ale*_*rie的帖子

如何在 Ubuntu 14.04 中将 *.localhost 重定向到 127.0.0.1?

我曾经是能够做出foo.localhostbar.localhost等等决心127.0.0.1加入

address=/localhost/127.0.0.1
Run Code Online (Sandbox Code Playgroud)

/etc/dnsmasq.conf

dnsmasq.conf在 Ubuntu 14.04 中不存在,仅创建它并添加该行是行不通的。/etc/dnsmasq.d/star-dot-localhost使用该行创建也不起作用。那么如何在 Ubuntu 14.04 中进行通配符 DNS 重定向?

configuration dns dnsmasq

7
推荐指数
1
解决办法
7120
查看次数

标签 统计

configuration ×1

dns ×1

dnsmasq ×1