What is DNS?

What would be a DNS from your mind? DNS could be Domain Name Service or Domain Name System.

By right a domain name will referring to the DNS setting and understand which web server or server should it go and an Internet User could only able to get the page work from their Browser.

Basically, DNS could be the group in 2 major group where I will separate it to parent DNS and child DNS. With Parent DNS, it meant that the DNS of your domain name set that referring to your DNS server such as ns1.mickgenie.com and ns2.mickgenie.com.

Once the parent DNS setting up, the domain will connect to the DNS server and you will have A, CNAME, MX, TXT, and so on record to refer so the subdomain, email services and some rules called from TXT will done accordingly.

Below is some of the record available.
1. Address Record (A record),
A record normally used by an IPs only where it could resolve to 4 blocked of IP which something like 127.0.0.1 and you shall not point it to a domain base such as mickgenie.com and this will cause it not working.

2. Canonical Name (CNAME),
CNAME used a user-friendly domain name such as mickgenie.com to allow a user do not need to remember the IPs based address and this is easily for a web services to connect to different server if they have more than 1 server within the subdomain.

3. Mail Exchange(MX),
MX record used for the email services and it used to recognize if you have more than 1 email server and if you have backup email services.

4. Text (TXT),
TXT record is widely used when a DNS services contain a Sender Verify Framework(SPF) were used to protect spamming record, etc.

TXT also used when you have a domain key such as Yahoo! email services protection.

WHMCS Email Piping with Google Apps Mail

If you are using WHMCS as your ticketing support and you wish to connect to Google Apps email. You may go through this article.

With this article, Mick Genie assumed that you have the WHMCS installed and work properly. At the same time,  assume that you have the email created with POP mail enabled and MX record pointed to Google Apps Email server.

To check if you have POP mail enabled, refer to step as below.

1. Log into your mailbox.
2. Select on Settings on top right of your Internet Browser.
3. Click on “Forwarding and POP/IMAP” tab.
4. On POP Download section, select on “Enable POP for mail that arrives from now on”.
5. Save it.

In the WHMCS department setting, configure the email setting as detail below.
hostname: pop.gmail.com
port: 995
user: [email protected]

If you done the above setting and still failed with error below,

An Error Occurred: Can’t connect to gmail-pop.l.google.com,995: Connection refused and Host: pop.gmail.com Email: [email protected] An Error Occurred: Too many login failures.

Try to perform telnet as detail below if the connection from your WHMCS server allow port 995.

telnet gmail-pop.l.google.com 995

1. You may try to check if you have firewall and may allow port 995 if it is working.

Lowest Numbered MX Record Points to localhost

If you are using cPanel server and you might get this error from your exim_mainlog very often whenever sending and receiving email.

temporarily rejected RCPT <[email protected]>: lowest numbered MX record points to localhost

The reason of this error message is the domain.com is missing from either the /etc/localdomains file or /etc/remotedomains file. The difference between two of these file is that, they decide whether the email has to be delivered locally or through a remote server by the exim email services.

To get it fix, add your domain.com to /etc/localdomains file to last line(new line each domain).