Wednesday, 18 September 2013

DNS Pointing

A (Host) records

A records (also known as host records or address records) point a domain name or subdomain to an IP address. For example, if you want your domain "domainnamegoeshere.com" to point to your home computer (whose IP address is, for example, 172.0.0.1), the A record would list "domainnamegoeshere.com", or "@" as the host and "172.0.0.1" as the "Points To" IP address. Entering "@" for the host name is the same as entering your domain name, minus the "www". Entering "www" for the host name is the same as entering your domain name, including the "www





CNAME records
CNAME records (also known as alias records) point a subdomain to an existing A (host) record so that the domain points to the appropriate IP address.
Entering "@" for the host name is the same as entering your domain name, including the "www".
The Points To Host Name should be defined as your domain name (i.e., "www.domainnamegoeshere.com") or "@" (Entering "@" will automatically insert your domain name as the host name for the CNAME Record). The Alias field should be the subdomain of your top-level domain the CNAME record points to your domain.
For example: If you want the CNAME record to point "www" within your domain to "www.domainnamegoeshere," you should enter "www" in the Alias field and "www.domainnamegoeshere.com" in the Points To field. If you want the CNAME record to point "email" within your domain to "email.domainnamegoeshere," enter "email" as the Alias and "email.domainnamegoeshere.com" as the Points To Host Name.
MX records
MX records are for routing email that is addressed to a particular domain name. Like a CNAME record, an MX record points one domain name or subdomain to another domain name or subdomain for which an A record exists.
Entering "@" for the host name is the same as entering your domain name, minus the "www." Entering "www" for the host name is the same as entering your domain name, including the "www".


NS records
NS records specify the authoritative nameservers (both primary and secondary) for the given domain. The authoritative nameservers are identified by name, not IP address. For this reason, an A record must exist for the specified nameservers. Without it, connecting to the servers might be impossible. In every DNS zone, there must be at least two NS records.

No comments:

Http vs Https