DNSmasq启动提示"dnsdomainname: Unknown host"
问题如下
[root@Zenlayer etc]# /etc/init.d/dnsmasq restart
dnsdomainname: Unknown host
dnsdomainname: Unknown host
Shutting down dnsmasq: [ OK ]
dnsdomainname: Unknown host
Starting dnsmasq: [ OK ]
解决办法
把主机名加到/etc/hosts文件里面
例如这里的主机名是Zenlayer
加到/etc/hosts里面就是
127.0.0.1 Zenlayer
然后重启DNSmasq,正常