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.

[[email protected] ~]# 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.

1 Answer 1

2

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .