Guides and tutorials

Hundreds of tutorials and step by step guides carefully written by our support team.

Manage DNS records

SW Panel allows you to easily manage the DNS records associated with your service.

To start, access the dashboard of the service for which you have to manage the DNS records. Enter the name of the service in the search field located at the top and click:

Then go to the section Steps about the service > DNS Management (left menu):

The records currently created in the DNS zone will appear. From this section, you can:

  • Create DNS Records: Click on the Create Registration button. In the following sections, we explain how to register each of the records.

  • Modify or delete DNS Records: Access the Manage menu (located on the right) and select the corresponding option.

Note: Modifications to DNS records can take up to 48 hours to propagate globally.

We explain how to create each of the records. In the following examples, we will create them in the DNS zone of "dominiosw.com".

Create record A

Associate a domain with an IP address.

  1. Click on Create Registration (blue button on the right).

  2. In the drop-down Type of record select Record A (Host):

    • Host Name: Enter the host name to assign. In this example, we will indicate "store".
    • Host IP: IP address to which to associate the domain. In this example, we will indicate "1.2.3.4".
  3. Press Create Registry.

Result: The domain "tienda.dominiosw.com" will resolve to the IP "1.2.3.4".

Create CNAME record

Create an alias equivalent to another domain.

  1. Click on Create Registration (blue button on the right).

  2. In the drop-down Type of record select Record CNAME (Alias):

    • **Alias **: Enter the name of the alias. In this example, we will indicate "sw".
    • Destination server: Domain to which the alias will resolve. In this example, we will indicate "www.swhosting.com".
  3. Press Create Registry.

Result: The domain "sw.dominiosw.com" will resolve to the same IP that resolves the domain "www.swhosting.com".

Create NS record

Information registry in charge of indicating which DNS servers contain the records of the domain. SW Panel is responsible for generating these records. Create and/or modify these records if it is really necessary and you know what you are doing.

  1. Click on Create Registration (blue button on the right).

  2. In the drop-down Type of record select Registration NS (DNS):

    • Subdomain:
    • Destination server: DNS server address.
    • Host IP: DNS server IP.
  3. Press Create Registry.

Result: We are telling the world that the server "ns1.miservidordns.com" (with IP 1.2.3.4) is the one with the valid DNS information for the domain or subdomain (it is the authoritative server).

Create MX record

Assign mail servers.

  1. Click on Create Registration * (blue button on the right) *.

  2. In the drop-down Type of record select **MX record (Mail exchanger) **:

    • Alias: The subdomain, if you want to receive mail in a subdomain. For the main domain, it is not necessary to put anything.
    • Email server: We indicate the address of the mail server. In this example, we will indicate "mail.correosw.com".
    • Priority: Priority number. The smaller it is, the more priority this mail server will have. If we create records with the same priority number, the load will be randomly distributed among them. In this example, we will indicate "10".
  3. Press Create Registry.

    Important: In the mail server field must be a name, it can not be an IP. In addition, the domain name that you put as mail server must be created as type "A" record; it can not be a "CNAME", in the DNS server that resolves it. This is because the mail servers will make two DNS resolutions to send an email to a domain on another server, the first to know the MX record and the second to discover its IP.

Result: The email addressed to the current domain ("dominiosw.com") will receive it and will manage the mail server "mail.correosw.com".

Create SPF record

Indicates who can send an email from a specific domain in order to protect against the falsification of senders.

It is usual that in order to prevent fraud and spam, large providers of email services (such as Google) require the presence of this record. Otherwise, it is possible that the emails addressed to them will be rejected or classified as SPAM.

This is a rule that each user must generate independently according to their needs.

You can use the following services to generate SPF rules: https://www.spfwizard.net/index.php/?lang=en https://mxtoolbox.com/spf.aspx

  1. Click on Create Registration (blue button on the right).

  2. In the drop-down Record type select SPF record (TXT record):

    • Alias: The subdomain, if you receive mail in a subdomain. For the main domain, it is not necessary to put anything.
    • TXT Content: Enter the content of your SPF rule. In this example, we have generated the following rule: "v=spf1 mx a ~all". Now we will tell you what each parameter means.
  3. Press Create Registry.

Parameters

