Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Dynamic reverse zone dump error file #449

Closed
fruza opened this issue Jun 7, 2019 · 1 comment

Comments

@fruza
Copy link

@fruza fruza commented Jun 7, 2019

fM Version : 3.4.2
fmDNS Version : 3.3.4

Hi!,

I've configured a reverse zone to support dynamic updates. Every time I try to enter to it to edit the records I get the typical error with the possible causes. Looking at the logs I see that it's trying to execute the following command:

Jun 7 12:13:49 dnstomaster sshd[1185]: pam_unix(sshd:session): session opened for user fmuser by (uid=0) Jun 7 12:13:50 dnstomaster sudo: fmuser : TTY=unknown ; PWD=/home/fmuser ; USER=root ; COMMAND=/bin/php /usr/local/facileManager/fmDNS/client.php dump-zone -D 100.168.192.in-addr.arpa -f /var/named/chroot/etc/named/zones/master/db.100.168.192.in-addr.arpa.hosts

I think the -f parameter is wrong here. For reverse zones the files are ending in .rev instead of .hosts, right?

[root@dnstomaster master]# ls -l /var/named/chroot/etc/named/zones/master/db.100.168.192.in-addr.arpa.hosts ls: no se puede acceder a /var/named/chroot/etc/named/zones/master/db.100.168.192.in-addr.arpa.hosts: No existe el fichero o el directorio [root@dnstomaster master]# ls -l /var/named/chroot/etc/named/zones/master/db.100.168.192.in-addr.arpa.rev -rw-r--r-- 1 named named 921 jun 7 12:10 /var/named/chroot/etc/named/zones/master/db.100.168.192.in-addr.arpa.rev

Best regards, Fernando.

@WillyXJ

This comment has been minimized.

Copy link
Owner

@WillyXJ WillyXJ commented Oct 2, 2019

This is now fixed in fmDNS 3.4 and later.

@WillyXJ WillyXJ closed this Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.