[CentOS] DNS Setting
lists at benjamindsmith.com
Wed Mar 1 03:47:19 UTC 2006
On Sunday 19 February 2006 22:26, Bruno S. Delbono wrote:
> You mean a CNAME?
> mycompany.com. IN CNAME www.mycompany.com.
> @ IN CNAME www.
Just to clarify, the latter line in the example above (starting with @) would
bomb, since the period at the end would terminate the name of the CNAME ref,
and so the mycompany.com domain name would not be appended. You'd want either
@ IN CNAME www.mycompany.com.
// OR //
@ IN CNAME www
I prefer to set it the other way around, EG:
@ IN A 188.8.131.52
www IN CNAME @
and then set up apache with ServerAlias for the www.domain.com entry.
"The best way to predict the future is to invent it."
- XEROX PARC slogan, circa 1978
More information about the CentOS