The SPF rules are evaluated sequentially from left to right according to the parameters included:

  • v=spf1 - Indicates the start of the rule and which version of SPF will be used.
  • mx - Authorizes the servers that appear in the MX records to send mail on behalf of "dominiosw.com".
  • a - Authorizes the IP that appears in the A register to send mail on behalf of "dominiosw.com".
  • ptr - Authorize any host that ends in "dominiosw.com" to send mail.
  • ip4:1.2.3.4 - Authorizes the IP "1.2.3.4" to send mail on behalf of "dominiosw.com".
  • all - Depending on the prefix, it indicates how to deal with cases in which there is no match with any previous parameter. It is included at the end of the SPF rule.

Prefixes

With each of the parameters (in exception of the first one) the following prefixes can be used:

  • + Authorized sender. If you do not indicate any prefix, this is assumed by default.
  • - Sender not authorized, rejected.
  • ~ Sender not authorized, will be marked with a special header but will not be rejected.
  • ? Neutral, is not marked as authorized or unauthorized.

Examples

In this case, we have created the following SPF rule: v=spf1 mx a ~all

  • mx: The servers of the MX records are authorized (if prefix is not included, it is assumed +).
  • a: IP of record A is authorized.
  • ~all: Those that do not coincide with the previous rules are not authorized but will not be rejected, they will be marked with a special header.

v=spf1 mx -all

  • mx: The servers of the MX records are authorized (if prefix is not included, it is assumed +).
  • -all: Those that do not coincide with the previous rules are not authorized and will be rejected.

v=spf1 -mx a ?ip4:1.2.3.4 ~all

  • -mx: The servers of the MX records are not authorized, they will be rejected.
  • to: IP of record A is authorized.
  • ?ip4:1.2.3.4: The IP "1.2.3.4" will be marked as neutral.
  • ~all: Those that do not coincide with the previous rules are not authorized but will not be rejected, they will be marked with a special header.

Create DKIM record

This type of registry includes a key that allows the receiver of an email to verify that the sender is really who he claims to be. Like SPF and DMARC records, its goal is to prevent fraud and spam.

As an example, let's create a DKIM record with the following selector and key:

DKIM selector: dominiosw
DKIM key: v=DKIM1; g=*; k=rsa; p=MIGfMA0GCGGGGGb3DQEBAQUAA4G000BiQKBgQD0000VKvGjmSb4FkI70000e1KqV01eQ70n0000D5bpRfo8ZGcab0000+3+O0mPI7wYblklU0000T0A3LVJk+QTwX00007VA7EiL0utBMW0000iZLJ8Exyzoajql0000RRJmyhngY/0000t0yq21pdlYLrJa0000CfaniL/8gKQGQID0000
  1. Click on Create Registration (blue button on the right).

  2. In the drop-down Type of record select TXT record:

    • Alias: Selector+'._domainkey'
      • Example: dominiosw._domainkey
    • Content TXT: Password DKIM.
      • Example: v=DKIM1; g=*; k=rsa; p=MIGfMA0GCGGGGGb3DQEB(...)
  3. Press Create Registry.

Result: An appropriate TXT record query will respond with the content entered. The receiver of an email will get this key to unequivocally verify that the sender is who he claims to be.

Remember that the use of the DKIM system requires generating the key and additional configurations in the Cloud. We can do this for you. Request it by opening a ticket for technical action.

Create DMARC record

The DMARC record is a complement to the previous methods (SPF and DKIM) intended for the prevention of fraud and spam. It allows to establish:

  • Policy of action against suspicious emails that have not passed the SPF or DKIM validation.
  • Generation of aggregate reports with statistics on validation failures SPF, DKIM, among others.
  • Generation of forensic reports with details about the emails that fail the validation processes.

You can use the following services to generate DMARC rules: https://dmarcian.com/dmarc-record-wizard/ https://mxtoolbox.com/DMARCRecordGenerator.aspx

  1. Click on Create Registration (blue button on the right).

  2. In the drop-down Type of record select TXT record:

    • Alias: Enter "_dmarc" (without quotes).
    • TXT Content: Enter the content of your DMARC rule. In this example, we have generated the following rule: "v=DMARC1; p=none;". Now we will tell you what each parameter means.
  3. Press Create Registry.

    Important: Before creating a DMARC record, you must have the SPF and DKIM records created and running.

