[Nottingham] systemd-resolved Failed to send hostname reply: Invalid argument

VM vadim at mankevich.co.uk
Sun Aug 16 10:44:33 UTC 2020


It is a bad idea to overwrite resolv.conf when NetworkManager is involved. Please check dns settings in NM. Are they correct. Try a known good dns resolver there, like 1.1.1.1 (just temporarily).

VM

On August 16, 2020 10:23:24 AM UTC, Phil Bass via Nottingham <nottingham at mailman.lug.org.uk> wrote:
>It seems I spoke too soon. My minimal /etc/resolv.conf only worked
>until NetworkManager re-wrote it (probably on sleep/wakeup).
>
>I suppose I could set the immutable flag on /etc/resolv.conf but that
>doesn’t feel like the right solution. I’ll do some more research, but
>not today.
>
>Phil Bass
>phil.bass at icloud.com
>
>
>> On 15 Aug 2020, at 14:39, Fay Knight via Nottingham
><nottingham at mailman.lug.org.uk> wrote:
>> 
>> Glad it's working now. 
>> Just as a precaution I'd suggest setting an immutable flag on
>/etc/resolv.conf to make sure it doesn't get overwritten again by
>anything else at next reboot. 
>> 
>> (I had to do this when I was running dnscrypt-proxy, which was a
>whole other pain in the backside!). 
>> 
>> Fay
>> 

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/nottingham/attachments/20200816/caadf8d6/attachment.html>


More information about the Nottingham mailing list