Go Back   cPanel Forums > General Discussion > cPanel Newbies

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-01-2009, 08:29 AM
Registered User
 
Join Date: Jul 2009
Posts: 43
mobcdi is on a distinguished road
Question Minimum DNS entries for subdomains?

I need to manually edit my zone file and I was hoping a helpful forum member would spare a few minutes to answer a few questions for me.

I have a zone lets call it test.domain.tld which will hold all my DNS records (relatively small zone).
I have a number of subdomains off that called home.test.domain.tld, away.test.domain.tld,

I need to create cpanel accounts with uniqueID.home.test.domain.tld and need www & ftp access and these are the dns records I thought I needed to have but its not working for me, the IP address is the same for all accounts
  1. uniqueID 14400 IN A IPADDRESS
  2. www.uniqueID 14400 IN A IPADDRESS
  3. ftp.uniqueID 14400 IN A IPADDRESS

Anyone able to tell me if
  1. Does the spacing have to be a tab, or can I get away with using a space
  2. What do I need to add/remove to have correct entries
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-01-2009, 09:04 AM
Registered User
 
Join Date: Jul 2009
Posts: 43
mobcdi is on a distinguished road
There are already CNAME values
mail 14400 IN test.domain.tld.
www 14400 IN test.domain.tld.
ftp 14400 IN test.domain.tld.


Should I add CNAME records for the accounts uniqueID.home.test.domain.tld or would that just add confusion?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 10-01-2009, 10:51 AM
cpanelgregk's Avatar
cPanel Staff (Administrators)
 
Join Date: Sep 2009
Posts: 13
cpanelgregk is on a distinguished road
Greetings,

All necessary A records should be added automatically once you create the subdomain or addon domain. The entries would be added under the domain.tld zone file.

Is there a reason that you're wanting to add these manually?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 10-02-2009, 01:37 AM
Registered User
 
Join Date: Aug 2009
Location: delhi, india
Posts: 19
sanjaydagar123 is on a distinguished road
If you can access WHM, you just go to create account and put domain like home.test.domain.tld, away.test.domain.tld and put username and password for each domain, you will no need to add manually change dns entires, it will do automatically, when you will create account.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 10-02-2009, 07:53 AM
Registered User
 
Join Date: Jul 2009
Posts: 43
mobcdi is on a distinguished road
Hi cpanelgregk,

I need to manually edit my dns files because for some reason the secondary dns for my zone does not pick up the new zones when they are added to my cPanel DNS (the secondary dns is outside my control)
  • I delete the zones that get created when I add the new accounts from my cPanel DNS and add the uniqueID and www.uniqueID to my zone file for test.doman.tld
  • I also deleted the home.test and away.test zones
  • I restart the bind service afterwards as well

Its a very small zone and the changes (when I get them to work) won't be happening alot and will be bulk inserts of between 20 & 40 accounts at a time

Could there be a record I'm forgetting to add to my test.domain.tld zone?
Do I need to modify the top part of the zone file in some way?
Is there a way to see the actual A record entries the outside world gets when my DNS is queried so I can see if they are fresh?

Last edited by mobcdi; 10-02-2009 at 08:07 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 10-02-2009, 08:32 AM
cpanelgregk's Avatar
cPanel Staff (Administrators)
 
Join Date: Sep 2009
Posts: 13
cpanelgregk is on a distinguished road
Greetings mobcdi,

Are you utilizing a cPanel DNS cluster, or is the secondary nameserver completely out of your control? If there are any issues with the clustering itself, please do open a support ticket so we can have a look.

As far as the DNS zones themselves are concerned, I would suggest creating/editing these within WHM so that you can be sure that proper syntax and spacing is utilized.

It might be a bit easier if you could submit a ticket, so that we can see first-hand what you're trying to do here. If you'd like, you can reference this forum post and we'll be happy to have a look. As always, we're standing by.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 10-02-2009, 08:45 AM
Registered User
 
Join Date: Jul 2009
Posts: 43
mobcdi is on a distinguished road
The secondary dns is completely outside my control (that might be a good thing
I don't have clustering enabled but somehow when i create new accounts on my host the zones appear on my cPanel dns until I delete them

I haven't got any emails from cpanel@dnshost to say there was a problem with the DNS server and named is still running
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 10-02-2009, 09:56 AM
BANNED
 
Join Date: Jun 2005
Location: Wild Wild West
Posts: 2,026
Spiral will become famous soon enough
Don't create a "subdomain.domain.com" DNS zone

Instead, modify "domain.com" and the only thing you
need to add is a single line with the subdomain IP.

Code:
subdomain IN A %ip%
If manually editing, "subdomain" is the first part of your subdomain
address and %ip% is the IP address where that subdomain is hosted.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-05-2010, 06:31 AM
Registered User
 
Join Date: Nov 2008
Location: INDIA
Posts: 25
p-root is on a distinguished road
Question

Hi,

I have a cpanel /WHM server,and can any body tell me that how many "A" records whm suppots in one dns zone,because i have more then 700 "A" records in my one domain(under domain control panel),and now i want to transfer it to my dedicated server(whm/cpanel),so please guide me ....

If any body have any good control panel for the same(to create more then 1000 "A" records in once zone file),please tell me...

Thanks...
__________________
p-root The Linux Dude

http://www.unixsurgeon.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-05-2010, 09:23 AM
Registered User
 
Join Date: Feb 2010
Posts: 17
hostingtech is on a distinguished road
Same questions was asked in this below thread ,

DNS records ???
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
dns , records , subdomains

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MX entries for subdomains... 4u123 cPanel and WHM Discussions 0 03-12-2008 06:51 AM
WHM - Account/DNS Issue (Invisible DNS Entries??) s.r. cPanel and WHM Discussions 8 08-27-2005 10:00 AM
DNS Entries HaDeZ cPanel and WHM Discussions 1 02-22-2004 10:49 AM
DNS Entries kris1351 cPanel and WHM Discussions 0 02-15-2004 04:57 PM
DNS Entries. EStarr cPanel and WHM Discussions 2 09-29-2002 10:05 PM


All times are GMT -5. The time now is 10:24 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc