Start for free – your first 3 months are freeSee the offer

DNS and name servers

SRV, CAA, NS and other advanced DNS records

Create SRV records for things like telephony and Teams, control SSL issuers with CAA, and delegate a subdomain to another provider with NS records.

4 min readUpdated

On this page
  1. SRV: tell applications where a service runs
  2. CAA: who may issue SSL certificates?
  3. NS: delegate a subdomain
  4. DS, TLSA and SSHFP (for technical users)
  5. Frequently asked questions
  6. Why do I get the error The name must have the form _service._protocol?
  7. Can I create a CNAME instead of NS for a subdomain?

Most people only need A, CNAME, MX and TXT records. This guide is for when you need to set up a service that requires more. All the types are created with Add record in the DNS section on the domain page – see Add, edit and delete DNS records.

SRV: tell applications where a service runs

SRV records are used by things like IP telephony (SIP), chat and Microsoft Teams/Skype for Business to find the right server and port.

An SRV record split into Record name, Priority, Weight, Port and Target
The five fields of an SRV record
  1. Step 1: Choose the SRV type

    Tap Add record and choose Type SRV: service.

  2. Step 2: Enter the name as _service._protocol

    Record name must have the form _service._protocol, e.g. _sip._tls or _sipfederationtls._tcp. The protocol is _tcp, _udp or _tls.

  3. Step 3: Fill in Priority, Weight, Port and Target

    Priority is 10 and Weight 5 by default. Enter the Port and the host name in Target (host name) – everything comes from the service's guide.

    The Add record panel with the SRV type and the Priority, Weight and Port fields
    SRV record in the Add record panel
  4. Step 4: Save

    Tap Add record.

Example: SRV for a SIP service

Record name
_sip._tls
Priority
100
Weight
1
Port
443
Target (host name)
sip.example.com

CAA: who may issue SSL certificates?

A CAA record restricts which certificate issuers (CAs) may create SSL certificates for your domain.

  • Website with Sitewig: Sitewig creates CAA records itself, so that only Let's Encrypt may issue certificates and no one may issue wildcard certificates.
  • Website on your own server or with another service (Own server under Change target): Sitewig removes its CAA, so your server or service is free to choose the issuer.

If you want to add a CAA yourself, choose CAA: certificate issuers and fill in Tag and Flag:

FieldOptions
Tagissue (ordinary certificates), issuewild (wildcard) or iodef (where errors should be reported)
Flag0 (normal) or 128 (critical)
Issuer / valueE.g. letsencrypt.org, without quotation marks. For iodef, a mailto: or https:// address

NS: delegate a subdomain

With NS records you can let another provider manage DNS for a subdomain, e.g. dev.yourcompany.com, while the rest of the domain stays with Sitewig.

dev.yourcompany.com is delegated with NS records to another provider's name servers
Delegating a subdomain with NS records
  1. Tap Add record and choose NS: delegate subdomain.
  2. Enter the subdomain in Record name, e.g. dev, and the first name server in Name server.
  3. Tap Add record and repeat for each name server the provider has given you.

The panel shows a warning when you choose NS – check the values. NS cannot be used on the domain itself: The domain's own name servers are managed by Sitewig. Enter a subdomain. If you want to move the whole domain's DNS, see Own name servers, secondary DNS and DNSSEC.

DS, TLSA and SSHFP (for technical users)

TypeUsed forFormat
DSDNSSEC for a subdomain you have delegatedkeytag algorithm 2|4 hex, not on @ (use the DNSSEC page)
TLSADANE: binds a certificate to a serviceName such as _25._tcp.mail, value usage selector matching hex
SSHFPSSH key fingerprintsalgorithm 1|2 hex

Frequently asked questions

Why do I get the error The name must have the form _service._protocol?

The SRV name must start with an underscore and include the protocol, e.g. _sip._tcp. Do not include the domain.

Can I create a CNAME instead of NS for a subdomain?

They are two different things. A CNAME makes one name an alias. NS gives another provider responsibility for the whole subdomain and everything beneath it.

Read about domains at Sitewig

Didn't find the answer?

Reply within 1 working day · Mon–Fri 8:00–17:00 CET