<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><!-- generator="wordpress/2.2" --><rss 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/" version="2.0">

<channel>
	<title>Corpocrat Blog</title>
	<link>http://corpocrat.com</link>
	<description>Daily Blog from Internet Entrepreneur/Webmaster</description>
	<pubDate>Sat, 07 Nov 2009 22:43:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/corpocrat/sTPr" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Can xbox 360 play games without hard drive?</title>
		<link>http://corpocrat.com/2009/11/07/can-xbox-360-play-games-without-hard-drive/</link>
		<comments>http://corpocrat.com/2009/11/07/can-xbox-360-play-games-without-hard-drive/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 22:36:17 +0000</pubDate>
		<dc:creator>pbu</dc:creator>
		
		<category><![CDATA[Games]]></category>

		<guid isPermaLink="false">http://corpocrat.com/2009/11/07/can-xbox-360-play-games-without-hard-drive/</guid>
		<description><![CDATA[Can xbox 360 play games without hard drive?
I was asking this question to myself and my confusion was cleared only after buying arcade version of the xbox console.
Yes, you can play games from the disc without hard drive offline but cannot download games online and play it. Don&#8217;t forget that you will need a hard [...]]]></description>
			<content:encoded><![CDATA[<h3>Can xbox 360 play games without hard drive?</h3>
<p>I was asking this question to myself and my confusion was cleared only after buying arcade version of the xbox console.</p>
<p>Yes, you can play games from the disc without hard drive offline but cannot download games online and play it. Don&#8217;t forget that you will need a hard drive if you want to play older original xbox games. </p>
<p>Saving game progress doesn&#8217;t need hard drive since it can be saved with 256 mb memory unit which comes free with arcade version of the console. Just remember that out of 256mb,  120 mb is taken by system update files and about 10-50 mb used by each game save. So everytime you play a new game disc make sure you cleanup other game saves.</p>
<p>Playing music or videos can be done with usb drive instead of hard drive. </p>
<p>Don&#8217;t forget to use HDMl cable to connect your xbox to a HDTV for the best visual experience in terms of clarity and sharpness. This cable doesn&#8217;t come with arcade version and it has to be brought separately for about $20.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/7uV316Sg2WEgGiWxcpTKORw2f0M/0/da"><img src="http://feedads.g.doubleclick.net/~a/7uV316Sg2WEgGiWxcpTKORw2f0M/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/7uV316Sg2WEgGiWxcpTKORw2f0M/1/da"><img src="http://feedads.g.doubleclick.net/~a/7uV316Sg2WEgGiWxcpTKORw2f0M/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://corpocrat.com/2009/11/07/can-xbox-360-play-games-without-hard-drive/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fix -&gt; Xbox 360 display mode not supported HDMI problem</title>
		<link>http://corpocrat.com/2009/11/06/fix-xbox-360-display-mode-not-supported-hdmi-problem/</link>
		<comments>http://corpocrat.com/2009/11/06/fix-xbox-360-display-mode-not-supported-hdmi-problem/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 22:11:47 +0000</pubDate>
		<dc:creator>pbu</dc:creator>
		
		<category><![CDATA[Games]]></category>

		<guid isPermaLink="false">http://corpocrat.com/2009/11/06/fix-xbox-360-display-mode-not-supported-hdmi-problem/</guid>
		<description><![CDATA[Xbox 360 HDMI cable problem with Display not supported 
I just bought home a new Xbox 360, hooked up with my HDMI cable and the display worked perfectly. Then started the nightmare. I did a latest update with the console and display went blank and every time i started the 360 it gave &#8220;Display mode [...]]]></description>
			<content:encoded><![CDATA[<h3>Xbox 360 HDMI cable problem with Display not supported </h3>
<p>I just bought home a new Xbox 360, hooked up with my HDMI cable and the display worked perfectly. Then started the nightmare. I did a latest update with the console and display went blank and every time i started the 360 it gave &#8220;Display mode not supported&#8221; and there was no display. Even resetting the console (holding Y and RT) never worked for me no matter how many times i did resetting the console. I was using samsung 19&#8221; LCD TV with HDTV ready along with my Xbox.</p>
<p>I was very frustrated with this problem because initially the display worked at HDMI 1080p and now no display. My HDMI cable, Xbox were just everything fine after doing a thorough checkup. I had a weird feeling that update has got to do with the display problem.</p>
<p>I somehow fixed the problem by blindly playing with controller keys. Here is how you fix the problem to restore your display. Remember you have to do it blindly</p>
<p>Start Xbox and wait 1 min until it comes dashboard.<br />
Press XBoX Guide button<br />
Press RIGHT (2 times)<br />
Press DOWN (4 times)<br />
Press A (4 times)</p>
<p>Now you will be in display settings in xbox (blindly)</p>
<p><strong>Press UP then A</strong> (see display comes back)</p>
<p>If there is no display..</p>
<p><strong>Press UP then A</strong> (see if display comes up)</p>
<p>I got back my display back with UP and A second time and keep repeating the above step until you get the display. </p>
<p>I have seen this display issue with many people who done updates and  hooked up with HDMI cable for Xbox. I hope this helps.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/6eZKBLqWJfnYk8R_F1clPl3rbpc/0/da"><img src="http://feedads.g.doubleclick.net/~a/6eZKBLqWJfnYk8R_F1clPl3rbpc/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/6eZKBLqWJfnYk8R_F1clPl3rbpc/1/da"><img src="http://feedads.g.doubleclick.net/~a/6eZKBLqWJfnYk8R_F1clPl3rbpc/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://corpocrat.com/2009/11/06/fix-xbox-360-display-mode-not-supported-hdmi-problem/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Blackberry Storm - Typing Tutorial &amp; Useful Tips</title>
		<link>http://corpocrat.com/2009/11/05/typing-tutorial-tips-for-blackberry-storm/</link>
		<comments>http://corpocrat.com/2009/11/05/typing-tutorial-tips-for-blackberry-storm/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 14:21:14 +0000</pubDate>
		<dc:creator>pbu</dc:creator>
		
		<category><![CDATA[Mobile Phones]]></category>

		<guid isPermaLink="false">http://corpocrat.com/2009/11/05/typing-tutorial-tips-for-blackberry-storm/</guid>
		<description><![CDATA[Useful Typing Tips in Blackberry Storm
I love blackberry storm and recently i was having so much fun in touch screen typing the best part i like is typing especially using the SureType keyboard.  From being a noob i learnt a lot of handy tips for typing in blackberry storm
In storm there are 3 types [...]]]></description>
			<content:encoded><![CDATA[<h3>Useful Typing Tips in Blackberry Storm</h3>
<p>I love blackberry storm and recently i was having so much fun in touch screen typing the best part i like is typing especially using the SureType keyboard.  From being a noob i learnt a lot of handy tips for typing in blackberry storm</p>
<p>In storm there are 3 types of keyboards.</p>
<p>1. <strong>SureType</strong> (portrait)<br />
2. <strong>Multitap</strong> (portrait)<br />
3. <strong>Full Keyboard</strong> (landscape)</p>
<p>I very much like typing in portrait mode, unlike in landscape where the tapping touch screen was hard in the corners with full keyboard. So, i handle pretty much everything in the portrait view. By default storm shows full keyboard in landscape view and suretype/multitap in portrait view.</p>
<p><img src='http://corpocrat.com/wp-content/uploads/2009/11/capture19_41_13.jpg' alt='capture19_41_13.jpg' /></p>
<p>Here are some of the useful tips you might want to know&#8230;</p>
<p>1. When you type in email address, just press SPACE to get @ symbol or SPACE to get a DOT.</p>
<p>2. To type all letters in caps, press and hold the SHIFT key (shown as &#8216;aA&#8217;) for 1 or 2 seconds and you will a padlock, which means all the letters you type will be in caps.</p>
<p>3. To type numbers continuosly, press and hold <strong>!?123</strong> and soon it will be locked and then you can continuously type numbers or symbols.</p>
<p>4. You might want to get a DOT or full stop quickly when completing a sentence. To get this, press <strong>SPACE twice</strong>.</p>
<p>5. To type passwords or new words, use the Multitap Keyboard. To enable it, press main menu button select enable multitap.</p>
<p>6. When are you are typing a word in portrait mode using suretype and the predicted word shown on dropdown box just highlight it (dont tap the touch screen) and then ENTER key. In this way it would be easy for you to type fast.</p>
<p>7. To send/save something, say email or phone settings, just press main menu (it auto selects send or save) and again press main menu. </p>
<p>8. The very interesting part using suretype (in portrait view) is its ability to <strong>learn new unknown words</strong>. You need not switch to multitap. </p>
<p>For example to type `DIWALI`</p>
<p>Type `Di`<br />
Type w, on dropdown just highlight `Diw`<br />
Type a, on dropdrown highlight `Diwa`<br />
Type l, on dropdown highlight `Diwal`<br />
Type i, select `Diwali` and press ENTER</p>
<p>Thats it! Once the new word is learnt,</p>
<p>9. To type copyright &copy; or trademark &reg; or language symbols</p>
<p>&copy; -> Just place your finger (dont press)  `C` key for 2 secs, you will see new button for &copy;</p>
<p>&reg; -> Just place your finger and highlight R key for 2 seconds, you will see a new button appear on the screen. Tap it.</p>
<p>10. To make corrections or edit a word, place your finger on top of word and tap it, you will see a blue rectangular box, drag it to specific character and press BACKARROW key to delete characters or you can type continuously and you will get new word suggestions.</p>
<p><img src='http://corpocrat.com/wp-content/uploads/2009/11/capture19_31_0.jpg' alt='capture19_31_0.jpg' /></p>
<p>11. To make keyboard disappear or hide it, just <strong>slide your finger from top to bottom</strong> of keyboard to make it hide.</p>
<p>12. To quick insert your phone number or PIN while texting or emailing just type<br />
<strong><br />
`mynumber`<br />
`mypin`</strong></p>
<p>the phone will automatically insert your phone number and blackberry PIN to send to your friends.</p>
<p>Enjoy and have fun with your blackberry phone!</p>

<p><a href="http://feedads.g.doubleclick.net/~a/AJjZgd5xuIhVEfDsgh9E39gvPOI/0/da"><img src="http://feedads.g.doubleclick.net/~a/AJjZgd5xuIhVEfDsgh9E39gvPOI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/AJjZgd5xuIhVEfDsgh9E39gvPOI/1/da"><img src="http://feedads.g.doubleclick.net/~a/AJjZgd5xuIhVEfDsgh9E39gvPOI/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://corpocrat.com/2009/11/05/typing-tutorial-tips-for-blackberry-storm/feed/</wfw:commentRss>
		</item>
		<item>
		<title>10 Best Mobile Applications for Blackberry!</title>
		<link>http://corpocrat.com/2009/11/04/10-best-mobile-applications-for-blackberry/</link>
		<comments>http://corpocrat.com/2009/11/04/10-best-mobile-applications-for-blackberry/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 13:26:21 +0000</pubDate>
		<dc:creator>pbu</dc:creator>
		
		<category><![CDATA[Mobile Phones]]></category>

		<guid isPermaLink="false">http://corpocrat.com/2009/11/04/10-best-mobile-applications-for-blackberry/</guid>
		<description><![CDATA[Blackberry Appworld
A must install application for every blackberry phone to search stores for applications, games and much more. Its FREE to download.
Gmail for Blackberry 
Install gmail extended for your blackberry to directly send/receive gmail messages without web interface. It also has filter to block incoming messages. Its FREE to download.
Google Maps 
Install google maps application [...]]]></description>
			<content:encoded><![CDATA[<h4><a href=" http://appworld.blackberry.com/webstore/content/1">Blackberry Appworld</a></h4>
<p>A must install application for every blackberry phone to search stores for applications, games and much more. Its FREE to download.</p>
<h4><a href="http://na.blackberry.com/eng/devices/features/communication/gmail.jsp">Gmail for Blackberry </a></h4>
<p>Install gmail extended for your blackberry to directly send/receive gmail messages without web interface. It also has filter to block incoming messages. Its FREE to download.</p>
<h4><a href="http://www.google.com/mobile/products/maps.html">Google Maps </a></h4>
<p>Install google maps application on your blackberry for navigate using maps. It also supports GPS if your handheld supports it. Its FREE</p>
<h4><a href="http://www.orangatame.com/products/twitterberry/">Twitterberry</a></h4>
<p>Twitterberry is a very useful blackberry application to post tweets and access timeline including private messages. It is FREE</p>
<h4><a href="http://na.blackberry.com/eng/devices/features/social/facebook.jsp">Facebook<br />
</a></h4>
<p>Connect to your friends with this facebook application for blackberry. It is so nice and compact. </p>
<h4><a href="http://na.blackberry.com/eng/devices/features/im/google_talk.jsp">Google Talk</a></h4>
<p>Google Talk is an alternative instant messager to the one installed by default. If can easily chat with your friends list from gmail or orkut. It can be downloaded free from google mobile site.</p>
<h4><a href="http://handheld.softpedia.com/get/System-Utilities/Communications/CallsBlocker-75113.shtml">Calls Blocker</a></h4>
<p>A handy useful application to block unwanted incoming calls to your blackberry. It is a FREE application to download.</p>
<h4><a href="http://www.opera.com/mobile/">Opera Mini Browser</a></h4>
<p>Opera is a popular browser for smartphones and mobiles. It can be installed as an alternative to the default browser in your blackberry.</p>
<h4><a href="http://wordpressmobile.mobi/">Wordpress Mobile Plugin </a></h4>
<p>A very useful wordpress plugin if you own a wordpress blog and want to do blog posts from your blackberry. Just install the plugin, set a mobile password and you can immediately post to your blog. It also supports google ad monetisation of your blog. Download FREE from the website.</p>
<h4><a href="http://www.dynoplex.com/eoffice.shtml">eOffice</a></h4>
<p>eOffice is a complete word processing package for your blackberry to compose/read doc, pdf or excel sheet documents. It also allows you to fax and print from your handheld. It is a commercial application for a small fee.</p>
<h4><a href="http://appworld.blackberry.com/webstore/content/3003">Color ID</a> </h4>
<p>A very interesting application worth taking a look. It lets you to customize LED indicator colors for SMS, email or incoming phone calls to specific color indication. It is FREE but to download you will need to have Appworld installed.</p>
<h4><a href="http://the-blackberry-storm.net/2009/01/04/how-to-get-screenshots-from-your-storm/">Screenshot</a></h3>
<p>To capture screenshot on your blackberry phone, you will need this screenshot application.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/kAPB5CQV3mxf5rfOBSixz7-Z4O8/0/da"><img src="http://feedads.g.doubleclick.net/~a/kAPB5CQV3mxf5rfOBSixz7-Z4O8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/kAPB5CQV3mxf5rfOBSixz7-Z4O8/1/da"><img src="http://feedads.g.doubleclick.net/~a/kAPB5CQV3mxf5rfOBSixz7-Z4O8/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://corpocrat.com/2009/11/04/10-best-mobile-applications-for-blackberry/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Touch screen difference in Blackberry storm &amp; Iphone</title>
		<link>http://corpocrat.com/2009/11/03/touch-screen-difference-in-blackberry-storm-iphone/</link>
		<comments>http://corpocrat.com/2009/11/03/touch-screen-difference-in-blackberry-storm-iphone/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 14:59:09 +0000</pubDate>
		<dc:creator>pbu</dc:creator>
		
		<category><![CDATA[Mobile Phones]]></category>

		<guid isPermaLink="false">http://corpocrat.com/2009/11/03/touch-screen-difference-in-blackberry-storm-iphone/</guid>
		<description><![CDATA[Touch screen difference in Blackberry storm &#038; Iphone 
I am not sure not many would realize that there is a major difference in touch screen working in both iphone and blackberry storm when comes to typing.
In Iphone, you have to just do a feather touch to type a character , while in case of blackberry [...]]]></description>
			<content:encoded><![CDATA[<h3>Touch screen difference in Blackberry storm &#038; Iphone </h3>
<p>I am not sure not many would realize that there is a major difference in touch screen working in both iphone and blackberry storm when comes to typing.</p>
<p>In Iphone, you have to just do a feather touch to type a character , while in case of blackberry storm you have to press down the whole touch screen (like a spring). Initially you will find bit different for whole touch screen to press down but once you get used to it it will be so easy to type fast.</p>
<p>In terms of display both touch screens show a high resolution images. I would definitely recommend blackberry if you  are a business user or a person who likes to text a lot. For absolute fun iphone is the best! </p>
<p>Dont forget that blackberry storm is as good as iphone and much cheaper!</p>

<p><a href="http://feedads.g.doubleclick.net/~a/ei7Avlkir8DlWb9Ajk2CemCCH2g/0/da"><img src="http://feedads.g.doubleclick.net/~a/ei7Avlkir8DlWb9Ajk2CemCCH2g/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ei7Avlkir8DlWb9Ajk2CemCCH2g/1/da"><img src="http://feedads.g.doubleclick.net/~a/ei7Avlkir8DlWb9Ajk2CemCCH2g/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://corpocrat.com/2009/11/03/touch-screen-difference-in-blackberry-storm-iphone/feed/</wfw:commentRss>
		</item>
		<item>
		<title>No email setup option in Blackberry phone!</title>
		<link>http://corpocrat.com/2009/11/03/no-email-setup-option-in-blackberry-phone/</link>
		<comments>http://corpocrat.com/2009/11/03/no-email-setup-option-in-blackberry-phone/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 14:48:24 +0000</pubDate>
		<dc:creator>pbu</dc:creator>
		
		<category><![CDATA[Mobile Phones]]></category>

		<guid isPermaLink="false">http://corpocrat.com/2009/11/03/no-email-setup-option-in-blackberry-phone/</guid>
		<description><![CDATA[Blackberry phone has no option to setup email!
I recently bought blackberry storm 9530 and i am loving it with its gorgeous design, ease of use in texting with suretype. I was initially frustrated with no option of setting up email and there was only one option for blackberry enterprise email which i couldnt do it [...]]]></description>
			<content:encoded><![CDATA[<h3>Blackberry phone has no option to setup email!</h3>
<p>I recently bought blackberry storm 9530 and i am loving it with its gorgeous design, ease of use in texting with suretype. I was initially frustrated with no option of setting up email and there was only one option for blackberry enterprise email which i couldnt do it either. </p>
<p>With that being said, none of the google applications (gmail, google maps) refused to work as well. I frequently got &#8220;APN settings not specified&#8221; or &#8220;Tunnel failed&#8221; and the applications just hung up.</p>
<p><strong>Solution</strong></p>
<p>If you see no option for email setup, dont panic, just ask your mobile service provider to activate the blackberry internet and email service. I did contact vodafone by phone and within 20min or so every thing worked perfectly in my blackberry. Even third party applications worked like a charm. I guess every telecom mobile service provider must have some kind of activation for blackberry to work properly.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/bho1_8QXFl5uLYg4FunIFvSC1TQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/bho1_8QXFl5uLYg4FunIFvSC1TQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/bho1_8QXFl5uLYg4FunIFvSC1TQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/bho1_8QXFl5uLYg4FunIFvSC1TQ/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://corpocrat.com/2009/11/03/no-email-setup-option-in-blackberry-phone/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Troubleshooting Common DNS Misconfiguration Errors</title>
		<link>http://corpocrat.com/2009/10/01/troubleshooting-common-dns-misconfiguration-errors/</link>
		<comments>http://corpocrat.com/2009/10/01/troubleshooting-common-dns-misconfiguration-errors/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 12:50:53 +0000</pubDate>
		<dc:creator>pbu</dc:creator>
		
		<category><![CDATA[Linux/Unix]]></category>

		<guid isPermaLink="false">http://corpocrat.com/2009/10/01/troubleshooting-common-dns-misconfiguration-errors/</guid>
		<description><![CDATA[Understanding DNS &#038; Troubleshooting Common DNS Errors
DNS (Domain name system) may not be known to most people who use internet but it is the real backbone and the invisible force driving the whole internet without which we would be seeing numbers and IPs. The whole meaning of domain names exist today just because of DNS. [...]]]></description>
			<content:encoded><![CDATA[<h3>Understanding DNS &#038; Troubleshooting Common DNS Errors</h3>
<p>DNS (Domain name system) may not be known to most people who use internet but it is the real backbone and the invisible force driving the whole internet without which we would be seeing numbers and IPs. The whole meaning of domain names exist today just because of DNS. </p>
<h3>INTRODUCTION</h3>
<p>The simplest way of explaining DNS in one line is to map domain name to IP address. I am not sure how many would know that when somebody types a domain name in IE/firefox, the browser forwards the DNS request asking for ip address from the resolver of ISP (ISP Provider) and the resolver contacts the root servers and then systematically retrieves the IP address within a matter of few milliseconds.</p>
<p>Understanding DNS and its working is one of the most difficult computer engineering subject and yet most experienced network administrators struggle in this topic when it comes to DNS zone file writing.</p>
<p>Before i proceed with this article, the following are the MOST IMPORTANT points you should remember as otherwise you wouldnt understand bit.</p>
<h3>POINTS TO REMEMBER</h3>
<p>1. A Record must ALWAYS contain IP address (map host to IP)</p>
<p>When ever you specify A record it must contain IP address on the Right side. The A record is so important in DNS without which the meaning of mapping hostnames to IP would be absurd. So remember this!</p>
<p>2. CNAME (Alias) must contain hostnames. No IPs here</p>
<p>3. NS an MX records must contain host names. No IPs allowed.</p>
<p>4. Use the DOT in the end, whenever you specify a domain name in the DNS zone file. This DOT is so important and if you forget this you will have nightmares with your dns configuration.</p>
<p>For example</p>
<p><code>example.com. IN	NS	ns1.example.com.</code></p>
<p>why DOT? simply because it tells to start query from root servers (denoted by dot)</p>
<p>5. MX records (for mail servers)  should contain hostnames NOT IPs.</p>
<h3>COMMON DNS TERMS AND THEIR MEANINGS</h3>
<p><strong>(i) Glue Records</strong></p>
<p>Glue records are A records that are associated with NS records to<br />
   provide &#8220;bootstrapping&#8221; information to the NS records nameserver. (see <a href="http://www.faqs.org/rfcs/rfc1912.html">RFC 1912 section 2.3</a>)</p>
<blockquote><p>domain.com. 	IN 	NS ns1.domain.com.<br />
domain.com. 	IN	NS ns2.domain.com.</p>
<p>ns1 	IN 	A 	11.33.55.77<br />
ns2	IN	A 	22.44.66.88</p></blockquote>
<p>In the above example we are mapping each NS records to IP address (A record) thus binding nameservers to IP (that is glue them)</p>
<p><strong>(ii) LAME Nameserver Delegation</strong></p>
<p>A nameserver which gives non-authoritative answer is usually called &#8216;LAME&#8217;. Every domain must have atleast 2 nameservers and if i ask each of them, and if they have domain zone information, i will get authoritative answer. If not its a &#8216;lame delegation&#8217;. Refer to (see <a href="http://www.faqs.org/rfcs/rfc1912.html">RFC 1912 section 2.8</a>)</p>
<p>An example of lame delegation is<br />
<code><br />
domain.com 	IN  	NS 	ns1.domain.com<br />
domain.com 	IN	NS 	ns2.example-server.net</code></p>
<p>ns1.domain.com is configured to have zone information about domain but ns2.exserver.net was not configured properly and does not have any information about the domain. So ns1 will answer authoritatively wheras ns2 wont which will be &#8216;lame&#8217; until it is setup properly.</p>
<p>To get more in depth understanding, lets use dig tool for example.com</p>
<p>1. First we find the nameservers of example.com</p>
<blockquote><p> dig example.com NS</p>
<p>;; ANSWER SECTION:<br />
example.com.            158240  IN      NS      a.iana-servers.net.<br />
example.com.            158240  IN      NS      b.iana-servers.net.</p></blockquote>
<p>2. Since we have received 2 nameservers, we ask each of them whether they give authoritative answer. If its authoritative &#8216;aa&#8217;  flag in the header  will be set in the answer received (&#8217;aa&#8217; is authoritative answer)</p>
<blockquote><p>> dig @b.iana-servers.net example.com NS<br />
> dig @a.iana-servers.net example.com NS</p>
<p>;; Got answer:<br />
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60896<br />
;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0</p>
<p>;; QUESTION SECTION:<br />
;example.com.                   IN      NS</p>
<p>;; ANSWER SECTION:<br />
example.com.            172800  IN      NS      a.iana-servers.net.<br />
example.com.            172800  IN      NS      b.iana-servers.net.</p></blockquote>
<p>Look in the flags</p>
<p><strong>flags: qr aa rd</strong></p>
<p>Since &#8216;aa&#8217; is set in the answer, then both the nameservers of example.com provide authoritative answer. If it is lame delegation you wont get the authoritative answer.</p>
<p><strong>CAUTION:</strong></p>
<p>You should not use CNAME (alias) along with NS records and it often confuses most resolvers causing loops and often leads to &#8216;lame&#8217; delegation.</p>
<p><code>domain.com. 	IN 	NS 	ns1.domain.com.<br />
domain.com. 	IN	NS 	ns2.domain.com.<br />
domain.com.	In	CNAME	ns9.example-server.net</code></p>
<p>So never use CNAME along with NS records.</p>
<p><strong>(iii) Stealth Nameservers</strong></p>
<p>Stealth Nameservers (or hidden nameservers) are mismatched/conflicting nameservers which exist at root level against of nameservers in the domain.</p>
<p>To illustrate this, when i ask parent servers about your domain for NS records at root level i get</p>
<p><code>ns0.domain.com<br />
ns2.domain.com<br />
ns3.domain.com<br />
</code><br />
but when i query nameservers of your domain for the NS records are not the same and comes like</p>
<p><code>ns0.domain.com<br />
ns2.domain.com<br />
ns.example-dns.net</code></p>
<p>Since ns.example-dns.net and ns3.domain.com is hidden both are a &#8217;stealth nameservers&#8217;. Although there is nothing wrong in it, it is advisable not to have any stealth nameservers both at root level and in your dns server.</p>
<p>You can use dig command to lookup NS records at root server level.</p>
<p><code>dig +trace @K.root-servers.net example.com NS</code></p>
<p>and to ask one of the nameservers of the domain</p>
<p><code>dig @ns0.domain.com example.com NS</code></p>
<p>Look for any NS mismatch between the two queries. If there is a nameserver missing at root level, add the missing nameserver to your domain registrar. If the nameserver missing at domain level, add the nameserver to the  zone file of the domain and update all your secondary nameservers.</p>
<p><strong>(iv) Open DNS Server</strong></p>
<p>Running the dns server &#8216;open&#8217; is a big security risk since it answers recursive queries both from inside and outside your network. It means anyone can query your server for IP address and your dns server will answer them.</p>
<p>To illustrate this, we have two nameservers running bind for domain example.com<br />
<code><br />
ns1.example.com<br />
ns2.example.com</code></p>
<p>We ask ns1.example to resolve outside domain google.com and if we get IP address (A record) in the answer section, then it means it is an &#8216;open dns server&#8217;</p>
<blockquote><p>dig @ns1.example.com google.com<br />
dig @ns2.example.com google.com</p>
<p>;; global options:  printcmd<br />
;; Got answer:<br />
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 12107<br />
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0</p>
<p>;; QUESTION SECTION:<br />
;google.com.                    IN      A</p>
<p>;; Query time: 32 msec</p></blockquote>
<p>Since there is no ANSWER section or IP address both the nameservers does not constitute open dns server.</p>
<p>If you happen to run bind8 or later, all you have to do is set &#8216;recursion no&#8217; within options to disable dns server answering recursive queries.</p>
<p><code>options {<br />
....<br />
recursion no;<br />
}</code></p>
<p><strong>(v) Zone Transfers (AXFR request)</strong></p>
<p>Zone transfers are done by secondary nameservers to retrieve latest and updated zone information for domain from master or primary nameserver. Zone transfers should only be made available to secondary nameservers and not to the open world as it is a big security risk and may expose the internals of your network to the attacker.</p>
<p>To request a zone transfer for example.com we need to ask the master nameserver first. See the below example with dig. </p>
<p><code>dig @ns1.example.com example.com</code></p>
<p>If you see the output with full zone file, then you have to disable the zone transfer. In most cases you will see connection failed or REFUSED which means zone transfer is not allowed and its a good thing.</p>
<h3>COMMON DNS ERRORS IN ZONE FILE WRITING</h3>
<p><strong><br />
1.No CNAME pointing to NS records</strong></p>
<p><code>domain.com. 	IN 	NS 	ns1.domain.com.<br />
domain.com. 	IN	NS 	ns2.domain.com.<br />
domain.com.	In	CNAME	ns9.example-server.net -----> WRONG</code></p>
<p>Placing CNAME along with NS the all of namservers will fail and will result in lame delegation. Dont do that!</p>
<p>Refer to RFC1912 2.4 and RFC2181 10.3 </p>
<p><a href="http://tools.ietf.org/html/rfc2181">http://tools.ietf.org/html/rfc2181</a><br />
<a href="http://tools.ietf.org/html/rfc1912">http://tools.ietf.org/html/rfc1912</a></p>
<p><strong><br />
2. Avoid running DNS servers on IPs on same subnet (/24) or on same server.<br />
</strong><br />
The whole purpose of DNS is for nameservers to be spread over different geographical locations so that if one dns fails the other would work. Although it is very common practice to run both nameservers on same server or subnet, it would not provide fault tolerance. If the server fails your nameservers will fail and your site wont load.</p>
<p><code>ns1 IN A 75.33.22.xx -----> same subnet /24<br />
ns2 IN A 75.33.22.xx -----> same subnet /24<br />
</code></p>
<p><strong>3.Proper GLUE</strong></p>
<p>Always add glue to your NS records to the IP addresses using A record, failing which one of your nameservers will fail.</p>
<blockquote><p>domain.com. IN NS ns1.domain.com.<br />
domain.com. IN NS ns2.domain.com.</p>
<p>ns1 IN A 1.2.3.4 &#8212;&#8211;> GLUE<br />
ns2 IN A 2.4.6.9 &#8212;&#8211;> GLUE
</p></blockquote>
<p>Refer to RFC1912: <a href="http://tools.ietf.org/html/rfc1912">http://tools.ietf.org/html/rfc1912</a></p>
<p><strong>4. No duplicate MX records</strong></p>
<blockquote><p>domain.com. IN MX mail.domain.com.<br />
domain.com. IN MX mail.domain.com  &#8212;-> DUPLICATE
</p></blockquote>
<p><strong>5. Allow Port 53 for both UDP and TCP connections</strong></p>
<p>If you use firewall make sure you do not block port 53 for DNS tcp and udp requests. By default dns lookups use UDP protocol while zone transfers and notifications use TCP protocol of port 53.</p>
<p>Port 53 UDP = Dns Requests<br />
Port 53 TCP = Zone transfers</p>
<p><strong>6.CNAMEs cannot co-xist with MX hosts.</strong></p>
<p>Do not specify CNAME or aliases pointing to MX records.</p>
<p><code>domain.com. IN MX 10 mail.domain.com.<br />
mail IN CNAME domain.com.  ----------> WRONG</code></p>
<p>Instead use A record to map directly to IP address</p>
<p><code>mail IN A 11.33.55.77 ---> CORRECT</code></p>
<p>Refer to RFC1912 <a href="http://tools.ietf.org/html/rfc1912">http://tools.ietf.org/html/rfc1912</a></p>
<p><strong>7. MX Records should not contain IP addresses.</strong></p>
<p><code>domain.com. IN 10 MX mail.domain.com. ----> CORRECT<br />
domain.com. IN 20 MX 11.22.33.44  -----> WRONG</code></p>
<p>The correct way of doing this is glue the mx host to A record.</p>
<p><code>domain.com. IN MX 10 mail.domain.com. -----> CORRECT<br />
mail IN A 11.33.55.77 ----------> CORRECT<br />
</code></p>
<p>8. NS records should NOT contain IP address</p>
<p>Always specify nameservers for your domain with NS records. It should be a name and not ip addresss</p>
<blockquote><p>domain.com. IN NS dns0.domain.com. &#8212;&#8211;> CORRECT<br />
domain.com. IN NS  75.xx.xx.xx &#8212;&#8212;&#8212;&#8211;> WRONG</p></blockquote>
<h3>REVERSE DNS FOR MAIL DELIVERY</h3>
<p>For proper mail delivery, the following anti-spam methos are very important to make sure the email is delivered to users inbox. Most public email service providers yahoo, hotmail and gmail do use these parameters to flag email is spam or not.</p>
<p>(i) Setup Reverse IP for your mail server with PTR in DNS (needs Dedicated IP)<br />
(ii) Setup SPF Record in your DNS<br />
(iii) Setup Domain Keys</p>
<p>I have seen on many occasions if you use shared hosting plan, most emails do land up in spam/bulk folder in the users inbox. So use a dedicated server</p>
<p><strong>8. Setup reverse IPs for Mailserver IPs</strong></p>
<p>In order to setup reverse IP, first you will need to place a request to your hosting provider (since they own Ip address) and ask them to setup a reverse IP to your mail server. Once that is done you have to place a line using PTR in your domain zone file.</p>
<p>To test reverse ip lookup</p>
<p><code>host <ip-address></code></p>
<p>will show the output of reverse dns.</p>
<p><strong>9. Setup SPF record</strong></p>
<p>SPF record is setup using TXT record in your dns zone file. It looks like what is shown below. Visit http://openspf.org for more information about setup and configuration.</p>
<p><strong>domain.com. IN TXT &#8220;v=spf1 a mx ip4:11.33.55.77 -all&#8221;</strong></p>
<p>To query SPF record using dig</p>
<p><code>dig domain.com TXT</code></p>
<p><strong>10. Domain Keys</strong></p>
<p>Domain keys is an authentication framework to digitally sign the email using public keys to prove email originating from partiular domain and not from a phishing or spam site. More information can be found http://domainkeys.sourceforge.net/</p>
<p>It basically contains 2 records (with and without selector) placed under TXT using underscore along with generated public key.</p>
<p>sel_domainkey.example.com IN TXT (with selector)<br />
_domainkey.example.com IN TXT (without selector)</p>
<p>The ’sel’ is a selector and can be selector name.</p>
<p>Once you setup domain keys you will see signed by in the mail header on every smtp email you send.</p>
<h3>How to setup nameservers for your domain using BIND9</h3>
<p>You can setup dns nameservers for your domain if you have VPS or dedicated server just from command line. You dont need a control panel or webbased interface to do this.</p>
<p><code>yum install bind</code></p>
<p>(1)<br />
open /etc/named.conf, add the following lines&#8230;</p>
<blockquote><p>
zone &#8220;domain.com&#8221; {<br />
type master;<br />
file &#8220;/var/named/domain.com.com.db&#8221;;<br />
};</p></blockquote>
<p>(2)<br />
create a file under /var/named/domain.com.db (replace example.com to your domain)</p>
<p><code>nano /var/named/domain.com.db</code></p>
<p>and paste the full sample bind zone (see below replacing domain.com to your domain)</p>
<p>Make sure you&#8230;</p>
<p>(a) have 2 ip addresses<br />
(b) replace domain.com to your domain.<br />
(c) change the ip addresses whereever xx.xx.xx.xx is present<br />
(d) increment the serial last 2 digits by one for every change to the file<br />
(e) dont forget the DOT at the end of domain</p>
<p>(3) Save changes to the file and restart bind.</p>
<p><code>service named restart</code></p>
<p>(4) Go to your domain registrar, register the new nameservers with 2 ips, then update the nameservers for your domain.</p>
<p>Visit <a href="http://intodns.com">http://intodns.com</a> to check for any dns errors or you may use DIG tool to fix dns problems.</p>
<blockquote><p>
;=================================================================<br />
;SAMPLE BIND DNS Zone FILE<br />
;for ANY Domain (Just change domain.com to your site)<br />
;================================================================</p>
<p>; Before you start DONT FORGET THE DOT AND SERIAL INCREMENT</p>
<p>$TTL 14400<br />
$ORIGIN domain.com.</p>
<p>; SOA Record<br />
; Specify Primary nameserver ns1.domain.com<br />
; Serial should increment every update<br />
@ 14400 IN SOA ns1.domain.com. webmaster.domain.com. (<br />
                                2009092902 ; Serial in YYYYMMDDXX (XX is increment)<br />
                                10800; refresh seconds<br />
                                3600; retry<br />
                                604800; expire<br />
                                38400; minimum<br />
                                );<br />
; Website IP Address specified in A record</p>
<p>       IN A xx.xx.xx.xx</p>
<p>; Minimum 2 DNS nameserver names</p>
<p>       IN NS ns1.domain.com.<br />
       IN NS ns2.domain.com.</p>
<p>; Mapping all Nameservers and their corresponding IPs (GLUE)</p>
<p>ns1  IN A xx.xx.xx.xx<br />
ns2  IN A xx.xx.xx.xx</p>
<p>; Specify any subdomains and www entry here using CNAME record</p>
<p>www 	IN CNAME domain.com.<br />
ftp 	IN CNAME domain.com.<br />
server 	IN CNAME domain.com.<br />
webmail IN CNAME domain.com.</p>
<p>; Setup MX record (mail exchanger with priority)<br />
domain.com. IN MX 10 mail.domain.com.</p>
<p>; set A record for mail<br />
mail IN A xx.xx.xx.xx</p></blockquote>
<p>Enjoy DNS!</p>

<p><a href="http://feedads.g.doubleclick.net/~a/SpsSMmIi6zuO-nbsvCsOKZkm2oQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/SpsSMmIi6zuO-nbsvCsOKZkm2oQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/SpsSMmIi6zuO-nbsvCsOKZkm2oQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/SpsSMmIi6zuO-nbsvCsOKZkm2oQ/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://corpocrat.com/2009/10/01/troubleshooting-common-dns-misconfiguration-errors/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How URL shortening scripts work?</title>
		<link>http://corpocrat.com/2009/09/29/how-url-shortening-scripts-work/</link>
		<comments>http://corpocrat.com/2009/09/29/how-url-shortening-scripts-work/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 21:54:39 +0000</pubDate>
		<dc:creator>pbu</dc:creator>
		
		<category><![CDATA[PHP Scripts]]></category>

		<guid isPermaLink="false">http://corpocrat.com/2009/09/29/how-url-shortening-scripts-work/</guid>
		<description><![CDATA[How URL shortner scripts work?
I have been quite intrigued with the working of these URL shortner scripts and surprisingly most of them
employ an ingenious solution to compress the URL to a shortened one.
http://example.com/fe45  &#8212;&#8212;-> http://corpocrat.com/blah/page.htm
The answer is base36 encoding. why base36? because it can contain 26 alphabets and 10 numbers in the output. This [...]]]></description>
			<content:encoded><![CDATA[<h3>How URL shortner scripts work?</h3>
<p>I have been quite intrigued with the working of these URL shortner scripts and surprisingly most of them<br />
employ an ingenious solution to compress the URL to a shortened one.</p>
<p>http://example.com/fe45  &#8212;&#8212;-> http://corpocrat.com/blah/page.htm</p>
<p>The answer is <strong><a href="http://en.wikipedia.org/wiki/Base_36">base36</a></strong> encoding. why base36? because it can contain 26 alphabets and 10 numbers in the output. This is surprisingly simple way of encoding a URL.</p>
<p>Base 36 is nothing but, you keep on dividing a number by 36, collect its reminders (or modulo) and map them to the corresponding table of alphabets and numbers. see <a href="http://en.wikipedia.org/wiki/Base_36">base 36 table</a>.</p>
<p>This is how most URL shortner scripts work&#8230;</p>
<p>1. First Insert a long URL into the database. Get the id of row which should be a primary key and unique. In most cases it can also be auto increment.</p>
<p>URLs are stored in database with unique id.</p>
<p><code><br />
-----------------------------------------------<br />
ID                     URL<br />
-----------------------------------------------<br />
10099        http://corpocrat.com/<br />
14566        http://corpocrat.com/blah/page.htm<br />
</code></p>
<p>2. Now get the corresponding ID to that URL stored in database. Since the ID it can contain only numbers 0-9  (base 10), convert to base 36 using php function <a href="http://php.net/base_convert">base_convert</a> from 10 to 36</p>
<pre name="code" class="php">

&lt;?php
    $id = &quot;10099&quot;;
    echo base_convert($id,10,36);
?&gt;
</pre>
<p><strong>Output:</strong></p>
<p>1099 &#8212;&#8212;-> uj<br />
10099 &#8212;&#8212;> 7sj<br />
100099 &#8212;&#8211;> 258j</p>
<p>As you see the output produced by base36, smaller numbers output fewer characters  and for even  millionth number, we generate just 4 characters in length in the form of mixed alphabets and numbers.</p>
<p><img src='http://corpocrat.com/wp-content/uploads/2009/10/base361.PNG' alt='base361.PNG' /></p>
<p>3. Store that base36 output in the database, respective to that of ID in a separate field. so the trimmed version of URL becomes&#8230;.</p>
<blockquote><p>http://example.com/7sj </p></blockquote>
<p>for the URL http://corpocrat.com with ID 10099 stored in the database.</p>
<p>The above http://example.com/7sj is a mod-write for the php page</p>
<p><code>http://example.com/7sj -----> http://example.com/short.php?baseid=7sj</code></p>
<p>which queries the database based for destination URL against base38 stored  and then redirects.</p>
<p>The above is a very simple technique and besides this there are many more techniques for URL shortening, for which i recommend the below referenced resources.</p>
<p>Enjoy!</p>
<h3>Useful References</h3>
<p>* URL compression for huge set of URLs in GB sizes - <a href="http://anres.cpe.ku.ac.th/pub/url-compression-ncsec.pdf">http://anres.cpe.ku.ac.th&#8230;.ncsec.pdf</a><br />
* URL shortening hashes - <a href="http://www.codinghorror.com/blog/archives/000935.html">http://www.codinghorror.com/blog/archives/000935.html</a><br />
<strong><br />
Note:</strong> <a href="http://en.wikipedia.org/wiki/Base64">Base 64</a> can also give wide range of characters in url shortening.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/0sdQWiC0aEGHP2w6XX80w98te00/0/da"><img src="http://feedads.g.doubleclick.net/~a/0sdQWiC0aEGHP2w6XX80w98te00/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/0sdQWiC0aEGHP2w6XX80w98te00/1/da"><img src="http://feedads.g.doubleclick.net/~a/0sdQWiC0aEGHP2w6XX80w98te00/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://corpocrat.com/2009/09/29/how-url-shortening-scripts-work/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to check IPs on same subnet?</title>
		<link>http://corpocrat.com/2009/09/28/how-to-check-ips-on-same-subnet/</link>
		<comments>http://corpocrat.com/2009/09/28/how-to-check-ips-on-same-subnet/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 20:26:29 +0000</pubDate>
		<dc:creator>pbu</dc:creator>
		
		<category><![CDATA[Linux/Unix]]></category>

		<category><![CDATA[PHP Scripts]]></category>

		<guid isPermaLink="false">http://corpocrat.com/2009/09/28/how-to-check-ips-on-same-subnet/</guid>
		<description><![CDATA[How to check IPs on same subnet?
In many cases, you might want to check whether an ip address falls under a same subnet or not. It can be done both in perl and php using the Network library.
For PHP use Net IP4 library
For PERL use Net::IP library


&#60;?php
// check for IP falls in same subnet or [...]]]></description>
			<content:encoded><![CDATA[<h3>How to check IPs on same subnet?</h3>
<p>In many cases, you might want to check whether an ip address falls under a same subnet or not. It can be done both in perl and php using the Network library.</p>
<p>For PHP use <a href="https://pear.php.net/manual/en/package.networking.net-ipv4.ipinnetwork.php">Net IP4</a> library<br />
For PERL use <a href="http://search.cpan.org/dist/Net-IP/IP.pm">Net::IP</a> library</p>
<pre name="code" class="php">

&lt;?php
// check for IP falls in same subnet or not
include(&quot;Net/IPv4.php&quot;);

$objIP = new Net_IPv4();

echo $objIP-&gt;ipInNetwork(&quot;192.xx.xx.xx&quot;, &quot;192.xx.xx.x/24&quot;) ? &quot;Same Subnet&quot; : &quot;Outside the Subnet&quot;;
?&gt;
</pre>
<p>In perl you can use <a href="http://search.cpan.org/dist/Net-IP/IP.pm">Net::IP</a> module</p>
<pre name="code" class="python">

#!/usr/bin/perl

use NetAddr::IP;

my $netwrk  = NetAddr::IP-&gt;new(&#039;192.xx.xx.x/24&#039;);
my $ip = &#039;192.x.x.x&#039;;

if ($ip-&gt;within($netwrk)) {
    print &quot;IP is in same subnet&quot;;
} else {
    print &quot;IP outside the subnet&quot;;

   }
</pre>

<p><a href="http://feedads.g.doubleclick.net/~a/2M4avtAAi8Uaf9jK8Kai593BF7Q/0/da"><img src="http://feedads.g.doubleclick.net/~a/2M4avtAAi8Uaf9jK8Kai593BF7Q/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/2M4avtAAi8Uaf9jK8Kai593BF7Q/1/da"><img src="http://feedads.g.doubleclick.net/~a/2M4avtAAi8Uaf9jK8Kai593BF7Q/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://corpocrat.com/2009/09/28/how-to-check-ips-on-same-subnet/feed/</wfw:commentRss>
		</item>
		<item>
		<title>DNS-Test :: Free dns checking tool script!</title>
		<link>http://corpocrat.com/2009/09/26/dns-test-free-dns-checking-tool-script/</link>
		<comments>http://corpocrat.com/2009/09/26/dns-test-free-dns-checking-tool-script/#comments</comments>
		<pubDate>Sat, 26 Sep 2009 11:20:23 +0000</pubDate>
		<dc:creator>pbu</dc:creator>
		
		<category><![CDATA[Linux/Unix]]></category>

		<guid isPermaLink="false">http://corpocrat.com/2009/09/26/dns-test-free-dns-checking-tool-script/</guid>
		<description><![CDATA[DNS-Test :: Free dns checking tool script!
I a wrote a dns checking script perl in script (CGI available)  which can perform various tests for dns including&#8230;
* Checking for Nameservers NS records
* Website IP address (A Record)
* NS records from parent servers (root server)
* Check for LAME nameservers (Authoritative nameservers)
* Check for Open DNS server
* [...]]]></description>
			<content:encoded><![CDATA[<h3>DNS-Test :: Free dns checking tool script!</h3>
<p>I a wrote a dns checking script perl in script (CGI available)  which can perform various tests for dns including&#8230;</p>
<p>* Checking for Nameservers NS records<br />
* Website IP address (A Record)<br />
* NS records from parent servers (root server)<br />
* Check for LAME nameservers (Authoritative nameservers)<br />
* Check for Open DNS server<br />
* Check for Zone Transfer (AXFR)<br />
* Check for NS ips on same subnet<br />
* Check for SOA record (with TTL, Referesh etc&#8230;)<br />
* Check for Stealth Nameservers<br />
* CNAME Misconfiguration.<br />
* Mailserver MX records<br />
* MX Reverse IP Retrieval<br />
* Check for SPF record<br />
* Check for Domain Keys</p>
<p>The reason i chose perl over php is because its simply too powerful when programming for DNS. You can download the CGI version of script written in perl below. </p>
<p>Download: <a href='http://corpocrat.com/wp-content/uploads/2009/09/dns-test1.zip' title='dns-test1.zip'>dns-test.zip</a><br />
Documentation: <a href="http://corpocrat.com/2009/09/23/perl-net-dns-tutorial-for-querying-dns-servers/">see here</a></p>
<h3>Requirements</h3>
<p>Linux<br />
Perl<br />
Net::DNS<br />
Net::Version<br />
Net::IP</p>

<p><a href="http://feedads.g.doubleclick.net/~a/uQ77O8D0ruscyWVjHCeOjI1aVLo/0/da"><img src="http://feedads.g.doubleclick.net/~a/uQ77O8D0ruscyWVjHCeOjI1aVLo/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/uQ77O8D0ruscyWVjHCeOjI1aVLo/1/da"><img src="http://feedads.g.doubleclick.net/~a/uQ77O8D0ruscyWVjHCeOjI1aVLo/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://corpocrat.com/2009/09/26/dns-test-free-dns-checking-tool-script/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
