Guides and tutorials

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

Check or modify PTR record

A PTR record allows you to perform an inverse resolution, that is, convert an IP to a host name, unlike the A record, which converts from domain to IP.

It is common that to avoid fraud and spam, the mail servers verify that the IP that sends the mail has a PTR record.

By default, in SW Hosting the PTR record corresponds to the name of the hired Cloud, such as: CM2019012345678.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 an A record that corresponds to it (example: "dominiosw.com" to 1.2.3.4).

  • Access Services (left menu) and click on the corresponding Cloud name:

  • In the left menu, access Actions on this service > Manage service IPs: You will see the IPs currently assigned to your Cloud and the currently configured PTR record.

  • Locate the IP for which you will modify the PTR record and access Manage (right side) > Modify the PTR record of this IP:

  • Present the new name PTR and press Save and change:

Verify PTR record

SW Panel not only allows you to consult the PTR record of your contracted IP, you can also check the PTR record of any IP.

For this, you can use tools included in your operating system, or the following online service:

https://mxtoolbox.com/ReverseLookup.aspx

Windows

  • Access the terminal (Command Prompt).

  • Enter the following command:

nslookup <IP> Example: nslookup 81.25.112.115

  • We will obtain a result similar to the following:
Server: UnKnown
Address: 192.168.2.36

Name: swhosting.com
Address: 81.25.112.115

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

Linux

  • Access the terminal.

  • Enter the following command:

dig -x <IP> Example: dig -x 81.25.112.115

  • We will obtain a result similar to the following:
; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> -x 81.25.112.115
;; 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     swhosting.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: "swhosting.com."

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.