{"id":13451695,"url":"https://github.com/hashicorp/terraform-provider-dns","last_synced_at":"2026-01-28T15:00:54.393Z","repository":{"id":37899646,"uuid":"93446097","full_name":"hashicorp/terraform-provider-dns","owner":"hashicorp","description":"Utility provider that supports DNS updates (RFC 2136) and can optionally be configured with secret key based transaction authentication (RFC 2845).","archived":false,"fork":false,"pushed_at":"2026-01-23T16:59:37.000Z","size":13222,"stargazers_count":134,"open_issues_count":59,"forks_count":75,"subscribers_count":13,"default_branch":"main","last_synced_at":"2026-01-23T18:38:16.238Z","etag":null,"topics":["dns","terraform","terraform-provider"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/providers/hashicorp/dns/latest","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hashicorp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":".github/SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-06-05T20:54:08.000Z","updated_at":"2026-01-23T17:00:16.000Z","dependencies_parsed_at":"2023-10-13T05:51:00.482Z","dependency_job_id":"9a8976ec-a13e-41a3-8391-b91a3ab15410","html_url":"https://github.com/hashicorp/terraform-provider-dns","commit_stats":null,"previous_names":["terraform-providers/terraform-provider-dns"],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/hashicorp/terraform-provider-dns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fterraform-provider-dns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fterraform-provider-dns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fterraform-provider-dns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fterraform-provider-dns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hashicorp","download_url":"https://codeload.github.com/hashicorp/terraform-provider-dns/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fterraform-provider-dns/sbom","scorecard":{"id":457158,"data":{"date":"2025-08-11","repo":{"name":"github.com/hashicorp/terraform-provider-dns","commit":"9647bb1ff1f3d184c317310406c7d8b592807990"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6.5,"checks":[{"name":"Code-Review","score":9,"reason":"Found 9/10 approved changesets -- score normalized to 9","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"22 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/ci-changie.yml:15","Info: topLevel 'contents' permission set to 'read': .github/workflows/compliance.yml:7","Warn: no topLevel permission defined: .github/workflows/issue-comment-triage.yml:1","Warn: no topLevel permission defined: .github/workflows/issue-opened.yml:1","Warn: no topLevel permission defined: .github/workflows/lock.yml:1","Warn: no topLevel permission defined: .github/workflows/terraform-provider-checks.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":8,"reason":"dependency not pinned by hash detected -- score normalized to 8","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:150: update your workflow using https://app.stepsecurity.io/secureworkflow/hashicorp/terraform-provider-dns/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/hashicorp/terraform-provider-dns/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:79: update your workflow using https://app.stepsecurity.io/secureworkflow/hashicorp/terraform-provider-dns/build.yml/main?enable=pin","Info:  19 out of  19 GitHub-owned GitHubAction dependencies pinned","Info:   9 out of  12 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Mozilla Public License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v3.4.2 not signed: https://api.github.com/repos/hashicorp/terraform-provider-dns/releases/174316848","Warn: release artifact v3.4.1 not signed: https://api.github.com/repos/hashicorp/terraform-provider-dns/releases/152224643","Warn: release artifact v3.4.0 not signed: https://api.github.com/repos/hashicorp/terraform-provider-dns/releases/133588754","Warn: release artifact v3.3.2 not signed: https://api.github.com/repos/hashicorp/terraform-provider-dns/releases/100670597","Warn: release artifact v3.4.2 does not have provenance: https://api.github.com/repos/hashicorp/terraform-provider-dns/releases/174316848","Warn: release artifact v3.4.1 does not have provenance: https://api.github.com/repos/hashicorp/terraform-provider-dns/releases/152224643","Warn: release artifact v3.4.0 does not have provenance: https://api.github.com/repos/hashicorp/terraform-provider-dns/releases/133588754","Warn: release artifact v3.3.2 does not have provenance: https://api.github.com/repos/hashicorp/terraform-provider-dns/releases/100670597"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/hashicorp/.github/SECURITY.md:1","Info: Found linked content: github.com/hashicorp/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/hashicorp/.github/SECURITY.md:1","Info: Found text in security policy: github.com/hashicorp/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Branch-Protection","score":6,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'main'","Info: 'force pushes' disabled on branch 'main'","Warn: 'branch protection settings apply to administrators' is disabled on branch 'main'","Info: 'stale review dismissal' is required to merge on branch 'main'","Warn: required approving review count is 1 on branch 'main'","Info: codeowner review is required on branch 'main'","Info: 'last push approval' is required to merge on branch 'main'","Warn: no status checks found to merge onto branch 'main'","Info: PRs are required in order to make changes on branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/terraform-provider-checks.yml:12"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T10:01:25.800Z","repository_id":37899646,"created_at":"2025-08-19T10:01:25.800Z","updated_at":"2025-08-19T10:01:25.800Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28846081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T13:02:32.985Z","status":"ssl_error","status_checked_at":"2026-01-28T13:02:04.945Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["dns","terraform","terraform-provider"],"created_at":"2024-07-31T07:00:59.353Z","updated_at":"2026-01-28T15:00:54.339Z","avatar_url":"https://github.com/hashicorp.png","language":"Go","funding_links":[],"categories":["Go","terraform"],"sub_categories":[],"readme":"# Terraform Provider: DNS\n\nThe DNS provider supports resources that perform DNS updates ([RFC 2136](https://datatracker.ietf.org/doc/html/rfc2136)) and data sources for reading DNS information. The provider can be configured with secret key based transaction authentication ([RFC 2845](https://datatracker.ietf.org/doc/html/rfc2845)) or GSS-TSIG ([RFC 3645](https://datatracker.ietf.org/doc/html/rfc3645)).\n\n## Requirements\n\n* [Terraform](https://www.terraform.io/downloads)\n* [Go](https://go.dev/doc/install) (1.24)\n* [GNU Make](https://www.gnu.org/software/make/)\n* [golangci-lint](https://golangci-lint.run/usage/install/#local-installation) (optional)\n\n## Documentation, questions and discussions\nOfficial documentation on how to use this provider can be found on the\n[Terraform Registry](https://registry.terraform.io/providers/hashicorp/DNS/latest/docs).\nIn case of specific questions or discussions, please use the\nHashiCorp [Terraform Providers Discuss forums](https://discuss.hashicorp.com/c/terraform-providers/31),\nin accordance with HashiCorp [Community Guidelines](https://www.hashicorp.com/community-guidelines).\n\nWe also provide:\n\n* [Support](.github/SUPPORT.md) page for help when using the provider\n* [Contributing](.github/CONTRIBUTING.md) guidelines in case you want to help this project\n\n## Compatibility\n\nCompatibility table between this provider, the [Terraform Plugin Protocol](https://www.terraform.io/plugin/how-terraform-works#terraform-plugin-protocol)\nversion it implements, and Terraform:\n\n| DNS Provider | Terraform Plugin Protocol | Terraform |\n|:------------:|:-------------------------:|:---------:|\n|  `\u003e= 3.0.x`  |            `5`            | `\u003e= 0.12` |\n|  `\u003e= 2.1.x`  |        `4` and `5`        | `\u003e= 0.12` |\n|  `\u003c= 2.x.x`  |            `4`            | `\u003c= 0.12` |\n\nDetails can be found querying the [Registry API](https://www.terraform.io/internals/provider-registry-protocol#list-available-versions)\nthat return all the details about which version are currently available for a particular provider.\n[Here](https://registry.terraform.io/v1/providers/hashicorp/DNS/versions) are the details for DNS (JSON response).\n\n\n## Development\n\n### Building\n\n1. `git clone` this repository and `cd` into its directory\n2. `make` will trigger the Golang build\n\nThe provided `GNUmakefile` defines additional commands generally useful during development,\nlike for running tests, generating documentation, code formatting and linting.\nTaking a look at it's content is recommended.\n\n### Testing\n\nIn order to test the provider, you can run\n\n* `make test` to run provider tests\n* `make testacc` to run provider acceptance tests (excluding ones requiring a `DNS_UPDATE_SERVER`)\n* `./internal/provider/acceptance.sh` to run the full suite of acceptance tests\n\nRunning `acceptance.sh` has the following prerequisites:\n\n- [Docker](https://www.docker.com/)\n- [Go](https://golang.org/)\n- [Kerberos Clients](https://web.mit.edu/kerberos/dist/) (e.g. `kinit`)\n- [Make](https://www.gnu.org/software/make/)\n- [Terraform CLI](https://terraform.io/)\n- `/etc/hosts` entry (or equivalent): `127.0.0.1 ns.example.com`\n\n\n\n### macOS Setup\n\n- [Docker for Mac](https://docs.docker.com/docker-for-mac/install/)\n- [Go](https://golang.org/dl/) or with Homebrew: `brew install go`\n- [Terraform CLI](https://www.terraform.io/downloads.html) or with Homebrew: `brew install hashicorp/tap/terraform`\n\n```shell\necho \"127.0.0.1 ns.example.com\" | sudo tee -a /etc/hosts\n```\n\n### Ubuntu Setup\n\n- [Docker Engine](https://docs.docker.com/engine/install/ubuntu/)\n- [Go](https://github.com/golang/go/wiki/Ubuntu)\n- [Terraform CLI](https://www.terraform.io/docs/cli/install/apt.html)\n\n```shell\necho \"127.0.0.1 ns.example.com\" | sudo tee -a /etc/hosts\nsudo apt-get install krb5-user make\n# If prompted for Kerberos configuration:\n# Default Realm: EXAMPLE.COM\n# Server: ns.example.com\n# Administrative Server: ns.example.com\n```\n\nIt's important to note that acceptance tests (`testacc`) will actually spawn\n`terraform` and the provider. Read more about they work on the\n[official page](https://www.terraform.io/plugin/testing/acceptance-tests).\n\n### Generating documentation\n\nThis provider uses [terraform-plugin-docs](https://github.com/hashicorp/terraform-plugin-docs/)\nto generate documentation and store it in the `docs/` directory.\nOnce a release is cut, the Terraform Registry will download the documentation from `docs/`\nand associate it with the release version. Read more about how this works on the\n[official page](https://www.terraform.io/registry/providers/docs).\n\nUse `make generate` to ensure the documentation is regenerated with any changes.\n\n### Using a development build\n\nIf [running tests and acceptance tests](#testing) isn't enough, it's possible to set up a local terraform configuration\nto use a development builds of the provider. This can be achieved by leveraging the Terraform CLI\n[configuration file development overrides](https://www.terraform.io/cli/config/config-file#development-overrides-for-provider-developers).\n\nFirst, use `make install` to place a fresh development build of the provider in your\n[`${GOBIN}`](https://pkg.go.dev/cmd/go#hdr-Compile_and_install_packages_and_dependencies)\n(defaults to `${GOPATH}/bin` or `${HOME}/go/bin` if `${GOPATH}` is not set). Repeat\nthis every time you make changes to the provider locally.\n\nThen, setup your environment following [these instructions](https://www.terraform.io/plugin/debugging#terraform-cli-development-overrides)\nto make your local terraform use your local build.\n\n### Testing GitHub Actions\n\nThis project uses [GitHub Actions](https://docs.github.com/en/actions/automating-builds-and-tests) to realize its CI.\n\nSometimes it might be helpful to locally reproduce the behaviour of those actions,\nand for this we use [act](https://github.com/nektos/act). Once installed, you can _simulate_ the actions executed\nwhen opening a PR with:\n\n```shell\n# List of workflows for the 'pull_request' action\n$ act -l pull_request\n\n# Execute the workflows associated with the `pull_request' action \n$ act pull_request\n```\n\n## Releasing\n\nThe releasable builds are generated from the [build GH workflow](./.github/workflows/build.yml) and the release/promotion process\nis completed via internal HashiCorp deployment tooling. Prior to release, the changelog should be updated in `main` with\nthe changie tool, example:\n\n```sh\nchangie batch 3.7.2 \u0026\u0026 changie merge\n```\n\n## License\n\n[Mozilla Public License v2.0](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashicorp%2Fterraform-provider-dns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhashicorp%2Fterraform-provider-dns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashicorp%2Fterraform-provider-dns/lists"}