-
Notifications
You must be signed in to change notification settings - Fork 13
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
forward zone breaks build_bind #20
Comments
@dmgeurts give this branch a try and see if it fixes the issue. I have not personally tested this in any way and in fact, edited it all in the github website. I'm hoping it should just be this simple.. it looks like I didnt make the same change to the forward section as was made to the master section. Thanks |
Hmm.. come to think of it.. I dont think forward zones ever worked. as indicated by line 231, I need to point it an an IP address.. I think the reason this is not currently implemented is that the database and gui have no current ability to manage the IP that you would point it to. As a workaround, you should be able to just define the zone as a separate file and then add an include in your named.conf file. .....Sadly I'm trying to solve this problem in my head from memory, instead of actually trying things out to see if it works or is even viable. I should probably just stop helping.. I figured I could use the few mins I had to actually move it forward. :) |
It would be enough to resolve the ip's of the master DNS servers set and use those as forwarders. So it shouldn't be hard to use the information available. I'll have a look and see if I can make sense of the code in order to contribute. |
Fixed it, please review master...dmgeurts:patch-1 |
To explain the fix:
Example /opt/ona/etc/bind/named.conf.ona:
|
Splitting off some domains to another platform and now bind configs fail to build.
opt/ona/etc/bind/named.conf.ona:47: missing ';' before 'zone' <<< shown below.
It looks like some line feeds and a ";" are missing. I have three forwards defined and they all suffer the same issue after the zone definition.
The text was updated successfully, but these errors were encountered: