Consult or modify PTR record
A PTR record allows reverse resolution, i.e. converting an IP to a host name, unlike the A record which converts from domain to IP.
It is usual that to avoid fraud and spam, mail servers check that the IP that sends the mail has a PTR record.
By default, in SWHosting the PTR record corresponds to the name of the contracted Cloud, for example:
ce2022012410001.dnssw.net
SW Panel allows you to consult and modify the PTR record:
Important: To ensure correct operation for each PTR record (example: IP 1.2.3.4 to domainsw.com
), there must be a corresponding A record (example: domainsw.com
to domainsw.com
to 1.2.3.4
).
Access the Dashboard of the service on which you want to create the A record. To do so, click on Active Services Tree (left menu) and click on the corresponding service (in this case the hosting swmanuales.com) or you can also locate the service in the general search engine of the SWPanel.

Click on SERVICE MANAGEMENT and click on "DNS Management to create an A record that we will use for the PTR record. In our case, we will use "server".


💡 Refer to the Manage DNS records manual if you have questions on how to create an A record.
Once the A record is created, access the Dashboard of the Cloud server for which you want to modify the PTR record. To do this, click Active Services Tree (left menu) and click on the corresponding service (SWHosting Manuals) or you can also locate the server in the general SWPanel search engine:

In the SERVICE IDENTIFICATION box, click on the icon to the right of your IP.

Then go to ... (right side) > Modify the PTR record of this IP:

Enter the new PTR name and click Save and Change:

4444# Check PTR record
If SW Panel allows you to check the PTR record of your contracted IP, you can also check the PTR record of any IP.
To do this, you can use tools included in your operating system or the following online service:
https://mxtoolbox.com/ReverseLookup.aspx


Windows
nslookup <IP>
Example: nslookup ``.
- You will get a result similar to the following:
Server: UnKnown
Address: 192.168.2.36
Name: server.swmanuales.com
Address: 81.25.125.146
The "Name" field is the result of the reverse resolution.
Linux
dig -x <IP>
Example: dig -x 81.25.125.146
.
- You will get a result similar to the following:
; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>>> -x 81.25.125.146
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17329.
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;115.112.25.81.in-addr.arpa. IN PTR
;; ANSWER SECTION:
115.112.25.81.in-addr.arpa. 7199 IN PTR server.swmanuales.com.
;; Query time: 249 msec
;; SERVER: 192.168.2.36#53(192.168.2.36)
;; WHEN: Thu Apr 11 16:56:58 2019
;; MSG SIZE rcvd: 71
In the "ANSWER SECTION" section, the result of the query appears: "server.swmanuales.com."