Difference between revisions of "/etc/systemd/resolved.conf"
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
Default [[Ubuntu 18.04 LTS]]: | Default [[Ubuntu 18.04 LTS]]: | ||
+ | cat /etc/systemd/resolved.conf | grep -v "^#" | ||
+ | [Resolve] | ||
+ | |||
+ | |||
+ | cat /etc/systemd/resolved.conf | ||
# This file is part of systemd. | # This file is part of systemd. | ||
# | # | ||
Line 22: | Line 27: | ||
#FallbackDNS= | #FallbackDNS= | ||
#Domains= | #Domains= | ||
− | #LLMNR=no | + | #[[LLMNR]]=no |
#MulticastDNS=no | #MulticastDNS=no | ||
#DNSSEC=no | #DNSSEC=no | ||
Line 31: | Line 36: | ||
== Related terms == | == Related terms == | ||
* <code>[[/etc/resolv.conf]]</code> | * <code>[[/etc/resolv.conf]]</code> | ||
− | + | * <code>[[systemd-resolve --status]]</code> | |
+ | * [[Netplan examples]] | ||
== See also == | == See also == | ||
+ | * {{FQDN}} | ||
* {{systemd-resolve}} | * {{systemd-resolve}} | ||
− | * {{DNS}} | + | * {{DNS files}} |
[[Category:DNS]] | [[Category:DNS]] | ||
[[Category:Linux]] | [[Category:Linux]] |
Latest revision as of 12:54, 22 May 2024
https://www.freedesktop.org/software/systemd/man/resolved.conf.html
Default Ubuntu 18.04 LTS:
cat /etc/systemd/resolved.conf | grep -v "^#" [Resolve]
cat /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 #Cache=yes #DNSStubListener=yes
Related terms[edit]
See also[edit]
- FQDN, DNS,
hostname, dnsdomainname, domainname, hostnamectl, /etc/hostname, /etc/resolv.conf, /etc/systemd/resolved.conf, hostname -f
systemd-resolve
:systemd-resolve --help
,systemd-resolve --status
,/etc/systemd/resolved.conf
,systemd-resolve --statistics
,resolvectl status
,journalctl -u systemd-resolved
,systemd-resolve --set-dns
,systemctl start systemd-resolved
- DNS, DNS files,
/etc/hosts, /etc/resolv.conf, /etc/systemd/resolved.conf, /etc/nsswitch.conf
Advertising: