<?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>Clumsy Blog, a simple online diary &#187; WHM</title>
	<atom:link href="http://clumsyblog.com/tag/whm/feed/" rel="self" type="application/rss+xml" />
	<link>http://clumsyblog.com</link>
	<description>ClumsyBlog.com is even a blog, a simple diary with my tools, ideas and progress registered by me related to computers, internet and wordpress specially.</description>
	<lastBuildDate>Sun, 21 Jun 2009 05:34:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to setup Domain Name Server</title>
		<link>http://clumsyblog.com/21/how-to-setup-domain-name-server/</link>
		<comments>http://clumsyblog.com/21/how-to-setup-domain-name-server/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 14:57:40 +0000</pubDate>
		<dc:creator>doru</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[domain name server]]></category>
		<category><![CDATA[name server]]></category>
		<category><![CDATA[web host manager]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://clumsyblog.com/?p=21</guid>
		<description><![CDATA[First time when I try to setup domain name server for a domain I have some problems. For this reason this is a little step by step tutorial for how to setup domain name server.

First of all this setting is exactly for my case, for other situations, like another domain registrar or another host manager can be different.
Correct settings for domain name server involve two steps:
- setup in web host manager (WHM)
- setup name server in domain registrar account, in that case godaddy.

Let's proceed with first step, setup in web host manager (WHM). ]]></description>
			<content:encoded><![CDATA[<p>First time when I try to setup <a href="http://clumsyblog.com/tag/domain-name-server/" class="st_tag internal_tag" rel="tag" title="Posts tagged with domain name server">domain name server</a> for a domain I have some problems. For this reason this is a little step by step tutorial for how to setup <a href="http://clumsyblog.com/tag/domain-name-server/" class="st_tag internal_tag" rel="tag" title="Posts tagged with domain name server">domain name server</a>.</p>
<p>First of all this setting is exactly for my case, for other situations, like another domain registrar or another host manager can be different.<br />
Correct settings for <a href="http://clumsyblog.com/tag/domain-name-server/" class="st_tag internal_tag" rel="tag" title="Posts tagged with domain name server">domain name server</a> involve two steps:<br />
- setup in <a href="http://clumsyblog.com/tag/web-host-manager/" class="st_tag internal_tag" rel="tag" title="Posts tagged with web host manager">web host manager</a> (<a href="http://clumsyblog.com/tag/whm/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WHM">WHM</a>)<br />
- setup <a href="http://clumsyblog.com/tag/name-server/" class="st_tag internal_tag" rel="tag" title="Posts tagged with name server">name server</a> in domain registrar account, in that case godaddy.</p>
<p>Let&#8217;s proceed with first step, setup in <a href="http://clumsyblog.com/tag/web-host-manager/" class="st_tag internal_tag" rel="tag" title="Posts tagged with web host manager">web host manager</a> (<a href="http://clumsyblog.com/tag/whm/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WHM">WHM</a>).</p>
<p>All my hosting plans and their options are managed through control panel manager interface (CPM) and hosting plans is set through <a href="http://clumsyblog.com/tag/web-host-manager/" class="st_tag internal_tag" rel="tag" title="Posts tagged with web host manager">web host manager</a> (<a href="http://clumsyblog.com/tag/whm/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WHM">WHM</a>), and all is hosted in a virtual private server (VPS). First mistake was when I suppose so my virtual private server name must have the same name with <a href="http://clumsyblog.com/tag/domain-name-server/" class="st_tag internal_tag" rel="tag" title="Posts tagged with domain name server">domain name server</a>. That was wrong. My virtual private server (VPS) name can be any another name, preferable to be the same or related with one of my domains registered by me through godaddy account.<br />
Before set <a href="http://clumsyblog.com/tag/dns/" class="st_tag internal_tag" rel="tag" title="Posts tagged with DNS">DNS</a> must have added hosting plan, domain name and user here in <a href="http://clumsyblog.com/tag/whm/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WHM">WHM</a>.</p>
<p>In Server Configuration go to </p>
<ul>
<li> Main Shared Virtual Host IP and enter your IP: 99.999.999.999
<li> Basic cPanel/<a href="http://clumsyblog.com/tag/whm/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WHM">WHM</a> Setup enter your
<ul>
<li>Hostanme (ex: server.domain-name.com)
<li> Primary Nameserver:   ns1.domain-name.com
<li>Secondary Nameserver: ns2.domain-name.com
    </ul>
</ul>
<p>In Networking Setup go to</p>
<ul>
<li>Hostname the same like above: server.domain-name.com after confirm must update the certificate. For that, here, open in a new window everey &#8220;Manage Service Certificates&#8221; link and clik Reset Certificate/Generate a new Certificate.
<li>Resolver Configuration &#8211; setting up your resolver configuration (/etc/resolv.conf).
</ul>
<p>With that mentions let&#8217;s go into <a href="http://clumsyblog.com/tag/web-host-manager/" class="st_tag internal_tag" rel="tag" title="Posts tagged with web host manager">web host manager</a> (<a href="http://clumsyblog.com/tag/whm/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WHM">WHM</a>), straight &#8220;Add <a href="http://clumsyblog.com/tag/dns/" class="st_tag internal_tag" rel="tag" title="Posts tagged with DNS">DNS</a> Zone&#8221; in &#8220;<a href="http://clumsyblog.com/tag/dns/" class="st_tag internal_tag" rel="tag" title="Posts tagged with DNS">DNS</a> Functions&#8221;.</p>
<p style="text-align: center;">
<div id="attachment_22" class="wp-caption aligncenter" style="width: 310px"><a href="http://clumsyblog.com/wp-content/SomeFilesUploads/2009/06/dns-example.jpg" target="_blank"><img class="size-medium wp-image-22" title="Domain Name Server example" src="http://clumsyblog.com/wp-content/SomeFilesUploads/2009/06/dns-example-300x187.jpg" alt="Domain Name Server example" width="300" height="187" /></a><p class="wp-caption-text"><a href="http://clumsyblog.com/tag/domain-name-server/" class="st_tag internal_tag" rel="tag" title="Posts tagged with domain name server">Domain Name Server</a> example</p></div>
<p>Domain				TTL				Record type</p>
<p>1.	domain-name.com       	86400 	IN 		SOA          	ns1.domain-name.com.   manager.server-manager.com.<br />
1a. 1234567890            Serial Number<br />
1b. 86400                         Refresh<br />
1c. 7200                           				   Retry<br />
1d. 1209600                                    Expire<br />
1e. 86400                           Minimum TTL</p>
<p>2.	domain-name.com.	86400	IN		NS		ns1.domain-name.com.<br />
3.	domain-name.com.	86400	IN		NS		ns2.domain-name.com.<br />
4.	domain-name.com.	14400	IN		A		99.999.999.999<br />
5.	localhost			14400	IN		A		127.0.0.1<br />
6.	domain-name.com.	14400	IN		MX		0	domain-name.com.<br />
7.	mail				14400	IN		CNAME	domain-name.com.<br />
8.	www					14400	IN		CNAME	domain-name.com.<br />
9.	ftp					14400	IN		A		99.999.999.999<br />
10.	cpanel				14400	IN		A		99.999.999.999<br />
11.	<a href="http://clumsyblog.com/tag/whm/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WHM">whm</a>					14400	IN		A		99.999.999.999<br />
12.	webmail				14400	IN		A		99.999.999.999<br />
13.	webdisk				14400	IN		A		99.999.999.999<br />
14.	ns1					14400	IN		A		99.999.999.999<br />
15.	ns2					14400	IN		A		99.999.999.999</p>
<p>where:<br />
- domain-name.com &#8211; domain which is set right now<br />
- 99.999.999.999 &#8211; IP address give by VPS manager<br />
- 127.0.0.1 &#8211; an IP used by default than some software installed in VPS (like MySQL, php&#8230;)</p>
<p>You can see here, three columns:<br />
Domain (this isn&#8217;t web domain name);<br />
Time To Live (TTL) &#8211; is a stored time in seconds, for coresponding record ( domain, on the same line);<br />
after that time record is refreshing;<br />
Record Type -<br />
SOA (Start of Authority) &#8211; here is set information about primary master server name (ns1.domain-name.com in that case), email of the administrator</p>
<p>The most commonly used record types are:</p>
<ul>
<li>NS (<a href="http://clumsyblog.com/tag/name-server/" class="st_tag internal_tag" rel="tag" title="Posts tagged with name server">name server</a>)</li>
<li>A (address)</li>
<li>AAAA (adress) &#8211;  AAAA record is to help transition and coexistence between IPv4 and IPv6 networks</li>
<li>MX (mail exchange)</li>
<li>CNAME (canonical name) &#8211; that records are domain name aliases; only a single node of the name space.</li>
<li>PTR(domain name pointer) &#8211; are primarily used as &#8220;reverse records&#8221; &#8211; to map IP addresses to domain names (reverse of A-records and AAAA-records).</li>
<li>TXT (Descriptive text) &#8211; They are often used to hold general information about a domain name such as who is hosting it, contact person, phone numbers, etc.</li>
</ul>
<p>The following are all less commonly used:</p>
<ul>
<li>DS (Delegation Signer) &#8211; refers to a DNSKEY RR by storing the key tag, the algorithm number, and a digest of the DNSKEY RR.</li>
<li>A6 (address) &#8211; A6 record is used to represent a 128-bit IPv6 address</li>
<li>AFSDB &#8211; that record maps a domain name to an AFS (Andrew File System) database server.</li>
<li>DNAME &#8211; that is used to map or rename an entire sub-tree of the <a href="http://clumsyblog.com/tag/dns/" class="st_tag internal_tag" rel="tag" title="Posts tagged with DNS">DNS</a> name space to another domain.<br />
It differs from the CNAME-record which maps only a single node of the name space.</li>
<li>HINFO (Host information) &#8211; specifies the host / server&#8217;s type of CPU and operating system.</li>
<li>LOC (Location information) &#8211; is used to specify geographical location information about hosts, networks, and subnets.</li>
<li>NAPTR (Naming Authority Pointer) &#8211; are used to store rules used by DDDS (Dynamic Delegation Discovery System) applications.</li>
<li>RP (Responsible person) &#8211; specifies the mailbox of the person responsible for a host (domain name). A SOA-record defines the responsible person for an entire zone, but a zone may contain many individual hosts / domain names for which different people are responsible.</li>
<li>SRV (location of service) &#8211; are used to specify the location of a service. This record type is however NOT supported by most programs in use today, including web-browsers.</li>
</ul>
<p>More informations about DS records here:<br />
<a title="informations about DS records" href="http://www2.rad.com/networks/applications/dns/dnssecrr.htm#_ds" target="_blank">http://www2.rad.com/networks/applications/dns/dnssecrr.htm#_ds</a><br />
More about <a href="http://clumsyblog.com/tag/dns/" class="st_tag internal_tag" rel="tag" title="Posts tagged with DNS">DNS</a> records here:<br />
<a title="about DNS records" href="http://www.simpledns.com/help/v52/index.html?rectypes.htm" target="_blank">http://www.simpledns.com/help/v52/index.html?rectypes.htm</a><br />
More details about SOA here:<br />
<a title="aboutt SOA" href="http://www.cadetech.co.uk/Web_Design_information/DNS.asp" target="_blank">http://www.cadetech.co.uk/Web_Design_information/DNS.asp</a></p>
<p>Now, must add a A entry for your host name in <a href="http://clumsyblog.com/tag/dns/" class="st_tag internal_tag" rel="tag" title="Posts tagged with DNS">DNS</a> Functions, Add an A Entry for your hostname.</p>
<p>Last step here, must go in your <a href="http://clumsyblog.com/tag/web-host-manager/" class="st_tag internal_tag" rel="tag" title="Posts tagged with web host manager">web host manager</a> (<a href="http://clumsyblog.com/tag/whm/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WHM">WHM</a>) in Networking Setup, Resolver Configuration and put here your two IP&#8217;s: 99.999.999.998 and 99.999.999.999.</p>
<p style="text-align: center;">
<div id="attachment_23" class="wp-caption aligncenter" style="width: 310px"><a title="DNS resolver configuration" href="http://clumsyblog.com/wp-content/SomeFilesUploads/2009/06/dns-resolver-configuration.jpg" target="_blank"><img class="size-medium wp-image-23" title="DNS resolver configuration" src="http://clumsyblog.com/wp-content/SomeFilesUploads/2009/06/dns-resolver-configuration-300x148.jpg" alt="DNS resolver configuration" width="300" height="148" /></a><p class="wp-caption-text"><a href="http://clumsyblog.com/tag/dns/" class="st_tag internal_tag" rel="tag" title="Posts tagged with DNS">DNS</a> resolver configuration</p></div>
<p>This will setting up your resolver configuration  stored in /etc/resolv.conf. Or, you can manually edit this file in yours VPS. Without that settings I receive every 24 hours in my email box (even if A entry is already added):<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-email&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Subject: [ipcheck] Problems with <a href="http://clumsyblog.com/tag/dns/" class="st_tag internal_tag" rel="tag" title="Posts tagged with DNS">dns</a> setup on server.domain-name.com<br />
Body: MPORTANT: Do not ignore this email.<br />
The hostname (server.domain-name.com) resolves to .  It should resolve to 99.999.999.999. Please be sure to correct /etc/hosts as well as the &#8216;A&#8217; entry in zone file for the domain.</p>
<p>Some are all of these problems can be caused by<br />
/etc/resolv.conf being setup incorrectly.  Please check this file if you<br />
believe everything else is correct.</p>
<p>You may be able to<br />
automatically correct this problem by using the &#8216; Add an A entry for your<br />
hostname &#8216; under &#8216; <a href="http://clumsyblog.com/tag/dns/" class="st_tag internal_tag" rel="tag" title="Posts tagged with DNS">Dns</a> Functions &#8216; in your <a href="http://clumsyblog.com/tag/web-host-manager/" class="st_tag internal_tag" rel="tag" title="Posts tagged with web host manager">Web Host Manager</a><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;end email&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>That is all in <a href="http://clumsyblog.com/tag/web-host-manager/" class="st_tag internal_tag" rel="tag" title="Posts tagged with web host manager">web host manager</a> (<a href="http://clumsyblog.com/tag/whm/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WHM">WHM</a>). I repeat, that works for me with above settings.</p>
<p>Let&#8217;s proceed with second step, setup in account from domain registrar, in that case godaddy.</p>
<p>Here is more simple: login to your account go to Domains, My domains click on domain name and under Nameservers go to Change link and put in two boxes ns1.domain-name.com and ns2.domain-name.com.</p>
<p>This is necessary a short detail; if you have same error messages when try to change nameservers maybe is necessary to ad host summary. For that in domain detail page scroll down and click add on host summary and put in Host name -&gt; ns1 and in Host IP1 ypor IP -&gt; 99.999.999.999 and confirm.</p>
<p>After that, for match nameserver in <a href="http://clumsyblog.com/tag/whm/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WHM">WHM</a> / Networking Setup  / Nameserver IP&#8217;s with your new <a href="http://clumsyblog.com/tag/name-server/" class="st_tag internal_tag" rel="tag" title="Posts tagged with name server">name server</a> must manual edit etc/namserverips file on VPS. Then restart your container.</p>
<p>That is it.</p>
<p>Last words: after all settings, in <a href="http://clumsyblog.com/tag/web-host-manager/" class="st_tag internal_tag" rel="tag" title="Posts tagged with web host manager">web host manager</a> and domain registrar account must verify that settings. Go to intodns.com put your domain here and check if everything is ok. I use current intodns for check my <a href="http://clumsyblog.com/tag/domain-name-server/" class="st_tag internal_tag" rel="tag" title="Posts tagged with domain name server">domain name server</a> settings, but bellow is more similar free tools.</p>
<p><a title="check DNS" href="http:///www.intodns.com" target="_blank">http:///www.intodns.com</a><br />
<a title="check DNS" href="http://www.dnsqueries.com/en/" target="_blank">http://www.dnsqueries.com/en/</a><br />
<a title="check DNS" href="http://dnssy.com/" target="_blank">http://dnssy.com/</a><br />
<a title="check DNS" href="http://www.unifiedemail.net/Tools/Configuration/Default.aspx" target="_blank">http://www.unifiedemail.net/Tools/Configuration/Default.aspx</a></p>
<p>I hope you find some useful information here and if you have any opinion or suggestion please leave a comment.</p>

	<small>Related posts: </small>
	<ul class="st-related-posts">
	<li><small>No related posts.</small></li>
	</ul>

]]></content:encoded>
			<wfw:commentRss>http://clumsyblog.com/21/how-to-setup-domain-name-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
