<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How to Check DNS Server IP Address in Linux	</title>
	<atom:link href="https://www.tecmint.com/find-my-dns-server-ip-address-in-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/find-my-dns-server-ip-address-in-linux/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Fri, 05 Sep 2025 05:06:38 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: duck896		</title>
		<link>https://www.tecmint.com/find-my-dns-server-ip-address-in-linux/comment-page-1/#comment-1757597</link>

		<dc:creator><![CDATA[duck896]]></dc:creator>
		<pubDate>Mon, 04 Apr 2022 18:53:59 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=33076#comment-1757597</guid>

					<description><![CDATA[When using local dns cache systemd-resolved you can use:
&lt;pre&gt;
$ resolvectl status 
&lt;/pre&gt;
It will show the current DNS servers for each interface. You can specify the interface name (found with &lt;code&gt;$ ifconfig&lt;/code&gt;) to filter a specific interface. 

For example,
&lt;pre&gt;
$ resolvectl status eth0
$ resolvectl status eth0
&lt;/pre&gt;
Sample Output
&lt;pre&gt;
Link 1 (eth0)
      Current Scopes: DNS      
DefaultRoute setting: yes      
       LLMNR setting: yes      
MulticastDNS setting: no       
  DNSOverTLS setting: no       
      DNSSEC setting: no       
    DNSSEC supported: no       
  Current DNS Server: 10.0.0.1
         DNS Servers: 10.1.0.1
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>When using local dns cache systemd-resolved you can use:</p>
<pre>
$ resolvectl status 
</pre>
<p>It will show the current DNS servers for each interface. You can specify the interface name (found with <code>$ ifconfig</code>) to filter a specific interface. </p>
<p>For example,</p>
<pre>
$ resolvectl status eth0
$ resolvectl status eth0
</pre>
<p>Sample Output</p>
<pre>
Link 1 (eth0)
      Current Scopes: DNS      
DefaultRoute setting: yes      
       LLMNR setting: yes      
MulticastDNS setting: no       
  DNSOverTLS setting: no       
      DNSSEC setting: no       
    DNSSEC supported: no       
  Current DNS Server: 10.0.0.1
         DNS Servers: 10.1.0.1
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: johngalt		</title>
		<link>https://www.tecmint.com/find-my-dns-server-ip-address-in-linux/comment-page-1/#comment-1572023</link>

		<dc:creator><![CDATA[johngalt]]></dc:creator>
		<pubDate>Fri, 20 Aug 2021 01:47:40 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=33076#comment-1572023</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/find-my-dns-server-ip-address-in-linux/comment-page-1/#comment-1185065&quot;&gt;Tudor&lt;/a&gt;.

Yes, anytime I see an article written since &lt;strong&gt;NetworkManager&lt;/strong&gt; was forced upon us that still thinks &lt;strong&gt;resolv.conf&lt;/strong&gt; is at all a useful source, I immediately know the author is clueless.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/find-my-dns-server-ip-address-in-linux/comment-page-1/#comment-1185065">Tudor</a>.</p>
<p>Yes, anytime I see an article written since <strong>NetworkManager</strong> was forced upon us that still thinks <strong>resolv.conf</strong> is at all a useful source, I immediately know the author is clueless.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Anil Kumar Choudhury		</title>
		<link>https://www.tecmint.com/find-my-dns-server-ip-address-in-linux/comment-page-1/#comment-1479426</link>

		<dc:creator><![CDATA[Anil Kumar Choudhury]]></dc:creator>
		<pubDate>Thu, 22 Apr 2021 06:10:13 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=33076#comment-1479426</guid>

					<description><![CDATA[&lt;pre&gt;
$ nslookup -type=any google.com
&lt;/pre&gt;
Server: 192.168.7.1
Address: 192.168.7.1:53
Non-authoritative answer:
Name: google.com
Address: 142.250.191.206
google.com nameserver = ns1.google.com
google.com nameserver = ns4.google.com
google.com nameserver = ns2.google.com
google.com nameserver = ns3.google.com

Server: 192.168.7.1]]></description>
			<content:encoded><![CDATA[<pre>
$ nslookup -type=any google.com
</pre>
<p>Server: 192.168.7.1<br />
Address: 192.168.7.1:53<br />
Non-authoritative answer:<br />
Name: google.com<br />
Address: 142.250.191.206<br />
google.com nameserver = ns1.google.com<br />
google.com nameserver = ns4.google.com<br />
google.com nameserver = ns2.google.com<br />
google.com nameserver = ns3.google.com</p>
<p>Server: 192.168.7.1</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: rms-mit		</title>
		<link>https://www.tecmint.com/find-my-dns-server-ip-address-in-linux/comment-page-1/#comment-1191064</link>

		<dc:creator><![CDATA[rms-mit]]></dc:creator>
		<pubDate>Tue, 02 Jul 2019 22:51:41 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=33076#comment-1191064</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/find-my-dns-server-ip-address-in-linux/comment-page-1/#comment-1185193&quot;&gt;Tudor&lt;/a&gt;.

I think you will find this is a dns cache on your local machine. see my other comment on the root article]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/find-my-dns-server-ip-address-in-linux/comment-page-1/#comment-1185193">Tudor</a>.</p>
<p>I think you will find this is a dns cache on your local machine. see my other comment on the root article</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: rms-mit		</title>
		<link>https://www.tecmint.com/find-my-dns-server-ip-address-in-linux/comment-page-1/#comment-1191063</link>

		<dc:creator><![CDATA[rms-mit]]></dc:creator>
		<pubDate>Tue, 02 Jul 2019 22:49:30 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=33076#comment-1191063</guid>

					<description><![CDATA[Many Linux users these days use a dns cache and so the dns server in &lt;strong&gt;resolve.conf&lt;/strong&gt; is a loopback address to the dns cache on your own PC/Linux.

systemd&#039;s resolved is also often used but this updates &lt;strong&gt;resolve.conf&lt;/strong&gt; for informational reference. Systemd-Resolved can have different dns servers for different networks concurrently and the &lt;strong&gt;resolve.conf&lt;/strong&gt; will not reflect this but the man pages and status command are very informative.

network manager also does some things differently. i think it sets up one of these dns caches but id don&#039;t know much about it. 

I keep reading these &quot;how to find my dns&quot; how to pages but have yet to find one that covers the more modern scenarios.]]></description>
			<content:encoded><![CDATA[<p>Many Linux users these days use a dns cache and so the dns server in <strong>resolve.conf</strong> is a loopback address to the dns cache on your own PC/Linux.</p>
<p>systemd&#8217;s resolved is also often used but this updates <strong>resolve.conf</strong> for informational reference. Systemd-Resolved can have different dns servers for different networks concurrently and the <strong>resolve.conf</strong> will not reflect this but the man pages and status command are very informative.</p>
<p>network manager also does some things differently. i think it sets up one of these dns caches but id don&#8217;t know much about it. </p>
<p>I keep reading these &#8220;how to find my dns&#8221; how to pages but have yet to find one that covers the more modern scenarios.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
