-
Notifications
You must be signed in to change notification settings - Fork 0
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
octoblox 0.5.0rc delegation issues & query #2
Comments
Version 0.5.0rc2 should address your concerns. It has moved the delegation logic to a separate provider class. Handling of delegated zones within InfoBlox is a tricky problem. On one hand there is a desire to make it follow the expected OctoDNS pattern of putting the glue records in the parent domain. On the other there is the need to support the As for the issue of having repeat configuration here is an example using yaml anchors which shows how common config can be de-duped. providers:
config:
class: octodns.provider.yaml.YamlProvider
directory: ./config
default_ttl: 3600
enforce_order: True
infoblox: &infoblox_config
class: octoblox.InfoBloxProvider
endpoint: infoblox.example.com
username: admin
password: env/INFOBLOX_PASSWORD
create_zones: true
new_zone_fields:
grid_primary:
- name: infoblox.example.com
ns_group: default
restart_if_needed: true
soa_default_ttl: 3600
view: default
use_grid_zone_timer: true
delegated:
<<: *infoblox_config
class: octoblox.DelegatedProvider
new_zone_fields:
delegated_to:
- name: ns1.test.example.com
address: 1.1.1.1
- name: ns2.test.example.com
address: 8.8.8.8
view: default
zones:
example.com.: &infoblox
sources:
- config
targets:
- infoblox
other1.example.com.: *infoblox
other2.example.com.: *infoblox
test.example.com.: &delegated
sources:
- config
targets:
- delegated
test2.example.com.: *delegated
test3.example.com.: *delegated |
To address the empty zone files, version 0.5.0rc3 adds the The following is all that is required for delegated zones. No other files required. providers:
empty:
class: octoblox.EmptySource
delegated:
class: octoblox.DelegatedProvider
endpoint: infoblox.example.com
username: admin
password: env/INFOBLOX_PASSWORD
create_zones: true
new_zone_fields:
delegated_to:
- name: ns1.test.example.com
address: 1.1.1.1
- name: ns2.test.example.com
address: 8.8.8.8
view: default
zones:
test.example.com.: &delegated
sources:
- empty
targets:
- delegated
test2.example.com.: *delegated
test3.example.com.: *delegated |
Version 0.5.0 will be released and this issue closed at the end of next week unless anymore issues are reported. |
i've noticed the recent development and support for delegation domains. my company has same same setup, we've got lots of delegations, very interested in this.
i've tested the v0.5.0rc against our infoblox, have got a bit of API issues, just wondering what's the Infoblox version, API version the octoblox code is targeted? or what it should be using?
my infoblox setup as follows:
NIOS: 8.6.1-421583
WAPI version: v2.12.1
i've got a couple of issues/errors
ISSUE 1:
soa_default_ttl
errorreading from WAPI documentation,
zone_delegated
only hasdelegated_ttl
attribute to display.soa_default_ttl
is only available forzone_auth
API callshttps://ipam.illinois.edu/wapidoc/objects/zone_delegated.html?highlight=zone_delegated#zone_delegated
do you use a different WAPI version? or do i have to change my configuration in any way?
ISSUE 2:
zone_format
valuei've also got the FORWARDING error
again it looks like i'm using the wrong WAPI version, the valid values are FORWARD, IPV4 and IPV6 only.
also regarding the configuration. we've got more than 50 different delegation. i'm not sure if i'm interpreting the v0.5.0 design correctly? does this imply that i'll have a very large config-file, and one for each unique delegation set plus lots of empty yaml zones for delegations? or you've got a different way of configuring this?
The text was updated successfully, but these errors were encountered: