0

Not sure if I missed something when I set up the PTR records for the hostnames on FreeIPAv4. We use FreeIPAv4 to manage the identity and policy on the LAN.

When I conducted the reverse DNS lookup against the reverse zone 2.10.10.in-addr.arpa, some returned domain names were appended with the reverse zone name, while others were not.

Here are two examples. 10.10.2.104 returned the hostname correctly, while 10.10.2.21 returned the hostname appended with the reverse zone name.

[root@rep02.ipa.example.com ~]# nslookup
> nginx02.prd.example.com
Server:     10.10.4.3
Address:    10.10.4.3#53

Name:   nginx02.prd.example.com
Address: 10.10.2.21
> 10.10.2.21
21.2.10.10.in-addr.arpa name = nginx02.prd.example.com.2.10.10.in-addr.arpa.
> tomcat.sbx.example.com
Server:     10.10.4.3
Address:    10.10.4.3#53

Name:   tomcat.sbx.example.com
Address: 10.10.2.104
> 10.10.2.104
104.2.10.10.in-addr.arpa    name = tomcat.sbx.example.com.

Can anyone shed some light on this? I tried several other tools, like dig and host, but I got the same results.

2

You missed the trailing dot in the ptr record value in the bind zone file.

2
  • Yeah, you are right! what a shame! – Insights.AI Mar 11 at 19:53
  • thank you very much. – Insights.AI Mar 11 at 20:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.