Portal Home > Knowledgebase > Articles Database > BIND question
BIND question
Posted by chillipc, 08-17-2013, 09:44 AM |
Hello,
I was wondering what is the standard way of creating a bind zone for example
example.com. IN A ipaddress
www CNAME example.com
or
example.com. IN A ipaddress
www IN A ipaddress
when setting up my servers I always use this way
example.com. IN A ipaddress
www CNAME example.com
is there any issues doing it that way?
|
Posted by kevincheri, 08-17-2013, 04:01 PM |
No, both are correct unless you want WWW to serve a different page than the domain. Also the CNAME entry should be like,
www IN CNAME example.com
You can use intodns.com to check your DNS records set correctly.
|
Posted by net, 08-17-2013, 06:13 PM |
Moved > Hosting Security and Technology.
|
Posted by ajonate, 08-18-2013, 11:52 AM |
I do www as an A record. I don't use CNAME unless I'm doing a redirect.
|
Posted by DJMizt73, 08-19-2013, 04:31 PM |
CNAMEs require two DNS lookup - if that matters to you.
Unless you are load balancing your webserver into multiple IPs or doing a geolocation based serving ..its just more work for the DNS. Single IP'd host should just probably stick to A records.
|
Add to Favourites Print this Article
Also Read