Reply

DNS Views Import Zones

Techie
Posts: 3
4404     0

Hi,

 

our topology:

1 Infoblox Grid Master

3 Infoblox DNS members

 

runnning everything on 

Version : 6.10.6-240571 

 

We are also mainting 4 Views with match-clients.

 

We need to automate mass changes (deletions/additions) on our DNS views for legal issues. 

 

How can we do that ?

 

Thanks in advance,

Re: DNS Views Import Zones

Adviser
Posts: 200
4405     0

What types of changes are you looking to automate?  Are you planning on full automation (triggered from some other system) or are you referring to some bulk change that an administrator kicks off?  Can you provide a sample scenario that would trigger such an event?

Re: DNS Views Import Zones

Expert
Posts: 304
4405     0

Are you talking about shared record groups here? i.e. the same RR's but duplicated in different views?

 

If you use shared record groups for these then when you make a change it will update all the associated views.

Paul Roberts
PCN (UK) Ltd

All opinions expressed are my own and not representative of PCN Inc./PCN (UK) Ltd. E&OE

Re: DNS Views Import Zones

Techie
Posts: 3
4405     0

Actually both.

 

Case One: We need to bulk automate 1000 zones with A record in 192.168.1.1 for origin & www hostnames.

Case Two: We need to automate removals.

etc etc etc

 

We need to automate creation/deletion from cron scripts from our "management" server 

eg. 

 

 

$TTL 86400
@ IN SOA localhost. hostmaster.localhost. (
2015092401 ; Serial
10800 ; Refresh 3 hours
3600 ; Retry 1 hours
1814400 ; Expire 3 weeks
86400 ) ; Minimum 24 hours
;
IN NS localhost.
IN NS localhost.
;GLUE: do NOT remove this comment
IN A 127.0.0.2
;GLUE: do NOT remove this comment
* 1800 IN A127.0.0.2


for 1000 zones 

Re: DNS Views Import Zones

Expert
Posts: 304
4405     0

Sounds like you need to use the API then. You might even find something out there you can use if you google hard enough.

Paul Roberts
PCN (UK) Ltd

All opinions expressed are my own and not representative of PCN Inc./PCN (UK) Ltd. E&OE

Re: DNS Views Import Zones

Techie
Posts: 3
4405     0

Do I really need to online search something like that?

 

I've speed-read the manuals (both infbolox and api) but I didnt find a decent example on this.

 

How people using infoblox are handiling issues like that ?

DNS automatations for zones and views ? 

Re: DNS Views Import Zones

Expert
Posts: 304
4405     0

If you're not comfortable with using the API you could try IBCLI:

 

http://slchorne.github.io/ibcli/user_guide_ibcli.html#add_a_zone

 

Paul Roberts
PCN (UK) Ltd

All opinions expressed are my own and not representative of PCN Inc./PCN (UK) Ltd. E&OE

Re: DNS Views Import Zones

Community Manager
Community Manager
Posts: 248
4405     0

csv import and export may also be an easy way to change the records.

 

in general if you are doing bulk or repetitive updates you need to leverage one of the APIs.

 

there is also an API forum that may have already answered some of your questions, if you can't find what you're looking for by skimming the manuals.

Showing results for 
Search instead for 
Did you mean: 

Recommended for You