Anton Aylward wrote:
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 ======================
Looks good.
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
Looks good.
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"
That one does look odd.
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.
That one is fine.
What does the "status" show for you guys?
I don't run it under systemd, but from /var/log/messages: dnsmasq[26549]: started, version 2.45 cachesize 150 dnsmasq[26549]: compile time options: IPv6 GNU-getopt no-ISC-leasefile no-DBus no-I18N TFTP dnsmasq[26549]: using nameserver 192.168.47.102#53 for domain 47.168.192.in-addr.arpa dnsmasq[26549]: using nameserver 192.168.47.101#53 for domain 47.168.192.in-addr.arpa dnsmasq[26549]: using nameserver 192.168.47.102#53 for domain infra.opensuse.org dnsmasq[26549]: using nameserver 192.168.47.101#53 for domain infra.opensuse.org dnsmasq[26549]: using nameserver 2a03:7520:4c68:1::1000#53 dnsmasq[26549]: using nameserver 192.168.211.254#53 dnsmasq[26549]: reading /etc/resolv.conf dnsmasq[26549]: ignoring nameserver 127.0.0.1 - local interface dnsmasq[26549]: using nameserver 192.168.47.102#53 for domain 47.168.192.in-addr.arpa dnsmasq[26549]: using nameserver 192.168.47.101#53 for domain 47.168.192.in-addr.arpa dnsmasq[26549]: using nameserver 192.168.47.102#53 for domain infra.opensuse.org dnsmasq[26549]: using nameserver 192.168.47.101#53 for domain infra.opensuse.org dnsmasq[26549]: using nameserver 2a03:7520:4c68:1::1000#53 dnsmasq[26549]: using nameserver 192.168.211.254#53 dnsmasq[26549]: cleared cache -- Per Jessen, Zürich (7.8°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org