mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Examples:
- Getting started with a basic octoDNS configuration - new to octoDNS this is the place to start. It'll walk you through the main pieces of DNS IaC with octoDNS including the process of planning and applying changes.
Running PowerDNS
If you'd like to play around with running the examples in this directory interactively you'll need a target for pushing data to. octodns-powerdns is the best stand-alone option for this and the examples directory makes extensive use of it. There is a docker-compose.yml file that should get a fully functional copy of PowerDNS backed my MySQL with the API enabled along with other relivant functionality. For any of the examples that refer to the local PowerDNS instance the following instructions below should get it up and running.
- If you haven't already install docker compose
- If you don't already have a copy of octoDNS checked out run
git clone https://github.com/octodns/octodns.git
- In a seperate terminal window or tab
- cd into the examples directory
cd octodns/examples
- Run docker-compose up
docker-compose up
, this will start up MySQL and PowerDNS running them in the foreground with their logs printing to the terminal