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

feature: 'include' option #123

Closed
hart323 opened this Issue Jul 9, 2014 · 5 comments

Comments

Projects
None yet
4 participants
@hart323
Copy link
Contributor

hart323 commented Jul 9, 2014

Hi!

We have a task to create a bunch of blank zones for blackholing.
Simple solution is to create file blocked.zones and include it in configuration like
include "/etc/blocked.zones";

@WillyXJ WillyXJ added the fmDNS label Aug 12, 2014

@WillyXJ

This comment has been minimized.

Copy link
Owner

WillyXJ commented Aug 12, 2014

So far, a proper way of supporting includes has not been determined.

For this use case, you can create a master zone, create the SOA and NS records and leave the rest blank. Then create clones of that zone for all of your "blank" zones and you've effectively accomplished the end result you are looking for.

@WillyXJ WillyXJ added the feature label Aug 12, 2014

@hart323

This comment has been minimized.

Copy link
Contributor

hart323 commented Aug 13, 2014

I partially solved my question by adding 'include' option to mysql
database. But now I have to control that this file is created manually
by hand or named refuse to start if file is not found.

13.08.2014 1:43, WillyXJ пишет:

So far, a proper way of supporting includes has not been determined.

For this use case, you can create a master zone, create the SOA and NS
records and leave the rest blank. Then create clones of that zone for
all of your "blank" zones and you've effectively accomplished the end
result you are looking for.


Reply to this email directly or view it on GitHub
#123 (comment).

@peterschen

This comment has been minimized.

Copy link
Contributor

peterschen commented Apr 8, 2015

I'd like to see this feature included as well. In case you want to have a static zone which should not be touched by fmDNS the include feature would be really handy to accomplish this.

@mike2m

This comment has been minimized.

Copy link

mike2m commented Jun 19, 2015

Hi,
please do soon as possible, it is very necessary

@WillyXJ WillyXJ added this to the 2.x release milestone Jun 19, 2015

WillyXJ added a commit that referenced this issue Jun 19, 2015

fmDNS - #123 - Added preliminary include support
include parameter supported in global and view options
@WillyXJ

This comment has been minimized.

Copy link
Owner

WillyXJ commented Aug 21, 2015

Include statements are now supported in the next 2.x release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment