Skip to content

An utility to synchronise DNS records in PowerDNS database using Management Hub as etalon

License

Notifications You must be signed in to change notification settings

romeech/powerdns_synch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

powerdns_sync

An utility to synchronise DNS records in PowerDNS database using Management Hub as etalon.

There is Hub server with UI for managing DNS records and a database for storing the settings.

There are also several nodes with PowerDNS instances on it. PowerDNS has own database where it stores DNS-records.

When a user changes DNS-records in UI of the Hub the adjustments are propagated to all PowerDNS nodes. Some failures (like networking, bugs in Hub server code) lead to consistency violation between Hub and PowerDNS databases. Here is the list of possible violations:

  • Records deleted in Hub are remained at least in one of the PowerDNS DB
  • There are several records in PowerDNS differ only by TTL
  • There is a record in PowerDNS has a different TTL then in Hub

This utility is meant to display (in CSV) such inconsistencies and optionally fix them automatically (--fix-errors option).

Run help for details: python powerdns_sync.py --help

About

An utility to synchronise DNS records in PowerDNS database using Management Hub as etalon

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages