CNAME or A record in DNS Zone?

Posted by olddocks, 01-14-2008, 08:14 AM
i have just created a dns ZONE for my domain, but i dont know what to use for ftp service. i looked up in cpanel dns zone records for the domain i created and it looks like this... i am confused what to use CNAME or A record for an FTP entry what is the difference? what if i change to confused Also, how many A records i can place in zone file? Thanks

Posted by ub3r, 01-14-2008, 08:22 AM
cname is an alias, if you set ftp in cname domain.com. then it'll require 2 dns queries, one to get ftp.domain.com's record, and another to get domain.com's record. If you just make it an A record, only one query to get the record for ftp.domain.com will be required. you can put as many A records as you cant in a zone file.

Posted by foobic, 01-14-2008, 09:13 AM
Only if the CNAME points to a different domain, not served by the same nameservers. If the same nameservers are authoritative for both, as is probably the case here, they'll most likely return both results for a single query - the CNAME and the A it points to. (In short, it doesn't matter which you use). Or even more!

Posted by david510, 01-14-2008, 10:26 PM
Cname and A record do the same purpose. It helps to point to a IP address. If you need to point one.domain1.com to domain2.com and dont know the IP address of domain2.com, just add CNAME for "one" to domain2.com inside the zone of domain1.com.

Byla tato odpověď nápomocná?

 Tisknout tento článek

Také čtěte

litespeed standard 150 connect limit, high enough?

Posted by aww, 05-04-2007, 03:12 PMHow can I tell if the 150 connection limit in 3.1 litespeed is...

Editting the default web page using SSH

Posted by MrDGOrman, 03-09-2010, 09:44 AMThis might be in the wrong section - if so, ma bad....

Get stats out of Cs, Bf2, Quake and others

Posted by ExobiT, 09-23-2008, 12:14 AMHi, if i have some gameservers with quake, cs, css bf2, and...

How to retrieve the total number of rows when using LIMIT X, XXX

Posted by yangyang2036, 09-17-2008, 10:09 PMWith php+mysql, $results -> num_rows returns the...

Attacking multicore CPUs (new vulnerability discussion from Slashdot/The Register)

Posted by Lightwave, 09-16-2007, 10:02 AMAttacking multicore CPUs...