Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.

Example Git repository

LuaDNS service allows you to manage DNS settings with git.

This is an example git repository, read more here:

Add a new zone

To add a new zone, create a new file with zone name, appending .lua suffix when using Lua format or .bind when using Bind format. Push your changes with git, the zone and it's records will be added to LuaDNS name servers:

git add
git commit -m "Add zone"
git push

Remove a zone

To remove a zone, remove the file and push the changes to remove zone from LuaDNS name servers:

git rm
git commit -m "Remove zone"
git push


The .lua files from templates directory of your repository are executed before other .lua files. You can put your global functions and variables there.