Friday 19 June 2015

DNS records of domain

A records Address (A) records direct a hostname to a numerical IP address. For example, if you want mycomputer.yourdomain.com to point to your home computer (which is, for example, 192.168.0.3), you would enter a record that looks like: mycomputer.yourdomain.com. A 192.168.0.3 Important: You must put a period after the hostname. Do not put periods after IP addresses. CNAME records CNAME allows a machine to be known by one or more hostnames. There must always be an A record first, and this is known as the canonical or official name. For example: yourdomain.com. A 192.168.0.1 Using CNAME, you can point other hostnames to the canonical (A record) address. For example: ftp.yourdoman.com. CNAME yourdomain.com. mail.yourdomain.com. CNAME yourdomain.com. ssh.yourdomin.com. CNAME yourdomain.com. CNAME records make it possible to access your domain through ftp.yourdomain.com, mail.yourdomain.com, etc. Without a proper CNAME record, you will not be able to connect to your server using such addresses. Entering a CNAME record PTR records Pointer records (PTR) are used for reverse lookups. For example, to make 192.168.0.1 resolve to www.yourdomain.com, the record would look like: 1.0.168.192.in-addr.arpa PTR www.yourdomain.com. Note: The IP address is reversed in the first field. Please use a period after your hostname (second field). The �in-addr-arpa� method is the most frequently used. Important: PTR records are effective only if your site has its own IP address. Important: PTR records are only effective if named.conf is manually edited and the proper zone information is added. This can only be done by a root user (the server Admin).

1 comment: