fossil sysadmin discovers /etc/systemd/resolved.conf

7 views
Skip to first unread message

Howard White

unread,
Nov 19, 2020, 11:50:24 AM11/19/20
to nlug...@googlegroups.com
This is intended as self deprecation, not advice...

I'm likely not the only person who has, in a huff, edited
/etc/resolv.conf to get what I really want to get done - NOW - done.

Instead, we should go muck our changes in /etc/systemd/resolved.conf

# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See resolved.conf(5) for details

[Resolve]
#DNS=
#FallbackDNS=
#Domains=
#LLMNR=no
#MulticastDNS=no
#DNSSEC=no
#DNSOverTLS=no
#Cache=no-negative
#DNSStubListener=yes
#ReadEtcHosts=yes


and then sudo systemctl restart systemd-resolved

Much cleaner.

Howard

Curt Lundgren

unread,
Nov 19, 2020, 4:34:02 PM11/19/20
to NLUG
Thanks Howard - that's a good bit of information.

--
--
You received this message because you are subscribed to the Google Groups "NLUG" group.
To post to this group, send email to nlug...@googlegroups.com
To unsubscribe from this group, send email to nlug-talk+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=en

---
You received this message because you are subscribed to the Google Groups "NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nlug-talk+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nlug-talk/032225b8-0ab6-30cd-fe09-52fc8d8ebf9f%40vcch.com.
Reply all
Reply to author
Forward
0 new messages