{"id":13896381,"url":"https://github.com/luadns/dns","last_synced_at":"2025-07-17T12:33:16.796Z","repository":{"id":2468669,"uuid":"3441107","full_name":"luadns/dns","owner":"luadns","description":"Template Repository for getting started with LuaDNS.","archived":false,"fork":false,"pushed_at":"2025-04-09T14:12:35.000Z","size":21,"stargazers_count":38,"open_issues_count":1,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T15:25:57.531Z","etag":null,"topics":["dns","lua"],"latest_commit_sha":null,"homepage":"http://www.luadns.com/help.html","language":"Lua","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/luadns.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-02-14T15:41:01.000Z","updated_at":"2025-04-09T14:12:39.000Z","dependencies_parsed_at":"2024-05-17T08:44:44.724Z","dependency_job_id":"fbe6e78b-2347-46b3-951e-3e416e726a3b","html_url":"https://github.com/luadns/dns","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/luadns/dns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luadns%2Fdns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luadns%2Fdns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luadns%2Fdns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luadns%2Fdns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luadns","download_url":"https://codeload.github.com/luadns/dns/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luadns%2Fdns/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265606774,"owners_count":23797003,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dns","lua"],"created_at":"2024-08-06T18:02:52.706Z","updated_at":"2025-07-17T12:33:16.776Z","avatar_url":"https://github.com/luadns.png","language":"Lua","readme":"# Example Git repository\n\n[LuaDNS](http://www.luadns.com/) service allows you to manage DNS settings with\ngit.\n\nThis is an example git repository, read more here:\n[http://www.luadns.com/help.html#git-integration](http://www.luadns.com/help.html)\n\n## Add a new zone\n\nTo add a new zone, create a new file with zone name, appending `.lua` suffix\nwhen using Lua format or `.bind` when using Bind format. Push your changes with\ngit, the zone and it's records will be added to LuaDNS name servers:\n\n```\ntouch example.com.lua\ngit add git example.com.lua\ngit commit -m \"Add example.com zone\" example.com.lua\ngit push\n```\n\n## Remove a zone\n\nTo remove a zone, remove the file and push the changes to remove zone from\nLuaDNS name servers:\n\n```\ngit rm example.com.lua\ngit commit -m \"Remove example.com zone\" example.com.lua\ngit push\n```\n\n## Supported Records\n\n* A\n* AAAA\n* ALIAS\n* CAA\n* CNAME\n* DS\n* FORWARD\n* HTTPS\n* MX\n* NS\n* PTR\n* REDIRECT\n* SOA\n* SRV\n* SSHFP\n* TLSA\n* TXT\n\nClick [here](https://www.luadns.com/help.html#resource-records) for an up-to-date list of supported DNS records.\n\n## System Templates\n\nYou can find [here](https://github.com/luadns/templates) ready to use templates for common services.\n\nExample Usage:\n\n```lua\n-- File: example.com.lua\n-- Zone: example.com\n\n-- Load system templates.\nlocal templates = require(\"templates\")\n\n-- Apply Google Workspace template.\ntemplates:google_workspace()\n```\n\n## Custom Templates\n\nThe `.lua` files from `templates` directory of your repository are executed\nbefore other `.lua` files. You can put your global functions and variables\nthere.\n\nExamples:\n\n* [templates](templates) - All .lua files from this directory are executed before each .lua zone file\n* [example.com.lua](example.com.lua) - Example zone using Lua zone format\n* [example.com.clones](example.com.clones) - Domain aliases example (one domain per line)\n* [example.org.bind](example.org.bind) - Example zone using Bind zone format\n* [1.168.192.in-addr.arpa.lua](1.168.192.in-addr.arpa.lua) - Reverse zone using Lua zone format\n\n## Pre-commit Hook\n\nWhen changes are pushed to the git repository users are receiving an email with\nthe build status. The workflow can be speed up by using a [pre-commit\nhook](.githooks/pre-commit) which validates your DNS files by running syntax checks.\n","funding_links":[],"categories":["Lua"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluadns%2Fdns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluadns%2Fdns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluadns%2Fdns/lists"}