On 13/03/18 02:26 AM, Per Jessen wrote:
and you have 127.0.0.1 as the nameserver in /etc/resolv.conf?
No. NetworkManager generates that file and that isn't in it. If I put it in there manually then when DNSMasq starts it throw it out, as I said in my original post:
I guess you have solved this by now, but when dnsmasq is serving dns lookups on 127.0.0.1, that is what you need in /etc/resolv.conf - that's what I have in mine.
This morning I have ======================= # cat /etc/resolv.conf # Generated by NetworkManager search HOME.systemi.ca HOME.SystemI.ca nameserver 127.0.0.1 ====================== The irony is that I have ======================== # systemctl status dnsmasq.service * dnsmasq.service - DNS caching server. Loaded: loaded (/usr/lib/systemd/system/dnsmasq.service; enabled; vendor preset: disabled) Drop-In: /run/systemd/generator/dnsmasq.service.d `-50-insserv.conf-$named.conf Active: active (running) since Tue 2018-03-13 07:38:07 EDT; 37min ago Process: 1492 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCCESS) Main PID: 1511 (dnsmasq) Tasks: 1 (limit: 512) CGroup: /system.slice/dnsmasq.service `-1511 /usr/sbin/dnsmasq --log-async --enable-dbus --keep-in-foreground Mar 13 07:38:07 main dnsmasq[1511]: read /etc/dnsmasq.d/block.hosts.txt - 24619 addresses Mar 13 07:38:09 main.HOME.SystemI.ca dnsmasq[1511]: no servers found in /etc/resolv.conf, will retry Mar 13 07:38:19 main.HOME.SystemI.ca dnsmasq[1511]: reading /etc/resolv.conf Mar 13 07:38:19 main.HOME.SystemI.ca dnsmasq[1511]: using nameserver 77.109.138.29#53 Mar 13 07:38:19 main.HOME.SystemI.ca dnsmasq[1511]: using nameserver 77.109.138.45#53 Mar 13 07:38:19 main.HOME.SystemI.ca dnsmasq[1511]: using nameserver 208.67.222.220#53 Mar 13 07:38:19 main.HOME.SystemI.ca dnsmasq[1511]: using nameserver 208.67.222.222#53 Mar 13 07:38:19 main.HOME.SystemI.ca dnsmasq[1511]: using nameserver 8.8.8.4#53 Mar 13 07:38:19 main.HOME.SystemI.ca dnsmasq[1511]: using nameserver 8.8.8.8#53 Mar 13 07:38:19 main.HOME.SystemI.ca dnsmasq[1511]: ignoring nameserver 127.0.0.1 - local interface ======================== The "using nameserver" etries are in the /etc/dnsmasq.onf courtesy of David Haller. But the "no servers found in /etc/resolv.conf, will retry" and the "ignoring nameserver 127.0.0.1 - local interface" would look like errors if it wasn't for the fact of this thread and the advice and the fact that it seems to work. What does the "status" show for you guys? -- Anton J Aylward Dodo Flight Research Laboratories Icarus Division North York Ontario -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org