<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Pro tip: set &#96;UseDNS no&#96; in your sshd_config to disable reverse DNS lookups for every single ssh connection to your host.]]></title><description><![CDATA[<p>Pro tip: set `UseDNS no` in your sshd_config to disable reverse DNS lookups for every single ssh connection to your host.</p><p>It provides no filtering or validation purpose, afaik, and seems to only generate excess DNS traffic.</p><p>This lesson brought to you by the 66k DNS lookups in the past 24hrs from a single public facing forgejo jail.</p><p><a href="https://fosstodon.org/tags/FreeBSD" rel="tag">#<span>FreeBSD</span></a> <a href="https://fosstodon.org/tags/SSH" rel="tag">#<span>SSH</span></a> <a href="https://fosstodon.org/tags/DNS" rel="tag">#<span>DNS</span></a></p>]]></description><link>https://board.circlewithadot.net/topic/c7507427-2e10-4765-a9a6-17ea413b9001/pro-tip-set-usedns-no-in-your-sshd_config-to-disable-reverse-dns-lookups-for-every-single-ssh-connection-to-your-host.</link><generator>RSS for Node</generator><lastBuildDate>Mon, 25 May 2026 07:19:40 GMT</lastBuildDate><atom:link href="https://board.circlewithadot.net/topic/c7507427-2e10-4765-a9a6-17ea413b9001.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 19 May 2026 22:17:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Pro tip: set &#96;UseDNS no&#96; in your sshd_config to disable reverse DNS lookups for every single ssh connection to your host. on Tue, 19 May 2026 22:55:49 GMT]]></title><description><![CDATA[<p><span><a href="/user/bastillebsd%40fosstodon.org">@<span>BastilleBSD</span></a></span> Mostly harmless, but you should be aware it also switches off DNS lookups for Match Host directives.</p><p>UseDNS  Specifies whether sshd(8) should look up the remote host name, and to check that the resolved host name for the remote IP address maps back to the very same IP address.</p><p>If this option is set to no, then only addresses and not host names may be used in ~/.ssh/authorized_keys from and sshd_config Match Host directives. The default is “yes”.</p>]]></description><link>https://board.circlewithadot.net/post/https://fosstodon.org/users/AlanHicksLondon/statuses/116603705721507830</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://fosstodon.org/users/AlanHicksLondon/statuses/116603705721507830</guid><dc:creator><![CDATA[alanhickslondon@fosstodon.org]]></dc:creator><pubDate>Tue, 19 May 2026 22:55:49 GMT</pubDate></item></channel></rss>