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:

SWPanel allows you to consult and modify the PTR record. To do this, access the Dashboard of the Cloud server you want to modify. Click on Active services tree (left menu) and click on the corresponding service (in our case) SWHosting Manuals or you can also locate the server in the general SWPanel search engine:

enter image description here

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

enter image description here

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

enter image description here

Enter the new PTR name and click Save and Change:

enter image description here

Check PTR record

If SWPanel 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:

enter image description here

enter image description here


  • Access the terminal (Command Prompt).

  • Enter the following command:

nslookup <IP> Example: nslookup

  • You will get a result similar to the following:
Server: UnKnown


The "Name" field is the result of the reverse resolution.


  • Access the terminal.

  • Enter the following command:

dig -x <IP> Example: dig -x

  • You will get a result similar to the following:
; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>>> -x
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17329.
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;    IN PTR


;; Query time: 249 msec
;; WHEN: Thu Apr 11 16:56:58 2019
;; MSG SIZE rcvd: 71

In the "ANSWER SECTION" section, the result of the query appears: ""

Your privacy is important to 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 no personally identifiable data is 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 logging back into this website. For more information about our cookie policy you can visit the Cookie information link. Click the "Accept" button or continue browsing to give us your consent to the mentioned cookies or access more detailed information at Manage cookies.