[Dnsmasq-discuss] Local dnsmasq server not utilized by Ubuntu
johndoe65534 at mail.com
Mon Aug 5 10:51:38 BST 2019
On 8/5/2019 9:05 AM, Geert Stappers wrote:
> On Sun, Aug 04, 2019 at 11:19:22PM -0500, Andrew Miskell wrote:
>> On Aug 4, 2019, at 10:13 PM, dnsmasqyq.xpt at neverbox.com wrote:
>>> On Sun, Aug 4, 2019 at 7:10 PM Geert Stappers wrote:
>>>> On Aug 4, 2019, dnsmasqyq.xpt at neverbox.com wrote:
>>>>>> }} ..... "problem" mostly being calling it a problem
>>>>>> }} ..... "got foo, was expecting bar, why" for the next time
>>>>> So how do I make sure that the domain name always gets added, in my
>>>>> DHCP/DNS server configuration?
>>>> Wrong question. Probably due jumping to conclusions.
>>>> Show us, this mailinglist, the content of /etc/resolv.conf
>>>> Output of `dig foo`, `dig foo.my.domain.tld` and `ping -c 3 foo`.
>>>> Where 'foo' is host known at the local DNS.
>>> - - - - - -
>>> $ cat /etc/resolv.conf
>>> # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
>>> # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
>>> # 127.0.0.53 is the systemd-resolved stub resolver.
>>> # run "systemd-resolve --status" to see details about the actual nameservers.
>>> nameserver 127.0.0.53
>>> search my.domain.tld
Based on the above:
how are your interfaces configured (NetworkManager, systemd-network,
Normally, 'systemd-resolved' is only to be used when 'systemd-networkd'
So, assuming that you only configured your interfaces using NM, you need
to look at NM and the 'resolvconf' package.
That is, stay with systemd or NM, or /etc/network/interfaces but avoid
mixing them if possible.
More information about the Dnsmasq-discuss