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] Zonefiles of Views are written to the wrong filename #468

Closed
Inanias opened this issue Oct 10, 2019 · 3 comments

Comments

@Inanias
Copy link

@Inanias Inanias commented Oct 10, 2019

fM Version : 3.5
fmDNS Version : 3.4

In raising this issue, I confirm the following (please check boxes, eg [X]):

  • I have read and understood the contributors guide.
  • I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • I have checked that the issue I'm posting isn't already reported.
  • I have checked that the issue I'm posting isn't already solved and no duplicates exist in closed issues and opened issues
  • I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.

Expected Behavior:
After creating/updating dns records inside a zone with multiple views, zonefile at /etc/bind/zones/master/db.domain.tld.489.hosts is updated.

Actual Behavior:
New zonefile /etc/bind/zones/master/db.domain.tld489..hosts is created with updated content and therefore change is not active.

Steps to reproduce:
Create or update record in a zone with multiple views and reload zones.

If the zonefiles are deleted and created by Config -> Servers -> Build Config everything is fine.

I tried a client reinstall with php /usr/local/facileManager/fmDNS/client.php reinstall, which executed without errors, but did not fix this.

This started happening after the recent update to fM 3.5 and fmDNS 3.4.

@WillyXJ

This comment has been minimized.

Copy link
Owner

@WillyXJ WillyXJ commented Oct 10, 2019

This is a result of adding #456 as a feature. I'll have a fix for the next release.

WillyXJ pushed a commit that referenced this issue Oct 10, 2019
@Inanias

This comment has been minimized.

Copy link
Author

@Inanias Inanias commented Oct 10, 2019

Thanks for the quick response and fix.

I can confirm that the fix works.

@WillyXJ

This comment has been minimized.

Copy link
Owner

@WillyXJ WillyXJ commented Oct 17, 2019

This is now fixed in fmDNS 3.4.1 and later.

@WillyXJ WillyXJ closed this Oct 17, 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.