axfrdns from tinydns is not working
|Affected version:||Affected Architecture:|
axfrdns is reporting: "tcpserver: warning: dropping connection, unable to read tcp.cdb: file does not exist" from /var/etc/axfrdns/log/main/current.
When I check /usr/local/pkg/tinydns.inc I see there is a function, tinydns_setup_axfrdns() that is never called. I believe this was fixed in the patch attached to #119.
Am I using a stale version of tinydns? I installed it using the integrated package manager. Is there a trick to get the fixed version?
#1 Updated by Michael Durian over 1 year ago
- File axfrdns.patch added
I updated to 2.0-release yesterday and that introduced a new problem. Now I get "tcpserver: fatal: unable to bind: address already used" errors when axfrdns tries to start.
I did apply the attached patch, which I extracted from #119, and that creates a tcp.cdb file. I think things might work if I can figure out why tcpserver is throwing the address already used error.
#2 Updated by Michael Durian over 1 year ago
Rebooting fixed the binding error and with the attached patch, axfrdns is now responding to zone transfer requests.
#3 Updated by Anonymous over 1 year ago
Just upgraded to package version 188.8.131.52 on pfSense 2.0.1. DNS zone transfers are broke again.
#4 Updated by Anonymous over 1 year ago
Sorry, turns out it's not that broken after all, after a reboot the axfrdns service started again, however:
Its still not creating the proper entries for dns zone transfers in /var/etc/axfrdns/tcp and not compiling that list into the /var/etc/axfrdns/tcp.cdb
Creating the host entries in the tcp file and manually compiling the cdb fixes the immediate problem.
Not sure where in the script that last part is going wrong.