• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved PTR configuration on Bind/Plesk

rafaelgrecco

New Pleskian
Hi.

I work at a ISP and own my IP addresses.

I changed my old Web Hosting server with Windows DNS to Plesk. I am now using Plesk Onyx on Windows with Bind9 DNS with DNS replication.

My question is: I added a PTR (reverse DNS) entry for a domain on Plesk, but it does not work.

For example: nslookup 189.201.197.48
It says Non-existent domain

If I specify the DNS server for the query (Plesk Onyx), like this: nslookup 189.201.197.48 189.201.196.25
It correctly states the FQDN as correio3.ajofer.com.br (189.201.196.25 being my Plesk server).

What am I missing? On my old Windows DNS Manager I just had to add PRT entry on Reverse Zones and it worked. Is there any additional step required on Bind9/Plesk?

Thanks
 
Hello rafaelgrecco,

Who is an owner of network 189.201.197.x? Let's check: Registration Services - Whois (189.201.197.x part of 189.201.196.0/22)

What server responsible for resolving of PTR records for the network? "nserver: ns1.gwmnet.com.br" see link above.

Let's check who is NS-server for "197.201.189.in-addr.arpa":

Code:
# dig 197.201.189.in-addr.arpa NS
[FONT=Courier New]
; <<>> DiG 9.9.5-9+deb8u14-Debian <<>> 197.201.189.in-addr.arpa NS +answer
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29070
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 3

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;197.201.189.in-addr.arpa.      IN      NS

;; ANSWER SECTION:
197.201.189.in-addr.arpa. 3442  IN      NS      ns2.gwmnet.com.br.
197.201.189.in-addr.arpa. 3442  IN      NS      hospedagem.gwmnet.com.br.

;; ADDITIONAL SECTION:
hospedagem.gwmnet.com.br. 3460  IN      A       189.38.24.25
ns2.gwmnet.com.br.      3405    IN      A       189.38.24.26

;; Query time: 0 msec
;; SERVER: 192.168.56.254#53(192.168.56.254)
;; WHEN: Fri Nov 10 11:50:14 +07 2017
;; MSG SIZE  rcvd: 141[/FONT]

;; ANSWER SECTION:
197.201.189.in-addr.arpa. 3442 IN NS ns2.gwmnet.com.br.
197.201.189.in-addr.arpa. 3442 IN NS hospedagem.gwmnet.com.br.

;; ADDITIONAL SECTION:
hospedagem.gwmnet.com.br. 3460 IN A 189.38.24.25
ns2.gwmnet.com.br. 3405 IN A 189.38.24.26

So, servers with IP-addresses 189.38.24.25 and 189.38.24.26 serve queries about PTR-records. If I correctly understand, it is not IP-address of your Plesk.
 
Oh... thanks for the info AYamshonov.

I acutally did not know that. Unfortunately the person responsible for our DNS servers died some time ago and I had to take responsability for all his services... So there are some things I am still not 100% sure how to handle.

Thank you very much for the information.
 
Hello rafaelgrecco,

Who is an owner of network 189.201.197.x? Let's check: Registration Services - Whois (189.201.197.x part of 189.201.196.0/22)

What server responsible for resolving of PTR records for the network? "nserver: ns1.gwmnet.com.br" see link above.

Let's check who is NS-server for "197.201.189.in-addr.arpa":

Code:
# dig 197.201.189.in-addr.arpa NS
[FONT=Courier New]
; <<>> DiG 9.9.5-9+deb8u14-Debian <<>> 197.201.189.in-addr.arpa NS +answer
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29070
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 3

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;197.201.189.in-addr.arpa.      IN      NS

;; ANSWER SECTION:
197.201.189.in-addr.arpa. 3442  IN      NS      ns2.gwmnet.com.br.
197.201.189.in-addr.arpa. 3442  IN      NS      hospedagem.gwmnet.com.br.

;; ADDITIONAL SECTION:
hospedagem.gwmnet.com.br. 3460  IN      A       189.38.24.25
ns2.gwmnet.com.br.      3405    IN      A       189.38.24.26

;; Query time: 0 msec
;; SERVER: 192.168.56.254#53(192.168.56.254)
;; WHEN: Fri Nov 10 11:50:14 +07 2017
;; MSG SIZE  rcvd: 141[/FONT]

;; ANSWER SECTION:
197.201.189.in-addr.arpa. 3442 IN NS ns2.gwmnet.com.br.
197.201.189.in-addr.arpa. 3442 IN NS hospedagem.gwmnet.com.br.

;; ADDITIONAL SECTION:
hospedagem.gwmnet.com.br. 3460 IN A 189.38.24.25
ns2.gwmnet.com.br. 3405 IN A 189.38.24.26

So, servers with IP-addresses 189.38.24.25 and 189.38.24.26 serve queries about PTR-records. If I correctly understand, it is not IP-address of your Plesk.

Hi,

How do I add the Reverse Zones on Plesk? I need to add four /24 Reverse Zones on Plesk to be able to change the information quoted above (to make Plesk answer queries about PTR-records for my IP addresses). But I can't find a way to add the Reverse Zones on Plesk... do you know how to do it?

Thanks!
 

Hi. Yes I have. But a domain should not be required for a PTR Zone, they are different and independent things.

I should be able to configure a PTR for an IP without having the domain.

For example, to configure my Plesk server to answer queries for my IP range, I must already have all my four /24 Reverse Zones configured on the server, otherwise the configuration is not accepted by LACNIC.

But I can't find a way to add these zones, as I would on a Windows DNS Manager. Do you know how to do it?

By the way, thank you very much for your help.
 
Back
Top