Difference between revisions of "/etc/systemd/resolved.conf"

From wikieduonline
Jump to navigation Jump to search
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
 +
https://www.freedesktop.org/software/systemd/man/resolved.conf.html
  
  
 
Default [[Ubuntu 18.04 LTS]]:
 
Default [[Ubuntu 18.04 LTS]]:
<pre>
 
#  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]
+
cat /etc/systemd/resolved.conf | grep -v "^#"
#DNS=
+
[Resolve]
#FallbackDNS=
 
#Domains=
 
#LLMNR=no
 
#MulticastDNS=no
 
#DNSSEC=no
 
#Cache=yes
 
#DNSStubListener=yes
 
</pre>
 
  
  
 +
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 ==
 +
* <code>[[/etc/resolv.conf]]</code>
 +
* <code>[[systemd-resolve --status]]</code>
 +
* [[Netplan examples]]
  
 
== See also ==
 
== See also ==
 +
* {{FQDN}}
 
* {{systemd-resolve}}
 
* {{systemd-resolve}}
 +
* {{DNS files}}
 +
 +
 +
[[Category:DNS]]
 +
[[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]

Advertising: