<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=Ubuntu%2Fresolv.conf</id>
	<title>Ubuntu/resolv.conf - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=Ubuntu%2Fresolv.conf"/>
	<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Ubuntu/resolv.conf&amp;action=history"/>
	<updated>2026-05-03T23:09:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://aznot.com/index.php?title=Ubuntu/resolv.conf&amp;diff=8187&amp;oldid=prev</id>
		<title>Kenneth: Created page with &quot;== Set Default Search Domain ==  Change #Domains= in /etc/systemd/resolved.conf and run &quot;systemctl restart systemd-resolved&quot;  == /etc/resolv.conf ==  &lt;pre&gt; $ cat /etc/resolv.conf # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). # Do not edit. # # This file might be symlinked as /etc/resolv.conf. If you&#039;re looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connect...&quot;</title>
		<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Ubuntu/resolv.conf&amp;diff=8187&amp;oldid=prev"/>
		<updated>2024-12-01T22:14:33Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Set Default Search Domain ==  Change #Domains= in /etc/systemd/resolved.conf and run &amp;quot;systemctl restart systemd-resolved&amp;quot;  == /etc/resolv.conf ==  &amp;lt;pre&amp;gt; $ cat /etc/resolv.conf # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). # Do not edit. # # This file might be symlinked as /etc/resolv.conf. If you&amp;#039;re looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connect...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Set Default Search Domain ==&lt;br /&gt;
&lt;br /&gt;
Change #Domains= in /etc/systemd/resolved.conf and run &amp;quot;systemctl restart systemd-resolved&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== /etc/resolv.conf ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cat /etc/resolv.conf&lt;br /&gt;
# This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8).&lt;br /&gt;
# Do not edit.&lt;br /&gt;
#&lt;br /&gt;
# This file might be symlinked as /etc/resolv.conf. If you&amp;#039;re looking at&lt;br /&gt;
# /etc/resolv.conf and seeing this text, you have followed the symlink.&lt;br /&gt;
#&lt;br /&gt;
# This is a dynamic resolv.conf file for connecting local clients to the&lt;br /&gt;
# internal DNS stub resolver of systemd-resolved. This file lists all&lt;br /&gt;
# configured search domains.&lt;br /&gt;
#&lt;br /&gt;
# Run &amp;quot;resolvectl status&amp;quot; to see details about the uplink DNS servers&lt;br /&gt;
# currently in use.&lt;br /&gt;
#&lt;br /&gt;
# Third party programs should typically not access this file directly, but only&lt;br /&gt;
# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a&lt;br /&gt;
# different way, replace this symlink by a static file or a different symlink.&lt;br /&gt;
#&lt;br /&gt;
# See man:systemd-resolved.service(8) for details about the supported modes of&lt;br /&gt;
# operation for /etc/resolv.conf.&lt;br /&gt;
&lt;br /&gt;
nameserver 127.0.0.53&lt;br /&gt;
options edns0 trust-ad&lt;br /&gt;
search example.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== /etc/systemd/resolved.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cat /etc/systemd/resolved.conf&lt;br /&gt;
#  This file is part of systemd.&lt;br /&gt;
#&lt;br /&gt;
#  systemd is free software; you can redistribute it and/or modify it under the&lt;br /&gt;
#  terms of the GNU Lesser General Public License as published by the Free&lt;br /&gt;
#  Software Foundation; either version 2.1 of the License, or (at your option)&lt;br /&gt;
#  any later version.&lt;br /&gt;
#&lt;br /&gt;
# Entries in this file show the compile time defaults. Local configuration&lt;br /&gt;
# should be created by either modifying this file, or by creating &amp;quot;drop-ins&amp;quot; in&lt;br /&gt;
# the resolved.conf.d/ subdirectory. The latter is generally recommended.&lt;br /&gt;
# Defaults can be restored by simply deleting this file and all drop-ins.&lt;br /&gt;
#&lt;br /&gt;
# Use &amp;#039;systemd-analyze cat-config systemd/resolved.conf&amp;#039; to display the full config.&lt;br /&gt;
#&lt;br /&gt;
# See resolved.conf(5) for details.&lt;br /&gt;
&lt;br /&gt;
[Resolve]&lt;br /&gt;
# Some examples of DNS servers which may be used for DNS= and FallbackDNS=:&lt;br /&gt;
# Cloudflare: 1.1.1.1#cloudflare-dns.com 1.0.0.1#cloudflare-dns.com 2606:4700:4700::1111#cloudflare-dns.com 2606:4700:4700::1001#cloudflare-dns.com&lt;br /&gt;
# Google:     8.8.8.8#dns.google 8.8.4.4#dns.google 2001:4860:4860::8888#dns.google 2001:4860:4860::8844#dns.google&lt;br /&gt;
# Quad9:      9.9.9.9#dns.quad9.net 149.112.112.112#dns.quad9.net 2620:fe::fe#dns.quad9.net 2620:fe::9#dns.quad9.net&lt;br /&gt;
#DNS=&lt;br /&gt;
#FallbackDNS=&lt;br /&gt;
#Domains=&lt;br /&gt;
#DNSSEC=no&lt;br /&gt;
#DNSOverTLS=no&lt;br /&gt;
#MulticastDNS=no&lt;br /&gt;
#LLMNR=no&lt;br /&gt;
#Cache=no-negative&lt;br /&gt;
#CacheFromLocalhost=no&lt;br /&gt;
#DNSStubListener=yes&lt;br /&gt;
#DNSStubListenerExtra=&lt;br /&gt;
#ReadEtcHosts=yes&lt;br /&gt;
#ResolveUnicastSingleLabel=no&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Change Default Search Domain ===&lt;br /&gt;
&lt;br /&gt;
 Domains=newexample.com&lt;br /&gt;
&lt;br /&gt;
 systemctl restart systemd-resolved&lt;br /&gt;
&lt;br /&gt;
The existing example will still be there, but the new example will be pre-prepended now:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/resolv.conf&lt;br /&gt;
 nameserver 127.0.0.53&lt;br /&gt;
 options edns0 trust-ad&lt;br /&gt;
 search newexample.com example.com&lt;br /&gt;
&lt;br /&gt;
== keywords ==&lt;/div&gt;</summary>
		<author><name>Kenneth</name></author>
	</entry>
</feed>