Parameters

The parameters of the DMARC rules allow to configure their behavior, these are the most basic:

  • v=DMARC1; - Indicates the beginning of the rule.
  • p=none; - Policy for monitoring and sending reports. The email will be delivered normally, but the receiving servers will monitor the behavior and generate reports. It is used to verify the operation and check if you are trying to impersonate your domain as an email sender.
  • p=quarantine; - The receiver will mark as SPAM the emails that do not pass any of the validation systems.
  • p=reject; - The receiver will reject the emails that do not pass the validation systems.
  • sp=none;/sp=quarantine;/sp=reject; - [Optional] Different policy for subdomains. If this parameter is not present, the previous parameter ("p=none;/quarantine;/reject;") will take effect on the domain and subdomains.
  • rua=mailto:informes@dominiosw.com; - [Optional] Email address to send aggregate reports to.
  • ** ruf = mailto: informes@dominiosw.com; ** - [* Optional *] Email address to send the forensic reports.
  • aspf=s; - [Optional] Strict validation of SPF. The domain must be identical to the one that appears in the SPF rule, subdomains of the same are not accepted.
  • adkim=s; - [Optional] Strict validation of DKIM. The domain must be identical to the one that appears in the SPF rule, subdomains of the same are not accepted.

Examples

In this case, we have created the following DMARC rule: v=DMARC1; p=none;

  • p=none; - Policy for monitoring and sending reports. The rule does not include an email address for receiving reports, so they will not be generated. The email will be delivered normally, nothing is done to the emails that do not pass the validation systems.

v=DMARC1; p=none; sp=reject; rua=mailto:informes@dominiosw.com;

  • p=none; - Policy for monitoring and sending reports. The email will be delivered normally, nothing is done to the emails that do not pass the validation systems.
  • sp=reject; - The emails that come from subdomains (example: "mail.dominiosw.com") will be rejected if they do not pass the validation systems.
  • rua=mailto:informes@dominiosw.com; - Added reports will be sent to the indicated email address.

Create TXT record

It allows to publish arbitrary content in your DNS zone, you can enter the data that you think is convenient.

  1. Click on Create Registration (blue button on the right).

  2. In the drop-down Type of record select TXT record:

    • Alias: Enter the data you consider.
    • Content TXT: Enter the data you consider.
  3. Press Create Registry.

Result: An appropriate TXT record query will respond with the content entered.

Create SRV record

Report what services are available under your domain. Generally, it is used in telephony services (SIP), messaging (XMPP) or Office365 among others.

As an example, let's create a record with the following data:

Service: _sip.
Protocol: _tls
Port: 443
Weight: 1
Priority: 100
First name: @
Destination: sipdir.online.dominiosw.com  
TTL: 3600
  1. Click on Create Registration (blue button on the right).

  2. In the drop-down Type of record select Record SRV:

    • Alias: Service+Protocol
      • Example: _sip._tls
    • Content TXT: Priority Weight Port Destination+'End point'
      • Example: 100 1 443 sipdir.online.dominiosw.com**.**
  3. Press Create Registry.

Important: For this type of records, it is mandatory to include a period at the end in the TXT content, otherwise the name of your domain will be automatically added at the end generating errors and confusion.

Your privacy is important for us
We use our own cookies for the proper functioning of the site. In addition, third-party cookies are used for analytical purposes only. This information is not associated with any person so that personal identifying data is not stored, but is only information that is collected to identify the session, with the aim of facilitating the analysis of the website. You can change your preferences at any time by entering this website again. For more information about our cookie policy you can visit our Cookies. You can press the "Accept and close" button to give us your consent or you can access more detailed information and manage cookies.
Your privacy is important for us
We use our own cookies for the proper functioning of the site. In addition, third-party cookies are used for analytical purposes only. This information is not associated with any person so that personal identifying data is not stored, but is only information that is collected to identify the session, with the aim of facilitating the analysis of the website. You can change your preferences at any time by entering this website again. For more information about our cookie policy you can visit our Cookies. You can press the "Accept and close" button to give us your consent or you can access more detailed information and manage cookies.