This manual aims to explain in detail the process of managing DNS records using the SWPanel platform, the service and domain management tool offered by SW Hosting. Throughout the document, we describe all the types of DNS records that you can create, modify, or delete, as well as their functions and configurations.
The DNS (Domain Name System) is a system that translates human-readable domain names (such as yourdomain.com) into machine-readable IP addresses (such as 192.0.2.1). DNS records are entries in a domain's ‘DNS zone’ that define how that domain should behave in response to specific requests, such as emails, connections to web servers, etc.
Each section of the manual includes examples and screenshots to aid understanding, as well as warnings and recommendations on the use of each type of record.
To start managing DNS records:
Access your Dashboard in SWPanel.
Use the search field at the top to locate the service you want to work on. Type in the name of the service and click on it.

In the left-hand side menu, navigate to Service Management > DNS Management.

In this section, you will see all the DNS records currently configured for the selected service.
From here you can:
Create new DNS records.
Modify or delete existing records.
Automatically create advanced security records such as SPF, DKIM, and DMARC.

To modify or delete a record, click on the Manage button to the right of each entry:

SWPanel offers the option to automatically create SPF, DKIM, and DMARC records. These records improve email security and help ensure that your messages do not end up in the SPAM folder.

The interface lets you know whether the records have already been created by the colour of the button: green if they have not been created, blue if they already exist.
info Note: Changes made to the DNS zone may 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 "swmanuales.com".
An A record (Address) is used to associate a domain or subdomain with an IPv4 address. It is essential for your domain to be accessible from web browsers or other services.
Click on the Create Record button (located on the right side of the interface).
In the Record Type drop-down menu, select A Record (Host).
Complete the following fields:
shop1.2.3.4Click Create Record.

Expected result: The subdomain shop.dominiosw.com will point to the IP address 1.2.3.4.
You can find detailed technical information about this type of record in the Information tab.

The CNAME (Canonical Name) record allows a subdomain to act as an alias for another domain. This means that the subdomain redirects to the same destination as another existing domain, avoiding duplication of IP records.
Click on Create Record.
Select CNAME Record (Alias) from the type drop-down menu.
Fill in the following fields:
swwww.swhosting.comClick Create Record.

Expected result: sw.dominiosw.com will point to the same IP as www.swhosting.com.
See more technical details in the Information tab.

NS (Name Server) records indicate which DNS servers are authoritative for the domain or subdomain.
info These records are generated automatically. You should only modify them if you know what you are doing and have a specific configuration.
Click on Create Record.
Select NS Record (DNS).
Complete the required fields:
ns1.miservidordns.com1.2.3.4Click Create Record.

Form to indicate which authoritative DNS servers will be used for a specific subdomain.
Expected result: Declare that ns1.mysdns.com (IP 1.2.3.4) manages the DNS for the specified subdomain.
See additional information in the Information tab.

MX (Mail Exchange) records allow you to specify which mail servers should handle emails addressed to your domain or subdomain.
mail.correosw.com.10.info Important: The “Mail server” field must be a domain name (not an IP address), and this domain must have an A record; it cannot be a CNAME. This is because mail servers will perform two DNS lookups to send an email to a domain on another server: the first to find the MX record and the second to find its IP address.

Expected result: All emails sent to dominiosw.com will be managed by mail.correosw.com.
See more details in the Information tab:

The SPF (Sender Policy Framework) record allows you to specify which servers are authorised to send emails on behalf of your domain. It helps prevent spoofing. In order to prevent fraud and spam, large email service providers (such as Google) often require this record to be in place. Otherwise, emails sent to them may be rejected or classified as SPAM
info You can generate SPF rules with tools such as:
https://www.spfwizard.net
https://mxtoolbox.com/spf.aspx
Click Create Record.
Select SPF Record (TXT Record).
Complete:
v=spf1 mx a ~allClick Create Record.

View detailed technical information from the Information tab:

