<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Dns on Linux Security</title><link>https://linuxtransfer.com/tags/dns/</link><description>Recent content in Dns on Linux Security</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 15 Jun 2026 09:54:03 +0200</lastBuildDate><atom:link href="https://linuxtransfer.com/tags/dns/index.xml" rel="self" type="application/rss+xml"/><item><title>Resolving DNS Issues with resolvectl and systemd-resolved in a Home Network</title><link>https://linuxtransfer.com/post/2026-06-15-resolving-dns-issues-with-resolvectl-and-syst/</link><pubDate>Mon, 15 Jun 2026 09:54:03 +0200</pubDate><guid>https://linuxtransfer.com/post/2026-06-15-resolving-dns-issues-with-resolvectl-and-syst/</guid><description>&lt;h2 id="introduction-to-dns-resolution">Introduction to DNS Resolution&lt;/h2>
&lt;p>When setting up a home network, DNS resolution is one of those critical components that can be a real pain to troubleshoot. I&amp;rsquo;ve seen this go wrong when people are new to Linux, so let&amp;rsquo;s dive into how to use &lt;code>resolvectl&lt;/code> to resolve DNS issues with &lt;code>systemd-resolved&lt;/code>.&lt;/p>
&lt;h2 id="understanding-systemd-resolved">Understanding systemd-resolved&lt;/h2>
&lt;p>&lt;code>systemd-resolved&lt;/code> is a system service that handles DNS resolution, among other network-related tasks. It&amp;rsquo;s part of the systemd suite and is widely used in many Linux distributions, including Ubuntu, Debian, and Fedora. The real trick is that &lt;code>systemd-resolved&lt;/code> provides improved DNS security and better support for modern DNS protocols like DNS over TLS (DoT) and DNS over HTTPS (DoH). Don&amp;rsquo;t bother with trying to use it without understanding these benefits, as they&amp;rsquo;re a key part of what makes &lt;code>systemd-resolved&lt;/code> so useful.&lt;/p></description></item><item><title>Troubleshooting Common Connection Issues with resolvectl and ss on Linux</title><link>https://linuxtransfer.com/post/2026-06-08-troubleshooting-common-connection-issues-with/</link><pubDate>Mon, 08 Jun 2026 11:07:29 +0200</pubDate><guid>https://linuxtransfer.com/post/2026-06-08-troubleshooting-common-connection-issues-with/</guid><description>&lt;h2 id="introduction-to-troubleshooting-connection-issues">Introduction to Troubleshooting Connection Issues&lt;/h2>
&lt;p>When working with Linux, connection issues can arise due to various reasons such as misconfigured DNS settings, firewall rules, or network interface configurations. I&amp;rsquo;ve seen this go wrong when a simple DNS misconfiguration can bring down an entire application. To troubleshoot these issues, Linux provides a range of tools, including &lt;code>resolvectl&lt;/code> and &lt;code>ss&lt;/code>. In this article, we will explore how to use these tools to diagnose and resolve common connection problems.&lt;/p></description></item><item><title>Taming systemd-resolved: Troubleshooting DNS leaks and resolving domain name surprises on Linux desktops and servers</title><link>https://linuxtransfer.com/post/2026-06-05-taming-systemd-resolved-troubleshooting-dns-l/</link><pubDate>Fri, 05 Jun 2026 10:35:34 +0200</pubDate><guid>https://linuxtransfer.com/post/2026-06-05-taming-systemd-resolved-troubleshooting-dns-l/</guid><description>&lt;h2 id="introduction-to-systemd-resolved">Introduction to systemd-resolved&lt;/h2>
&lt;p>I&amp;rsquo;ve seen systemd-resolved become a crucial part of many Linux distributions, including Ubuntu, Debian, and Fedora, as of 2026. It&amp;rsquo;s designed to provide a robust and secure way to resolve domain names on Linux systems. However, like any complex system, it can sometimes behave unexpectedly, leading to DNS leaks and domain name resolution surprises.&lt;/p>
&lt;h2 id="understanding-dns-leaks">Understanding DNS Leaks&lt;/h2>
&lt;p>A DNS leak occurs when your system sends DNS queries to an unintended DNS server, potentially revealing your browsing history and online activities to third parties. This can happen when your system is configured to use a specific DNS server, but systemd-resolved is not properly configured to respect this setting. Don&amp;rsquo;t bother with manually trying to diagnose DNS leaks - just use online tools such as dnsleaktest.com or &lt;a href="https://ipleak.net">ipleak.net&lt;/a> to check for them.&lt;/p></description></item><item><title>Taming systemd-resolved: How to Configure DNS Settings for Split Horizon Environments</title><link>https://linuxtransfer.com/post/2026-06-04-taming-systemd-resolved-how-to-configure-dns-/</link><pubDate>Thu, 04 Jun 2026 11:14:28 +0200</pubDate><guid>https://linuxtransfer.com/post/2026-06-04-taming-systemd-resolved-how-to-configure-dns-/</guid><description>&lt;h2 id="introduction-to-systemd-resolved">Introduction to systemd-resolved&lt;/h2>
&lt;p>I&amp;rsquo;ve seen many Linux admins struggle with configuring DNS settings for split horizon environments. systemd-resolved, a DNS resolver component of the systemd suite, can make life easier. In this article, I&amp;rsquo;ll walk you through how to configure DNS settings for split horizon environments using systemd-resolved.&lt;/p>
&lt;h2 id="understanding-split-horizon-environments">Understanding Split Horizon Environments&lt;/h2>
&lt;p>Split horizon environments are network setups where multiple DNS servers provide different answers for the same domain name, depending on the client&amp;rsquo;s location or network. I&amp;rsquo;ve encountered this in organizations with multiple offices or data centers, where different DNS servers serve different locations. For example, a company with offices in the US and Europe might have two separate DNS servers, one for each region, providing different IP addresses for the same domain name.&lt;/p></description></item><item><title>Troubleshooting DNS Leaks with systemd-resolved and resolv.conf on a Small Linux Server</title><link>https://linuxtransfer.com/post/2026-05-29-troubleshooting-dns-leaks-with-systemd-resolv/</link><pubDate>Fri, 29 May 2026 08:36:48 +0200</pubDate><guid>https://linuxtransfer.com/post/2026-05-29-troubleshooting-dns-leaks-with-systemd-resolv/</guid><description>&lt;h2 id="introduction-to-dns-leaks">Introduction to DNS Leaks&lt;/h2>
&lt;p>I&amp;rsquo;ve seen DNS leaks cause issues on even the most secure Linux servers. Ensuring your DNS setup is solid is crucial, and one common problem is a DNS leak, where your system inadvertently reveals your DNS queries to unauthorized parties. In this article, I&amp;rsquo;ll walk you through troubleshooting DNS leaks using &lt;code>systemd-resolved&lt;/code> and &lt;code>resolv.conf&lt;/code> on a Linux server.&lt;/p>
&lt;h2 id="understanding-systemd-resolved">Understanding systemd-resolved&lt;/h2>
&lt;p>&lt;code>systemd-resolved&lt;/code> is a powerful tool that provides DNS resolution capabilities. It&amp;rsquo;s designed to be a caching, validating DNS resolver that can also handle DNSSEC validation. To check if &lt;code>systemd-resolved&lt;/code> is running on your system, use the following command:&lt;/p></description></item><item><title>Taming Split DNS Chaos with systemd-resolved and Local Hostname Resolution</title><link>https://linuxtransfer.com/post/2026-05-27-taming-split-dns-chaos-with-systemd-resolved-/</link><pubDate>Wed, 27 May 2026 08:34:11 +0200</pubDate><guid>https://linuxtransfer.com/post/2026-05-27-taming-split-dns-chaos-with-systemd-resolved-/</guid><description>&lt;h2 id="introduction-to-split-dns-chaos">Introduction to Split DNS Chaos&lt;/h2>
&lt;p>I&amp;rsquo;ve seen this go wrong when working with multiple networks or self-hosted services: split DNS configurations can become a real headache. Luckily, many Linux distributions have started adopting &lt;code>systemd-resolved&lt;/code> as the default DNS resolver, which makes managing split DNS scenarios much simpler. In this article, I&amp;rsquo;ll walk you through how to use &lt;code>systemd-resolved&lt;/code> for local hostname resolution and taming that split DNS chaos.&lt;/p>
&lt;h2 id="understanding-systemd-resolved">Understanding systemd-resolved&lt;/h2>
&lt;p>The real trick is understanding how &lt;code>systemd-resolved&lt;/code> works. It&amp;rsquo;s a systemd component that provides DNS resolution and caching, and it can be configured to use multiple DNS servers and handle split DNS scenarios with ease. To check if &lt;code>systemd-resolved&lt;/code> is enabled on your system, run the following command:&lt;/p></description></item><item><title>Taming systemd-resolved: Avoiding DNS Leaks and Surprises with Split DNS Configurations</title><link>https://linuxtransfer.com/post/2026-05-24-taming-systemd-resolved-avoiding-dns-leaks-an/</link><pubDate>Sun, 24 May 2026 10:21:18 +0200</pubDate><guid>https://linuxtransfer.com/post/2026-05-24-taming-systemd-resolved-avoiding-dns-leaks-an/</guid><description>&lt;h2 id="introduction-to-systemd-resolved">Introduction to systemd-resolved&lt;/h2>
&lt;p>I&amp;rsquo;ve worked with Linux systems for years, and one thing that&amp;rsquo;s become increasingly important is DNS resolution. systemd-resolved is a DNS resolver component of the systemd suite, designed to provide a flexible and secure way to resolve domain names. It was introduced in systemd version 216, released in 2015, and has since become a standard component in many Linux distributions. By default, systemd-resolved uses a split DNS configuration, which can sometimes lead to DNS leaks and unexpected behavior. I&amp;rsquo;ve seen this go wrong when a system has multiple network interfaces or connections, each with its own DNS resolver configuration.&lt;/p></description></item><item><title>Taming systemd-resolved: Tips for Troubleshooting and Customizing DNS Resolution on Linux</title><link>https://linuxtransfer.com/post/2026-05-22-taming-systemd-resolved-tips-for-troubleshoot/</link><pubDate>Fri, 22 May 2026 10:04:50 +0200</pubDate><guid>https://linuxtransfer.com/post/2026-05-22-taming-systemd-resolved-tips-for-troubleshoot/</guid><description>&lt;h2 id="introduction-to-systemd-resolved">Introduction to systemd-resolved&lt;/h2>
&lt;p>I&amp;rsquo;ve been using systemd-resolved for a while now, and I have to say, it&amp;rsquo;s a big improvement over traditional DNS resolvers. As of 2026, many Linux distributions, including Ubuntu, Debian, and Fedora, have adopted systemd-resolved as the default DNS resolver. While it offers several benefits, including improved security and performance, some users may encounter issues or require customization to suit their specific needs. Don&amp;rsquo;t bother with trying to disable it, though - it&amp;rsquo;s usually worth the effort to get it working right.&lt;/p></description></item></channel></rss>