DNS


In this guide we are going to walk though all the different kind of DNS (Domain Name System) records supported by our hosting control panel, talk about their different uses and how to set them up.

What are DNS records?

Domain name system (DNS) records are a way of mapping an easily memorable domain name to a less easily memorable IP address. For example, when you type www.pipeten.com this gets translated to the IP address 46.20.238.104, the server hosting the website.

To make use of DNS records hosted by us, the domain name must be using our nameservers. These are:

ns0.pipeten.co.uk
ns1.pipeten.co.uk
ns2.pipeten.co.uk

Fully Qualified Domain Name’s (FQDN) require a dot (.) at the end of the DNS record. The hosting control panel will handle this trailing dot for you, so this doesn’t need to used when setting up the records.


DNS management in the hosting control panel.

1. From your hosting control panel, click Domain Settings, Domain Info, Click the edit icon edit next to the domain you wish to manage.

domainsettings

2. You will now see the Domain Info page, click the edit icon edit next to DNS configuration.
domaininfo

3. On the DNS configuration page. Here is where all custom DNS configurations are made.
customdns


Default / Built-in DNS records

Removing

In order to add our own custom DNS records we first need to remove the built in DNS records.
To do this, simply click the red cross icon del next to the domain.

builtinrecords

Please note, this will remove any DNS records without confirmation, so make sure you make a note of any custom records before deleting them.

Restoring

You may also need to restore our built in DNS records. To do this simply click the Restore default X records.

restore-records-warning

Please note, this will remove any conflicting DNS records, but will keep any custom set ones.


DNS Record types

A Records

An A or Address record links a domain to the physical IP address of a computer hosting that domain’s services.

As you can see in the above DNS configuration image, we need two A records per domain. A * indicates A wildcard DNS record that will match requests for non-existent domain names. So both www. and none www. records load the same website.

records-edit-a

Name: This refers to the sub domain for the record. If the record is for the domain on it’s own (e.g. example.com) this is left blank.
TTL: Time To Live, How long in seconds it will take any change to go into effect.
Data: The IP address of the server you want to point to.

Setting up an A record to an external IP address

  1. Leave the Name field blank, the default TTL should be fine for most cases, enter the IP address in the Data field and click Submit.
  2. Now for the wildcard record. Enter * in the Name field, use the same TTL and enter the same IP address in the Data field. Click Submit.

MX Records

records-edit-mx

Name: Leave blank for most cases.
TTL: Time To Live, How long in seconds it will take any change to go into effect.
Priority: If using multiple email servers then you would use different records, 10, 20 etc. The lowest value gets highest priority.
Data: In most cases this will be like mail.gmail.com and should never be an IP address.

Mail Exchange records (MX) are used to point a domains email to the correct email server. If you wish to use a 3rd party email service such as Gmail you will need to disable our mail service and update these records. We have a guide for using a 3rd party MX records here.


CNAME Records

records-edit-cname

Name: The alias you give to the real host name.
TTL: Time To Live, How long in seconds it will take any change to go into effect.
Data: The domain you wish to alias.

Canonical Name records (CNAME records) is a type of record used to specify that a domain name is an alias for another domain.


TXT records

records-edit-txt

Name: The host for the domain name. Normally left blank.
TTL: Time To Live, How long in seconds it will take any change to go into effect.
Data: Free form text data of any type.

A TXT record (short for text record) is a type of resource record in the Domain Name System (DNS) used to provide the ability to associate some arbitrary and unformatted text with a host or other name, such as human readable information about a server, network, data center, and other accounting information.


SRV Records

records-edit-srv

Name: This part determines what domain or sub-domain is used.
Priority: If using multiple servers then you would use different records, 10, 20 etc. The lowest value gets highest priority.
Weight: This is only used if you have multiple endpoints for your application. It’s to help with balancing the load between different servers. Most of the time this can be set to “0” (zero) as it’s not required.
Port: This is the port number for the application you’re using. In our example, it could be something random like 9742.
Data: This is the target, which has to be a valid A record which points to an IP address

A Service record (SRV record) is a specification of data in the Domain Name System defining the location, i.e. the hostname and port number, of servers for specified services.

How to configure SRV records for Lync


AAAA Records

records-edit-aaaa

Name: The sub domain for the record.
TTL: Time To Live, How long in seconds it will take any change to go into effect.
Data: The Ipv6 address of the server.

The AAAA record is similar to the A record, but it allows you to point the domain to an Ipv6 address.


Instant Access/Testing URLs

An instant domain alias is an additional web address that gives access to your Web site when you don’t have a real domain name or when your real domain name is temporarily unavailable. Instant domain aliases are generated randomly based on your provider’s domain name and can’t be changed.

Enabling & Accessing a Instant Access URL

  1. Navigate to Domain Settings > Domain Info.
  2. Select the domain you wish to access/enable the instant access URL for.
  3. Select the Edit icon in the Web Service section.
  4. Within the Instant access domain alias section, select the Enable Icon if it is currently disabled.
  5. Click the Apply button at the top of the page.
  6. Select the Magnifying Glass icon next to the instant access URL.