- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Anybody using API to keep DNS views in sync?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-02-2017 02:45 PM
One of the down sides to having a zone in multiple DNS views is that you have to maintain the zone information in two or more places. In my situation I have a particular zone in two DNS views, internal and external. The zone in the external DNS view is a subset of the zone in the internal DNS view. When our users add a new DNS record to the zone in the external DNS view, they have to remember to add it to the internal view also.
In my case, any records added to the external zone also need to be added to the internal zone. I was thinking about writing an application utilizing the API. This app would monitor the logs and detect when a record is added to the zone in the external DNS view. The app would then add that same record to the zone in the internal DNS view. That way the users would only have to add a new record in one place. If a record is public, add it once to the external zone. If that record is private, add it once to the internal zone. Deleting records is another story.
I was curious to know if anybody has done something like this?
Solved! Go to Solution.

Re: Anybody using API to keep DNS views in sync?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-05-2017 11:30 AM
Hi,
Starting NIOS 8.0 you can enable object change tracking and after that use db_objects WAPI call, to track added/deleted objects.
BR,
Vadim
Re: Anybody using API to keep DNS views in sync?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-27-2018 11:47 AM
yes i also want to know this hope is there anyone Am facing the same problem. Hope anyone here can help me too. Thanks in advance. Regards,
Re: Anybody using API to keep DNS views in sync?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-01-2019 03:24 PM
I know this is a late reply but I plan on writing a script to acomplish the task in the original post. I probably won't get to it until the summer of 2019. When I complete the script I will post it here.