Tag: 的dnsmasq

dnsmasq:无法为端口53创建侦听套接字:地址已在使用中

我正在设置服务器,如下面的链接https://help.ubuntu.com/community/Dnsmasq root@user-desktop:/etc/init.d# sudo apt-get install dnsmasq Reading package lists… Done Building dependency tree Reading state information… Done The following NEW packages will be installed: dnsmasq 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/15.4 kB of archives. After this operation, 120 kB of additional disk space will […]

配置NetworkManager的dnsmasq以使用/ etc / hosts

我已经安装了DNSMASQ,但由于53端口忙,所以它没有启动。 我发现ubuntu已经有了dnsmasq包,它正在工作。 现在的问题是……我只是希望能够通过它来解析/ etc / hosts中的主机 即: nslookup somehostonlan localhost被解析为从/ etc / hosts文件中获取的某些IP。 但这不会发生。 为什么? 顺便说一下,作为缓存DNS服务器,它工作正常。 我只是希望它从/ etc / hosts文件中解析主机