Domains:DNS Types: Difference between revisions

Back up to the Domains Category
From AAISP Support Site
No edit summary
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[File:Couk.png|link=:Category:Domains]]
<indicator name="Configuring">[[File:Couk.png|link=:Category:Domains||Back up to the Domains Category]]</indicator>


Our control pages let you manage the DNS for your domains.
Our control pages let you manage the DNS for your domains.
Line 39: Line 39:




==txt Records==
==Long txt Records (over 256 Characters)==
txt records are a max of 255 characters in DNS. If you need to have longer than 255 characters, then on the control page you can quote separate sections, for example:
txt records are a max of 255 characters in DNS. If you need to have longer than 255 characters, then on the control page you can quote separate sections so that each quotes section is less than 256 characters long, for example:


Value: "long part 1.....200 characters..." "long part 2..... 200 characters..." "long part 3..... 200 characters..."
Value: "part1" "part2" "part3"


This is useful for long txt records, such as DKIM data, for example:
This is useful for long txt records, such as DKIM data, for example:


e.g. [[File:Dns-txt.png]]
[[File:Dns-txt.png]]


You can include a quote with: \"
You can include a quote with: \"

Latest revision as of 15:34, 2 February 2020


Our control pages let you manage the DNS for your domains.

There are various type of DNS records that you can add

Dns-types.png
  • A (IP address)
  • A+reverse
  • CNAME
  • DNAME
  • MX 10
  • MX 20
  • MX 30
  • MX 40
  • MX 50
  • AAAA (IP6)
  • AAAA+reverse
  • PTR
  • LOC
  • FTP password
  • NS (Name server)
  • TXT
  • SRV
  • IAX2
  • H.323
  • SIP
  • DS


Notes on specific record types

A+Reverse, AAAA+Reverse

The A and AAAA reverse types are a special case, we use these to create PTR records automatically

FTP

The FTP Password is nothing to do with DNS, instead it sets the password on the domain if we are providing web services.


Long txt Records (over 256 Characters)

txt records are a max of 255 characters in DNS. If you need to have longer than 255 characters, then on the control page you can quote separate sections so that each quotes section is less than 256 characters long, for example:

Value:   "long part 1.....200 characters..." "long part 2..... 200 characters..." "long part 3..... 200 characters..."

This is useful for long txt records, such as DKIM data, for example:

Dns-txt.png

You can include a quote with: \"

SRV Records

The format of the 'host' part of a SRV record is:

_service._protocol.name

The format of the 'value' of an srv record would be in the format of:

priority weight port host 

More information on Wikipedia

Examples

The srv record relating to a Microsoft Exchange service
The srv record used for the AAISP SIP Service, pointing to two possible hosts

You can test your SRV record using 'dig' or 'nslookup' on the command line, e.g.:

$ dig +short srv _sip._udp.pbx.example.com
$ nslookup -type=srv _sip._udp.pbx.example.com

DNS Records with Errors

We will point out common problems and errors if invalid records are created. In this case, we'll highlight the record in red and will add a note with details.

Dns-error-1.png Dns-error-2.png

Error: TXT field too long, add quotes

Sometimes you may have an error if you try adding a record that is longer than 256 characters.

In this case, split your record in to smaller sections and quote them inside speech marks.