While we are on the subject of named...
Chong Yu Meng
chongym
Wed Nov 16 01:15:03 PST 2005
A. Khattri wrote:
>On Wed, 16 Nov 2005, Chong Yu Meng wrote
>
>
>
>>My question: what is the difference between an "A" record and a "CNAME"
>>record, and could this be the reason why it takes so long to load the
>>page? CPU and memory utilization do not change significantly, and when I
>>do a "tail -f" of the Apache log file, it sometimes shows that a request
>>has been processed, but nothing shows up on my browser.
>>
>>
>
>A CNAME is like an alias while an A record is the "real" record.
>
>Often you will see something like this in a BIND zone file:
>
>domain.com IN A 1.2.3.4
>www.domain.com IN CNAME domain.com
>ftp.domain.com IN CNAME domain.com
>webmail.domain.com IN CNAME domain.com
>
>(So www., ftp., and webmail. are just aliases to domain.com)
>
>
Here's what I've got
domainabc.com IN A 123.12.3.4
www IN A 123.12.3.4
mail IN A 123.12.3.4
apps IN A 123.12.3.4
I changed all the records from CNAME to A.
As you can see, they all point to the same machine. I'm not sure if this
syntax is "legal" or not.
I asked a friend who lives in the country where the server is co-located
and he can get very fast response. I have checked on the access log, and
this fast response is corroborated. But it is strange that in Singapore,
where I live, the response is terribly slow!!
The application, which does not belong to me, does a re-direct. Not sure
why it has to do that either.
Regards,
pascal chong
More information about the Linux-users
mailing list