Archive for category Dns

SRV record

What is SRV record? How to add SRV entry in DNS zone file? A Service record (SRV record) is a specification of data in the Domain Name System defining the location, i.e. the host name and port number, of servers for specified services. An SRV record has the form: _service._proto.name TTL class SRV priority weight […]

Leave a comment

Commands to check the syntax of Bind configuration file and DNS zone syntax

Commands to check the syntax of Bind configuration file and DNS zone syntax: To check the syntax of named.conf file: *************************************** [root@bash ~]# named-checkconf /etc/named.conf [root@bash~]# To check the syntax of zone file of a domain: ******************************************** === named-checkzone [domain name] /var/named/domain.db === Example: ==== [root@bash ~]# named-checkzone example.com /var/named/example.com.db zone kb.com/IN: loaded serial 2006032401 […]

Leave a comment

Problems with dns setup on host.abc.com

Many linux VPS users, running cpanel on their server have contacted us with the following error. Here are the steps on how you can correct it. Error Mail ========== Subject: [ipcheck] Problems with dns setup on host.abc.com IMPORTANT: Do not ignore this email. The hostname (host.abc.com) resolves to 1.2.3.4. It should resolve to x.x.x.x. Please […]

Leave a comment

Set up custom nameservers on a dedicated server or VPS

You will require 2 IPs, and a dedicated server or VPS to complete this task. For this example we will be using ns1.yourdomain.com and ns2.yourdomain.com as our nameservers. We can then use WHM to assign these IPs to our domain nameservers. Login to WHM, these details are usually provided in your welcome email. Once logged […]

Leave a comment

To point MX record to an IP

MX record cannot be directly pointed to an IP For example example.com. 14400 IN MX 0 10.10.2.55 is wrong. Steps follows : An A record must be difned for the IP 10.10.2.55 first. test.example.com. 14400 IN A 10.10.2.55 After that we must point MX record to that IP example.com. 14400 IN MX 30 test.example.com.

Leave a comment