<?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>anuragbhatia.com !!! &#187; Web Hosting</title>
	<atom:link href="http://anuragbhatia.com/category/web-hosting/feed/" rel="self" type="application/rss+xml" />
	<link>http://anuragbhatia.com</link>
	<description>Call it a problem, ONLY if you have a solution!</description>
	<lastBuildDate>Sat, 20 Feb 2010 11:30:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
<image>
<link>http://anuragbhatia.com</link>
<url>http://anuragbhatia.com/wp-content/plugins/maxblogpress-favicon/icons/favicon-60.ico</url>
<title>anuragbhatia.com !!!</title>
</image>
		<item>
		<title>What to do when your email hosting is down?</title>
		<link>http://anuragbhatia.com/web-hosting/what-to-do-when-your-email-hosting-is-down/</link>
		<comments>http://anuragbhatia.com/web-hosting/what-to-do-when-your-email-hosting-is-down/#comments</comments>
		<pubDate>Sat, 20 Feb 2010 05:19:07 +0000</pubDate>
		<dc:creator>Anurag</dc:creator>
				<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[downtime]]></category>
		<category><![CDATA[email hosting]]></category>

		<guid isPermaLink="false">http://anuragbhatia.com/?p=648</guid>
		<description><![CDATA[This is a question that I have been asked many times via email and sometimes even phone! Situation is this: you wake up in the morning and found your email hosting is down. You are not getting any emails, either they are bouncing back or going to a blackhole. What should you do in such [...]]]></description>
			<content:encoded><![CDATA[<p>This  is a question that I have been asked many times via email and sometimes  even phone!</p>
<p>Situation is this: you wake up in the  morning and found your email hosting is down. You are not getting any  emails, either they are bouncing back or going to a blackhole.</p>
<p>What  should you do in such a situation?</p>
<p>Email service  is much like a chain – if any part is broken, you won&#8217;t get things  working (apart from lots of frustration!). Since it&#8217;s like chain, one  must follow step by step to find the problem.</p>
<div id="dg:0"><img src="https://docs.google.com/a/anuragbhatia.com/File?id=dfmvj88r_159fg5tck99_b" alt="" width="277" height="180" /></div>
<p>So at this  point a good question can be – where does the chain start?</p>
<h3>Email  hosting consists of 3 parts:</h3>
<ol>
<li>Domain  Registry record</li>
<li>DNS Hosting</li>
<li>Email  Hosting</li>
</ol>
<h3>Domain Registry record:</h3>
<h3><span style="font-size: x-small;">Start by checking the  domain registration. You can do that using any whois service like  who.is, drwhois.com etc. Make sure your domain isn&#8217;t expired. If it is,  quickly visit your domain registrar control panel and renew it. Most  smtp servers keep re-trying to deliver email for around 48hours, so if  your domain is expired, you should renew it quickly so that future  attempts at delivery will work correctly.</span></h3>
<p><span style="font-size: x-small;"><br />
</span></p>
<h3>DNS Hosting:</h3>
<p>If domain registry is OK,  then proceed with checking things at DNS hosting.</p>
<p>DNS servers play  an important role in email delivery by giving your MX record to  sender&#8217;s server which is like an “address” of email host. So you can try  sending a DNS query to dns servers for MX records.</p>
<p>You  can use online nslookup tools like <a id="sqzg" title="Zoneedit's  nslookup" href="http://zoneedit.com/lookup.html">Zoneedit&#8217;s nslookup</a> or <a id="iahj" title="network tools  nslookup" href="http://network-tools.com/nslook/">network tools nslookup</a> or if you want to try to lookup  from your system, use “nslookup” command in Windows DOS (as shown <a id="k4-r" title="here" href="http://dls2.anuragbhatia.com/dos_nslookup.jpg">here</a>) and “dig” in Linux (shown <a id="m5v3" title="here" href="http://dls2.anuragbhatia.com/dig_mxlookup.jpg">here</a>). If server doesn&#8217;t returns MX records, then try  looking up for &#8220;SOA&#8221; on that server for your domain. You will probably  find no SOA records which &#8220;technically&#8221; means that server isn&#8217;t hosting  dns records for your domain. In real world it can be billing issues with  host or accidential removal of domain. If you don&#8217;t see any SOA  records, immediately contact web host via phone. If you are using any  decent web host, you can expect things to be up within a couple of  minutes. Otherwise I would recommend using any free dns host like  editdns or zoneedit. Just signup for a free account with them, add your  domain, and then DNS records (MX and A records) followed by change in  name servers of your domain.</p>
<h3>Email Hosting:</h3>
<p>If  your DNS server is returning MX records, you can proceed to the next  part of chain &#8211; email hosting. If your MX records are OK and you are  still not getting emails, your of email is likely bouncing and the  bounced email will include the &#8220;cause&#8221; of the bounce back. It can be  email account doesn&#8217;t exist or server is not accepting email. In most  such cases, you would have to contact your email host for help and it  can take a day or so to sort out the issue. The best thing you can do in  such time is set up a temporary redirection &#8211; based email host to  prevent bounce back.</p>
<p>You can use free email  forwarders like zonedit or editdns to get all incoming emails forwarded  to your personal gmail/yahoo account.</p>
<p>To setup forwarding &#8211;  signup for a free account with provider, add your domain and setup email  forwarding for all incoming emails.Then query the dns server of that  host for MX records of your domain and set those MX records at existing  dns hosting (to prevent hassle of shifting dns hosting).</p>
<h3>Summary:</h3>
<div id="rmd9"><img src="https://docs.google.com/a/anuragbhatia.com/File?id=dfmvj88r_16166rsj4gx_b" alt="" /></div>
<h3>Happy hosting!</h3>
<div id="fs4v"><img src="https://docs.google.com/a/anuragbhatia.com/File?id=dfmvj88r_160cjn9gmhn_b" alt="" width="614" height="461" /></div>
]]></content:encoded>
			<wfw:commentRss>http://anuragbhatia.com/web-hosting/what-to-do-when-your-email-hosting-is-down/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>More about SPF records</title>
		<link>http://anuragbhatia.com/web-hosting/more-about-spf-records/</link>
		<comments>http://anuragbhatia.com/web-hosting/more-about-spf-records/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 11:03:26 +0000</pubDate>
		<dc:creator>Anurag</dc:creator>
				<category><![CDATA[DNS]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[Forum]]></category>
		<category><![CDATA[Google Apps]]></category>
		<category><![CDATA[SPF]]></category>
		<category><![CDATA[TXT]]></category>

		<guid isPermaLink="false">http://anuragbhatia.com/?p=634</guid>
		<description><![CDATA[Hello all! Few days back I visited Official Google Apps forum (one of my favorite places ) and answered many questions. It was quite after some time i was there and found few cases/questions/problems as really interesting. Here&#8217;s one of the questions asked there by a admin named aol985 about SPF records. His question - [...]]]></description>
			<content:encoded><![CDATA[<h2>Hello all!</h2>
<p>Few days back I visited Official <a href="http://www.google.com/support/forum/p/Google+Apps?hl=en" target="_blank">Google Apps forum</a> (one of my favorite places <img src='http://anuragbhatia.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ) and answered many questions. It was quite after some time i was there and found few cases/questions/problems as really interesting.</p>
<p>Here&#8217;s one of the questions asked <a href="http://www.google.com/support/forum/p/Google+Apps/thread?fid=750e9c1f2599ec720004705233957154&amp;hl=en">there</a> by a admin named <a href="http://www.google.com/support/forum/p/Google+Apps/user?userid=04599436568714297102&amp;hl=en">aol985</a> about SPF records.</p>
<p><img src="file:///C:/Users/ANURAG%7E1/AppData/Local/Temp/moz-screenshot-1.png" alt="" /></p>
<p style="text-align: center;"><img class="size-thumbnail wp-image-635 aligncenter" title="Question" src="http://anuragbhatia.com/wp-content/uploads/question-mark-150x150.jpg" alt="Question image" width="150" height="150" /></p>
<h2>His question -</h2>
<blockquote><p>As described in http://www.google.com/support/a/bin/answer.py?hl=en&amp;answer=33786 , I set SPF record for mashfilm.ru domain to &#8220;v=spf1 include:aspmx.googlemail.com ~all&#8221;. But aspmx.googlemail.com currently does not resolves. Is it correct?</p></blockquote>
<p>Nice one!</p>
<p>He is right on fact that aspmx.googlemail.com does NOT resolve. Ok why?</p>
<pre>anurag@root]$ dig aspmx.googlemail.com a</pre>
<pre>; &lt;&lt;&gt;&gt; DiG 9.3.4-P1.1 &lt;&lt;&gt;&gt; aspmx.googlemail.com a
;; global options:  printcmd
;; Got answer:
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 42050
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0</pre>
<pre>;; QUESTION SECTION:
;aspmx.googlemail.com.          IN      A</pre>
<pre>;; Query time: 100 msec
;; SERVER: 66.33.216.208#53(66.33.216.208)
;; WHEN: Wed Aug  5 02:48:00 2009
;; MSG SIZE  rcvd: 38</pre>
<pre>[anurag@root]$</pre>
<p>Thus <strong>no A record</strong> which means it won&#8217;t resolve, BUT one must remember that a zone can have many records working side by side offering their own feature, like &#8211; MX records can be there with/without A, same with txt records, and few other also.</p>
<p style="text-align: center;"><img class="size-thumbnail wp-image-636 aligncenter" title="Got it" src="http://anuragbhatia.com/wp-content/uploads/git-it-150x150.jpg" alt="Got it" width="150" height="150" /></p>
<p>Now observing the spf record by Google &#8211; &#8220;v=spf1 <em><strong>include:aspmx.googlemail.com</strong></em> ~all&#8221;</p>
<p>here <em><strong>include:aspmx.googlemail.com </strong></em></p>
<p>means to include the spf record of aspmx.googlemail.com which makes sense as:</p>
<pre>[anurag@root]$ dig aspmx.googlemail.com txt</pre>
<pre>; &lt;&lt;&gt;&gt; DiG 9.3.4-P1.1 &lt;&lt;&gt;&gt; aspmx.googlemail.com txt
;; global options:  printcmd
;; Got answer:
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 30134
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0</pre>
<pre>;; QUESTION SECTION:
;aspmx.googlemail.com.          IN      TXT</pre>
<pre>;; ANSWER SECTION:
aspmx.googlemail.com.   7178    IN      TXT     "v=spf1 redirect=_spf.google.com"</pre>
<pre>;; Query time: 14 msec
;; SERVER: 66.33.216.208#53(66.33.216.208)
;; WHEN: Wed Aug  5 02:54:02 2009
;; MSG SIZE  rcvd: 82</pre>
<pre>[anurag@root]$</pre>
<p>Now it means spf record for aspmx.googlemail.com is &#8220;v=spf1 redirect=_spf.google.com&#8221;</p>
<p>Now trying to understand _spf.google.com</p>
<p>underscore right in start makes it different from a sub-zone since it can&#8217;t be used as a domain but will still remain a working sub zone in terms of DNS.</p>
<p>So now since it can&#8217;t be used as a  sub domain i.e which can be used to be attached with web server and can supply pages via ftp, there is no meaning of A record for it here.</p>
<p>Checking <strong>txt string </strong>of<strong> _spf.google.com</strong></p>
<pre>[anurag@root]$ dig _spf.google.com txt</pre>
<pre>; &lt;&lt;&gt;&gt; DiG 9.3.4-P1.1 &lt;&lt;&gt;&gt; _spf.google.com txt
;; global options:  printcmd
;; Got answer:
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 52983
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0</pre>
<pre>;; QUESTION SECTION:
;_spf.google.com.               IN      TXT</pre>
<pre>;; ANSWER SECTION:
_spf.google.com.        300     IN      TXT     "v=spf1 ip4:216.239.32.0/19 ip4:64.233.160.0/19 ip4:66.249.80.0/20 ip4:72.14.192.0/18 ip4:209.85.128.0/17 ip4:66.102.0.0/20 ip4:74.125.0.0/16 ip4:64.18.0.0/20 ip4:207.126.144.0/20 ?all"</pre>
<pre>;; Query time: 29 msec
;; SERVER: 66.33.216.208#53(66.33.216.208)
;; WHEN: Wed Aug  5 02:57:26 2009
;; MSG SIZE  rcvd: 229</pre>
<pre>[anurag@root]$</pre>
<p>And here we got it!</p>
<h2>So much information in just one hostname!</h2>
<p><img class="aligncenter size-thumbnail wp-image-637" title="so much" src="http://anuragbhatia.com/wp-content/uploads/so-much-150x150.jpg" alt="so much" width="150" height="150" /></p>
<p>&#8220;v=spf1 ip4:216.239.32.0/19 ip4:64.233.160.0/19 ip4:66.249.80.0/20 ip4:72.14.192.0/18 ip4:209.85.128.0/17 ip4:66.102.0.0/20 ip4:74.125.0.0/16 ip4:64.18.0.0/20 ip4:207.126.144.0/20 ?all&#8221; is a part of SPF record which Google makes its Google Apps users to use.</p>
<p>Thus using</p>
<p>&#8220;v=spf1 include:aspmx.googlemail.com ~all&#8221; in spf tells that &#8220;this domain allows all of the server on this ip range &#8211; <em>ip4:216.239.32.0/19 ip4:64.233.160.0/19 ip4:66.249.80.0/20 ip4:72.14.192.0/18 ip4:209.85.128.0/17 ip4:66.102.0.0/20 ip4:74.125.0.0/16 ip4:64.18.0.0/20 ip4:207.126.144.0/20</em> as <strong>authorized to send email on behalf of that domain</strong>.</p>
<p><img class="aligncenter size-thumbnail wp-image-638" title="bye" src="http://anuragbhatia.com/wp-content/uploads/bye-150x150.gif" alt="bye" width="150" height="150" /></p>
<p>So that&#8217;s how spf works in this case. <img src='http://anuragbhatia.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
Note: There is a rating embedded within this post, please visit this post to rate it.
]]></content:encoded>
			<wfw:commentRss>http://anuragbhatia.com/web-hosting/more-about-spf-records/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