v=spf1 mx a ~all
mx: MX record servers are authorised (as no prefix is included, + is assumed).
a: The IP address of the A record is authorised.
~all: Those that do not match the above rules are not authorised, but will not be rejected; they will be marked with a special header.
v=spf1 mx -all
mx: MX record servers are authorised (as no prefix is included, + is assumed).
-all: Those that do not match the above rules are not authorised and will be rejected.
v=spf1 -mx a ?ip4:1.2.3.4 ~all
-mx: MX record servers are not authorised and will be rejected.
a: The IP of the A record is authorised.
?ip4:1.2.3.4: The IP ‘1.2.3.4’ will be marked as neutral.
~all: Those that do not match the above rules are not authorised, but will not be rejected; they will be marked with a special header.
The DKIM (DomainKeys Identified Mail) record allows you to authenticate the content of emails using a digital signature. Like SPF and DMARC records, its purpose is to prevent fraud and spam.
DKIM selector: dominiosw
Key DKIM: v=DKIM1; g=*; k=rsa; p=MIGfMA0GCGGGGGb3DQEBAQUAA4G000BiQKBgQD0000VKvGjmSb4FkI70000e1KqV01eQ70n0000D5bpRfo8ZGcab0000+3+O0mPI7wYblklU0000T0A3LVJk+QTwX00007VA7EiL0utBMW0000iZLJ8Exyzoajql0000RRJmyhngY/0000t0yq21pdlYLrJa0000CfaniL/8gKQGQID0000
Click on Create Record.
Select TXT Record.
Complete:
selector._domainkey. Example: dominiosw._domainkeyPress Create Record.

View technical information from the Information tab:

Result: An appropriate TXT record query will respond with the entered content. The recipient of an email will obtain this key to verify, unequivocally, that the sender is who they claim to be.
info The DKIM system requires additional configuration on your server or Cloud.
The DMARC (Domain-based Message Authentication, Reporting & Conformance) record complements SPF and DKIM. It defines policies for action in the event of validation failures and allows reports to be sent:
info Tools for generating DMARC rules:
https://dmarcian.com/dmarc-record-wizard/
https://mxtoolbox.com/DMARCRecordGenerator.aspx
info Important: Before creating DMARC, you must have SPF and DKIM operational.
Click on Create Record.
Select TXT Record.
Complete:
_dmarcv=DMARC1; p=none;Click Create Record.

View details from the Information tab:

v=DMARC1; p=none;
p=none; - Monitoring and reporting policy. The rule does not include an email address for receiving reports, so no reports will be generated. The email will be delivered normally; no action will be taken on emails that do not pass the validation systems.
v=DMARC1; p=none; sp=reject; rua=mailto:[email protected];
p=none; - Monitoring and reporting policy. The email will be delivered normally; no action will be taken on emails that do not pass the validation systems.
sp=reject; - Emails originating from subdomains (e.g. ‘email.domainsw.com’) will be rejected if they do not pass both validation systems (DKIM/SPF).
rua=mailto:[email protected]; - Aggregate reports will be sent to the specified email address.
A TXT record allows you to include any type of text in the DNS zone. It is used for verification, configuration, or documentation purposes.
Click on Create Record.
Select TXT Record.
Complete:
Click Create Record.

See additional information in the Information tab:

Result: An appropriate TXT record query will respond with the entered content.
The SRV record provides information about services available under your domain, such as telephony (SIP), messaging (XMPP) or Office365.
Service: _sip. Protocol: _tls Port: 443 Weight: 1 Priority: 100 Name: @ Destination: sipdir.online.dominiosw.com TTL: 3600
Click on Create Record.
Select SRV Record.
Complete:
_sip._tls100 1 443 sipdir.online.dominiosw.com.Click Create Record.

View technical information from the Information tab:

info Important: The destination domain must end with a full stop (
.), otherwise the domain name will be automatically added, causing errors.
Discover the most powerful and flexible way to manage your servers. Leave us your email and we'll send you the steps to get started in minutes.
Already have an account? Log In