WEDOS DNS – Domain Records

  DNS, WEDOS DNS

The list of your domains in DNS can be found in the customer administration (client.wedos.com), in the DNS tab. Open the detail of a specific domain and then click on the DNS records link.

Also consider reading: Basic Information About WEDOS DNS

These instructions only apply to primary domains. For secondary DNS domains, the system does not manage records, but downloads them from another DNS server.

You’ll see a list of DNS records of the domain. For each record, the following is indicated:

  • Name – relative to the current domain
    • empty name = record directly for the given domain
    • otherwise, the subdomain name
  • TTL – the cache entry validity time (seconds), usually 3600 s (ie 1 hour)
  • record type
  • record value

On the page above the list of records, click the button to add a new record. Clicking on the button will open a form in which you enter the required record. Click on the icon with a red cross next to a specific record to delete the record.

Adding Records and Restrictions

  • the name for the record is stated relative to the domain (a subdomain name or an empty value)
  • domain names in the DNS record value must be absolute (even if they belong to the same domain) and without a full-stop at the end
  • the domain’s own NS records are not entered (only for subdomains)
  • is possible to use an asterisk, also for subdomains in several levels (however, there must (at most) be one asterisk which must be on the far left)
  • records with same name and type must have the same TTL
  • it is not possible to enter a CNAME record for the domain itself (only for subdomains)
  • it is not possible to insert any record for a name for which a CNAME record exists (i.e. it is an alias of another domain)
  • there can not be two completely identical records
  • when adding records, the size of chracters does not matter
  • the name and type of an existing record cannot be changed, delete the record if necessary and create a new one

Record Types and Examples

A records for an IPv4 address:

3600   A   81.2.199.19
www      3600   A   81.2.199.20
www      3600   A   81.2.199.30
home     3600   A   10.0.0.1
*        3600   A   10.0.0.2
*.home   3600   A   10.0.0.3

AAAA records for an IPv6 address:

www   3600   AAAA   2001:1488:0:3::2
home  3600   AAAA   2001:678:10::1

A and AAAA records for the domain itself without subdomains (eg wedos.cz) are given with an empty name. Usually two A and two AAAA records are set, always one with an empty name, one with * in the name – this sets all subdomains. Both should lead to the same IP address.

If you need to route a specific subdomain, create another A / AAAA record with the subdomain in the name and point it to the desired IP.

Load ballancing using DNS is done by creating multiple DNS records on different IPs. All IP addresses can be used, one is always selected at random. In this way, you can distribute the load to several different servers.

CNAME records for aliases, value must be an absolute domain name (without the dot at the end):

home       3600   A       1.2.3.4
alsohome   3600   CNAME   home.wedos.cz

MX records for entry the name of mailserver, before the server name (in data field) is stated priority, instead of the server name can be given IP address, name must be absolute.

Syntax: priority + space + server name (without the dot at the end)

3600   MX   10 mail.wedos.cz
         3600   MX   100 backup.wedos.cz
mail     3600   A    10.0.0.1
backup   3600   A    10.0.0.2

NS records for delegation of subdomain to another DNS server (names without the dot at the end):

subdomena   3600   NS   ns.wedos.com
subdomena   3600   NS   ns.wedos.org

TXT records for various text values (for example SPF rules):

3600   TXT   v=spf1 ip4:64.170.98.0/26 ip6:2001:1890:1112:1::0/64 -all
3600   TXT   google-site-verification=4kms76hksd*********

SRV records for setting the operator services domain, these values are added: priority, weight, port number, and absolute domain name server (example VoIP via SIP protocol):

_sip._tcp   3600   SRV   100 100 5060 sip.wedos.cz
_sip._udp   3600   SRV   100 100 5060 sip.wedos.cz
sip         3600   A     10.0.0.1