首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
Distributions
›
Ubuntu
›
Fedora
›
CentOS
中文资源站
›
网易开源镜像站
广告
V2EX
›
Linux
请教: dnsmasq 的配置文件问题。
krisbai
·
2018-01-16 11:18:50 +08:00
· 2287 次点击
这是一个创建于 2264 天前的主题,其中的信息可能已经有所发展或是发生改变。
新增了一台服务器,配置了 dnsmasq.hosts.conf 文件 。格式 IP 域名 主机名 ,如果域名是.com 结尾的主机名就可以正常走内网 Ping 通 ,如果域名以其他方式结尾就跳过内部 DNS 了。dig 出来的主机内网 IP 正常。
正常格式:1.2.3.4
a.buy.com
buy
异常格式:1.2.3.4 a.buy.cc buy
1.2.3.4
域名
内网
Buy
4 条回复
1
defunct9
2018-01-16 11:22:23 +08:00
全部配置贴出来看看
2
Sh888
2018-01-16 13:27:56 +08:00
LZ 语文水平有待提高啊。
看了 3 遍,不知所云。
3
sublimevsatom
2018-01-16 14:39:17 +08:00
1
https://wiki.archlinux.org/index.php/dnsmasq
4
krisbai
OP
2018-01-16 14:55:39 +08:00
@
sublimevsatom
谢谢!
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
我们的愿景
·
实用小工具
·
4988 人在线
最高记录 6543
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 38ms ·
UTC 09:38
·
PVG 17:38
·
LAX 02:38
·
JFK 05:38
Developed with
CodeLauncher
♥ Do have faith in what you're doing.