HostOnNet Blog

Category Archives: DNS

How to add CNAME Record through domain control panel

The first thing you’ll need to do to add a CNAME Record is to make sure that you are using’s default nameservers (,, and If you don’t know how to do this, refer the tutorial here

How to add a MX Record in cPanel using DNS Zone Editor?

Log in to the your cPanel. In the “Domains” section, click on the “Zone Editor” Icon. Select the domain where you need to change the MX records and then click on +MX Record. Enter the Priority and Destination settings into

What is a CNAME record?

The CNAME record is also known as canonical name record. It is used for specifying that a domain name is an alias for another domain, the “canonical” domain. The CNAME Record is used only for subdomains. You can’t add any

Flush Cache with Google Public DNS

I have been using Google Public DNS as my DNS revolvers Since google have peering with most ISP, it did work very well so far. When is using ISP provided DNS servers, it used it go down once

How to Change Document Root of Website Using .htaccess

By default the document root of website on a cPanel server is /home/username/public_html . At the time anyone search a domain from there own end the site displays the index page from default location. That means from public_html folder. Here

Using host command

host command is used for dns lookup To see MX records used by, run Example To see MX and A records, run Example

Public DNS Servers

if your ISP have problem with DNS, you can use public dns for name resolution. Google Public DNS (Recommended) Level 3 Communications To add DNS server, take property of your LAN

Open DNS servers

When check domain at dnsreport, it show warning ERROR: One or more of your nameservers reports that it is an open DNS server. This can be fixed by editing /etc/named.conf The default “options” will be options { directory “/var/named”; dump-file

lame server resolving

On Cpanel server, found following error on /var/log/messages Jan 29 15:15:50 server36 named[17870]: lame server resolving ‘’ (in ‘’?): The problem is caused by some one pointing the domain to the server, but the account is not present in