Portal Home > Knowledgebase > Articles Database > rDNS Management
rDNS Management
Posted by serverbells, 08-21-2013, 05:54 PM |
Hello,
Greetings to all fellow webmasters and other experts of internet.
I have recently received a /24 block from APNIC and I am concerned about rDNS management. In the panel that is provided to me I would have to provide them with name servers of the server where I would be setting up my DNS.
Does anyone have a quick tutorial on how I can make a VPS/Server a DNS server?
Also, can it be possible to host my IPs in a different datacenter and have my rDNS server on a different datacenter?
|
Posted by net, 08-21-2013, 05:58 PM |
Moved > Hosting Security and Technology .
|
Posted by serverbells, 08-21-2013, 06:00 PM |
net Thank you for moving it to the right section.
|
Posted by SajanP, 08-21-2013, 06:05 PM |
I manage rDNS through my existing cPanel DNS cluster. Saves me from from having to manage additional DNS servers, and cPanel makes things fairly easy.
Although, at the end of the day, rDNS is just DNS...with PTR records. So if you've ever configured something like BIND, you already know how to do it.
You just need to properly name your zones. If your IP address is 192.168.0.1, then your zone would be 0.168.192.in-addr.arpa.
Then in the zone, you'd have PTR records, the syntax for which is similar to A records you might be familiar with. The name of the record is just the last octet of the IP you're setting rDNS for.
So for example 192.168.0.1 -> my.rdns.com would have a record like...
1 {TTL} IN PTR my.rdns.com.
The TTL is obviously the TTL you want in seconds. Other than that, it's just like any other DNS zone.
Once again, I just use my cPanel cluster.
Edit: Here's a help article from cPanel's wiki on how to do this.
|
Posted by serverbells, 08-21-2013, 06:08 PM |
SajanP Thank you for the quick reply. Is there a minimum configuration required of the server/VPS on which I should do this?
I shall try this now and would post the results of my working here.
|
Posted by SajanP, 08-21-2013, 06:14 PM |
Any VPS with 128MB RAM will work, DNS server software do not need that much to run. All major distributions will work. As far as the actual DNS server software, you've got two to choose from PowerDNS and bind. Most people, including me will recommend bind.
Quick and dirty off the top of my head for ubuntu would be something like this.
1. Install BIND - this is really just a single command (apt-get install bind9)
2. Declare the zone in /etc/named.conf
3. Create bind zone file (as mentioned in previous post)
4. Restart BIND
Whole thing shouldn't take more than a few minutes.
Let me know if that didn't answer your question.
|
Posted by serverbells, 08-21-2013, 06:17 PM |
Ok. I am configuring a VPS now with cPanel. In this I would install Bind and try and follow the steps that you mentioned in your first post.
Another thing. Can I use the same IPs that I got from APNIC to host the VPS for rDNS?
|
Posted by SajanP, 08-21-2013, 06:21 PM |
cPanel actually comes with BIND installed already. After you install and login for the first time, I think step 4 in the setup wizard allows you to choose bind.
Then once you're logged into WHM, in the search box on the left, type "dns zone". You should see "Add a DNS Zone". This will allow you to automatically do everything from the WHM gui.
I'd highly recommend you read this page in full as it describes how to accomplish exactly what you're doing.
http://docs.cpanel.net/twiki/bin/vie...cs/RdnsForBind
|
Posted by serverbells, 08-21-2013, 06:23 PM |
Ok. VPS is configured just installing cPanel now. *fingers crossed*
Another thing. Can I use the same IPs that I got from APNIC to host the VPS for rDNS?
|
Posted by SajanP, 08-21-2013, 06:26 PM |
Not sure I understand the question. You can use those IPs for whatever you want. If you want to use them for a DNS server, go for it.
If you're worried about "can I use this IP to host the DNS server for it's own rDNS"...then yeah. There's nothing wrong with that.
However, one thing I'll mention...it sounds like you're installing cPanel on a new server specifically for this purpose. Keep in mind, you cannot do this with the cPanel DNSONLY. You need the full version of cPanel to manage the DNS. The DNSONLY version simply acts are redundant nodes.
With that said, it might not be worth $15/mo just for a DNS server.
|
Posted by serverbells, 08-21-2013, 06:27 PM |
Thank you for the great suggestion.
|
Posted by FLDataTeK, 08-21-2013, 06:53 PM |
We use our cPanel DNS cluster to do our rDNS management also and it works very well.
|
Add to Favourites Print this Article
Also Read