opennetadmin/ona

Build_dns creates unusable ptr records

Joe-Louis opened this issue · 0 comments

After tinkering with this project for 2 days, I noticed that reverse lookups don't work. After investigating and comparing to my currently working bind install, I noticed that Build_dns generates reverse lookup files with incorrect entries. This causes bind to ignore the entry when restarting. I have pasted below a valid entry that works and one that doesn't. I have tested this on the ona server by manually changing the ptr record to look like my working bind installs record. Not sure how to modify the code that generates the record to properly enter it. The ip I am using for the A record is 192.168.85.1. Any help would be appreciated. Thank you.

(working entry)
1 IN PTR router.example.org.

(broken entry)
1.85.168.192.in-addr.arpa. IN PTR router.example.org.