Template repo for syncing your Defined Networking host names to Netlify DNS records via the API.
See the accompanying blog post: https://www.defined.net/blog/dns-for-nebula-hosts-using-the-api/
- Click Use this template and set your new repo's visibility to Private — scheduled workflows in public repos are disabled automatically after 60 days without activity.
- Add
DN_API_KEYandNETLIFY_TOKENas repository secrets. - Set
DOMAIN(and optionallySUBDOMAIN) in.github/workflows/sync-dns.yml. - Uncomment the
scheduletrigger in.github/workflows/sync-dns.yml— it ships commented out so the sync doesn't run before your secrets are configured.