<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>dns | KC's Blog</title>
	<atom:link href="https://www.kjctech.net/tag/dns/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.kjctech.net</link>
	<description></description>
	<lastBuildDate>Tue, 24 Jan 2023 18:21:07 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/cropped-KC-Logo.png?fit=32%2C32&#038;ssl=1</url>
	<title>dns | KC's Blog</title>
	<link>https://www.kjctech.net</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">24634607</site>	<item>
		<title>PowerShell Tip: How To Get All IPs Assigned to a DNS Domain</title>
		<link>https://www.kjctech.net/powershell-tip-how-to-get-all-ips-assigned-to-a-dns-domain/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=powershell-tip-how-to-get-all-ips-assigned-to-a-dns-domain</link>
					<comments>https://www.kjctech.net/powershell-tip-how-to-get-all-ips-assigned-to-a-dns-domain/#respond</comments>
		
		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Tue, 05 Mar 2019 01:08:07 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[powershell]]></category>
		<guid isPermaLink="false">https://www.kjctech.net/?p=4243</guid>

					<description><![CDATA[<p>We always use command lines like PING to get the IP address assigned to a specific domain DNS. For example, to get the IP address of google.com, we use: ping google.com As you can see, this only returns one of IP addresses assigned to google.com. To get the full list of IP addresses associated with google.com, you need to use [&#8230;]</p>
The post <a href="https://www.kjctech.net/powershell-tip-how-to-get-all-ips-assigned-to-a-dns-domain/">PowerShell Tip: How To Get All IPs Assigned to a DNS Domain</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></description>
										<content:encoded><![CDATA[<p>We always use command lines like <strong>PING</strong> to get the IP address assigned to a specific domain DNS. For example, to get the IP address of google.com, we use:</p>



<pre class="wp-block-preformatted">ping google.com<br></pre>



<figure class="wp-block-image"><img data-recalc-dims="1" fetchpriority="high" decoding="async" width="600" height="311" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/03/image.png?resize=600%2C311&#038;ssl=1" alt="" class="wp-image-4244" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/03/image.png?resize=600%2C311&amp;ssl=1 600w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/03/image.png?resize=250%2C130&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/03/image.png?resize=450%2C234&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/03/image.png?resize=520%2C270&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/03/image.png?resize=360%2C187&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/03/image.png?resize=100%2C52&amp;ssl=1 100w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/03/image.png?w=655&amp;ssl=1 655w" sizes="(max-width: 600px) 100vw, 600px" /></figure>



<p>As you can see, this only returns one of IP addresses assigned to google.com. To get the full list of IP addresses associated with google.com, you need to use a different command line like <strong>nslookup</strong>.</p>



<figure class="wp-block-image"><img data-recalc-dims="1" decoding="async" width="535" height="360" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/03/image-1.png?resize=535%2C360&#038;ssl=1" alt="" class="wp-image-4245" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/03/image-1.png?w=535&amp;ssl=1 535w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/03/image-1.png?resize=250%2C168&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/03/image-1.png?resize=450%2C303&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/03/image-1.png?resize=520%2C350&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/03/image-1.png?resize=360%2C242&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/03/image-1.png?resize=100%2C67&amp;ssl=1 100w" sizes="(max-width: 535px) 100vw, 535px" /></figure>



<p>Or better, use PowerShell, like <a href="https://community.idera.com/database-tools/powershell/powertips/b/tips/posts/computer-name-dns-name-and-ip-address" target="_blank" rel="noreferrer noopener" aria-label="this (opens in a new tab)">this</a> shown below:</p>



<pre class="wp-block-preformatted">[System.Net.Dns]::GetHostEntry('google.com').AddressList.IPAddressToString</pre>



<figure class="wp-block-image"><img decoding="async" width="627" height="256" src="https://i1.wp.com/www.kjctech.net/wp-content/uploads/2019/03/image-2.png?fit=600%2C245&amp;ssl=1" alt="" class="wp-image-4246" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/03/image-2.png?w=627&amp;ssl=1 627w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/03/image-2.png?resize=250%2C102&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/03/image-2.png?resize=450%2C184&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/03/image-2.png?resize=600%2C245&amp;ssl=1 600w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/03/image-2.png?resize=520%2C212&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/03/image-2.png?resize=360%2C147&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/03/image-2.png?resize=100%2C41&amp;ssl=1 100w" sizes="(max-width: 627px) 100vw, 627px" /></figure>



<p>It calls up .Net DNS library and use the function GetHostEntry to get the full list of IP address associated with the specified domain DNS.</p>The post <a href="https://www.kjctech.net/powershell-tip-how-to-get-all-ips-assigned-to-a-dns-domain/">PowerShell Tip: How To Get All IPs Assigned to a DNS Domain</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.kjctech.net/powershell-tip-how-to-get-all-ips-assigned-to-a-dns-domain/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">4243</post-id>	</item>
		<item>
		<title>Email failed to deliver to certain domains with an SMTP protocol error occurred message</title>
		<link>https://www.kjctech.net/email-failed-to-deliver-to-certain-domains-with-an-smtp-protocol-error-occurred-message/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=email-failed-to-deliver-to-certain-domains-with-an-smtp-protocol-error-occurred-message</link>
					<comments>https://www.kjctech.net/email-failed-to-deliver-to-certain-domains-with-an-smtp-protocol-error-occurred-message/#respond</comments>
		
		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Sun, 13 Dec 2009 19:02:54 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[exchange]]></category>
		<category><![CDATA[reverse dns]]></category>
		<category><![CDATA[smtp]]></category>
		<guid isPermaLink="false">http://www.kjctech.net/2009/12/13/email-failed-to-deliver-to-certain-domains-with-an-smtp-protocol-error-occurred-message/</guid>

					<description><![CDATA[<p>It happened lately in my office that emails sent to certain domains first got delayed and then failed with a SMTP error code 4.4.7 in the final NDR. Error code 4.4.7 usually indicates that the message in the queue has expired and usually the problem is on the receiving server. However, that is obviously not the case this time. Also [&#8230;]</p>
The post <a href="https://www.kjctech.net/email-failed-to-deliver-to-certain-domains-with-an-smtp-protocol-error-occurred-message/">Email failed to deliver to certain domains with an SMTP protocol error occurred message</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></description>
										<content:encoded><![CDATA[<p>It happened lately in my office that emails sent to certain domains first got delayed and then failed with a SMTP error code 4.4.7 in the final NDR. Error code 4.4.7 usually indicates that the message in the queue has expired and usually the problem is on the receiving server. However, that is obviously not the case this time. Also on the server side, all queued messages all have one same warning message, â€œ<em>an SMTP protocol error occuredâ€</em>.</p>
<p>Dig it a little deeper by performing a MX lookup to all these domains that we had problem sending emails to and found out that pretty much all of them have secureserver.net associated as their MX records. Meaning that emails sent to their inboxes have to go through and pass secureserver.net.</p>
<p>And one of the requests in order to get pass secureserver.net is that IP address of sender&#8217;s email server has to have a valid <em>Reverse DNS</em> entry associated. The email won&#8217;t get rejected right away if the sender&#8217;s IP address doesn&#8217;t meet this requirement. It will be delayed and put in the message queue first to give you more time to fix the issue. And if the problem is still not resolved before the message expires, an NDR email will be sent to sender.</p>
<p>That makes sense. We have recently changed ISP and had one new external IP address assigned to our mail server. And one thing I totally forgot is to check this <em>Reverse DNS</em>. Once I got my ISP to change it to what I wanted, emails started to flow to these domains again. Problem solved!</p>
<p>So if you relay all your emails to your ISP before they are sent out, you actually don&#8217;t need to worry about it because they all have the proper <em>Reverse DNS</em> entry set up to IP addresses that belong to them.</p>
<p>But if your email setup like ours that all emails are sent out directly from our email server, then you will have to make sure you have the proper <em>Reverse DNS</em> set up on the IP addresses that are responsible for sending emails. Here is the guideline from <a href="http://unblock.secureserver.net" target="_blank" rel="noopener">unblock.secureserver.net</a>.</p>
<blockquote>
<p>Verify that your <a href="http://www.webopedia.com/TERM/R/rDNS.html">rDNS</a> contains a name that includes &quot;mail&quot;, &quot;SMTP&quot;, &quot;relay&quot;, or &quot;MX&quot;. For example: mail.example.com, smtp.example.com, or mx1.example.com.</p>
</blockquote>The post <a href="https://www.kjctech.net/email-failed-to-deliver-to-certain-domains-with-an-smtp-protocol-error-occurred-message/">Email failed to deliver to certain domains with an SMTP protocol error occurred message</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.kjctech.net/email-failed-to-deliver-to-certain-domains-with-an-smtp-protocol-error-occurred-message/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1039</post-id>	</item>
	</channel>
</rss>
