{"id":19468434,"url":"https://github.com/noahbailey/ansible-bind","last_synced_at":"2025-06-21T06:40:54.617Z","repository":{"id":187725530,"uuid":"197294664","full_name":"noahbailey/ansible-bind","owner":"noahbailey","description":"Ansible role for managing bind9 DNS servers","archived":false,"fork":false,"pushed_at":"2021-03-19T02:09:06.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-08T04:41:17.773Z","etag":null,"topics":["ansible-role","bind9"],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/noahbailey.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}},"created_at":"2019-07-17T01:48:04.000Z","updated_at":"2022-04-29T18:38:15.000Z","dependencies_parsed_at":"2023-08-11T23:23:16.873Z","dependency_job_id":null,"html_url":"https://github.com/noahbailey/ansible-bind","commit_stats":null,"previous_names":["noahbailey/ansible-bind"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahbailey%2Fansible-bind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahbailey%2Fansible-bind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahbailey%2Fansible-bind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahbailey%2Fansible-bind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noahbailey","download_url":"https://codeload.github.com/noahbailey/ansible-bind/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240682296,"owners_count":19840478,"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":["ansible-role","bind9"],"created_at":"2024-11-10T18:41:07.925Z","updated_at":"2025-02-25T14:25:23.719Z","avatar_url":"https://github.com/noahbailey.png","language":"HTML","readme":"# ansible-bind\nAnsible role for managing bind9 DNS servers\n\nThis role takes data from ansible variables and uses it to set up bind9 (debian flavour) DNS. \n\nCurrently, this role only configures servers and zones. It does not yet handle replication in primary/secondary systems. \n\n## Usage\n\nAdd this role to the `roles` directory in your ansible project.\n\nThen, include the role using a top level playbook:\n\n```yaml\n- name: DNS Servers\n  hosts: dns-servers\n  become: true \n  roles: \n  - ansible-bind\n```\n\n\n\n## Variables\n\nThis role requires these variables to exist in inventory:\n\n#### 1.  bind (sever config)\n\nThis establishes the basic parameters of the server, such as where to send requests, and where to respond to them from. \n\n```\nbind: \n  trusted_subnets: \n    - 10.11.12.0/24\n  forwarders: \n    - 1.1.1.1\n    - 1.0.0.1\n```\n\n\n\n#### 2. zones \n\nThis defines the individual zones that the server will host. \n\nzones is structured as a list of maps, meaning that each one will be separately rendered into a bind database file. \n\nNote that the first NS record is automatically created using the `primary_ns` key, which is used to also construct the SOA record. \n\nEach record will be placed into the file exactly as it is in the list, so formatting is important. \n\nExample: \n\n```yaml\n- name: onetwoseven.one\n  primary_ns: dns1.onetwoseven.one\n  records: \n    - '@        IN    A     10.204.11.20'\n    - 'dns1     IN    A     10.204.10.11'\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoahbailey%2Fansible-bind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoahbailey%2Fansible-bind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoahbailey%2Fansible-bind/lists"}