{"id":16947608,"url":"https://github.com/x70b1/ansible-zonefile","last_synced_at":"2026-05-21T05:33:14.343Z","repository":{"id":203391746,"uuid":"709482281","full_name":"x70b1/ansible-zonefile","owner":"x70b1","description":"Maintain the existence and SOA settings for a zone file managed by Knot DNS.","archived":false,"fork":false,"pushed_at":"2025-09-11T22:26:21.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-12T01:03:19.265Z","etag":null,"topics":["ansible","knot"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/x70b1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-10-24T19:54:31.000Z","updated_at":"2025-09-11T22:26:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"583f4cfb-91c3-448d-899b-e7d0d1fb4c01","html_url":"https://github.com/x70b1/ansible-zonefile","commit_stats":null,"previous_names":["x70b1/ansible-zonefile"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/x70b1/ansible-zonefile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x70b1%2Fansible-zonefile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x70b1%2Fansible-zonefile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x70b1%2Fansible-zonefile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x70b1%2Fansible-zonefile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/x70b1","download_url":"https://codeload.github.com/x70b1/ansible-zonefile/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x70b1%2Fansible-zonefile/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33289859,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T02:57:32.698Z","status":"ssl_error","status_checked_at":"2026-05-21T02:57:31.990Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["ansible","knot"],"created_at":"2024-10-13T21:47:42.934Z","updated_at":"2026-05-21T05:33:14.310Z","avatar_url":"https://github.com/x70b1.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ansible-zonefile\n\n[![Actions](https://github.com/x70b1/ansible-zonefile/actions/workflows/shellcheck.yml/badge.svg)](https://github.com/x70b1/ansible-zonefile/actions)\n[![Contributors](https://img.shields.io/github/contributors/x70b1/ansible-zonefile.svg)](https://github.com/x70b1/ansible-zonefile/graphs/contributors)\n[![License](https://img.shields.io/github/license/x70b1/ansible-zonefile.svg)](https://github.com/x70b1/ansible-zonefile/blob/master/LICENSE)\n\nMaintain the existence and SOA settings for a zone file managed by [Knot DNS](https://www.knot-dns.cz/).\n\nThis works fine together with [StackExchange/dnscontrol](https://github.com/StackExchange/dnscontrol).\n\n\n## Setup\n\nClone this repo to the Ansible Library in your current project:\n\n```\ngit clone https://github.com/x70b1/ansible-zonefile.git library/\n```\n\n\n## How to use\n\nBackground knowledge of the structure of an [SOA record](https://en.wikipedia.org/wiki/SOA_record) is highly recommended.\n\nThe module supports the following arguments:\n\n```yaml\n- name: \"Zonefile\"\n  zonefile:\n    name: example.org\n    ttl: 14400\n    mname: ns1.example.org\n    rname: mail@example.org\n    refresh: 3600\n    retry: 600\n    expire: 1209600\n    minimum: 600\n```\n\nYou can use a preformatted `mname` and `rname` but you have to use escaped backslashes:\n\n```yaml\n- name: \"Zonefile\"\n  zonefile:\n    ...\n    mname: ns1.example.org.\n    rname: we\\\\.are\\\\.online.example.org.   # we.are.online@example.org\n    ...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fx70b1%2Fansible-zonefile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fx70b1%2Fansible-zonefile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fx70b1%2Fansible-zonefile/lists"}