{"id":13781207,"url":"https://github.com/sous-chefs/resolver","last_synced_at":"2026-03-14T15:40:58.728Z","repository":{"id":2725747,"uuid":"3720658","full_name":"sous-chefs/resolver","owner":"sous-chefs","description":"Development repository for the resolver cookbook","archived":false,"fork":false,"pushed_at":"2026-03-02T16:38:25.000Z","size":221,"stargazers_count":28,"open_issues_count":1,"forks_count":50,"subscribers_count":42,"default_branch":"main","last_synced_at":"2026-03-02T19:54:16.872Z","etag":null,"topics":["chef","chef-cookbook","chef-resource","hacktoberfest","managed-by-terraform","resolver"],"latest_commit_sha":null,"homepage":"https://supermarket.chef.io/cookbooks/resolver","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sous-chefs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"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},"funding":{"open_collective":"sous-chefs"}},"created_at":"2012-03-14T18:19:12.000Z","updated_at":"2026-03-02T16:38:28.000Z","dependencies_parsed_at":"2023-12-25T12:01:48.116Z","dependency_job_id":"326ab04b-2419-45d1-bfe1-85e431f30fc0","html_url":"https://github.com/sous-chefs/resolver","commit_stats":{"total_commits":265,"total_committers":38,"mean_commits":6.973684210526316,"dds":0.769811320754717,"last_synced_commit":"97ccab738995d649470b46278d95cbdb8fae6eb8"},"previous_names":["chef-cookbooks/resolver"],"tags_count":30,"template":false,"template_full_name":null,"purl":"pkg:github/sous-chefs/resolver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sous-chefs%2Fresolver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sous-chefs%2Fresolver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sous-chefs%2Fresolver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sous-chefs%2Fresolver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sous-chefs","download_url":"https://codeload.github.com/sous-chefs/resolver/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sous-chefs%2Fresolver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30508041,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-14T14:51:43.155Z","status":"ssl_error","status_checked_at":"2026-03-14T14:47:41.964Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["chef","chef-cookbook","chef-resource","hacktoberfest","managed-by-terraform","resolver"],"created_at":"2024-08-03T18:01:23.884Z","updated_at":"2026-03-14T15:40:58.701Z","avatar_url":"https://github.com/sous-chefs.png","language":"Ruby","readme":"# resolver Cookbook\n\n[![Cookbook Version](https://img.shields.io/cookbook/v/resolver.svg)](https://supermarket.chef.io/cookbooks/resolver)\n[![CI State](https://github.com/sous-chefs/resolver/workflows/ci/badge.svg)](https://github.com/sous-chefs/resolver/actions?query=workflow%3Aci)\n[![OpenCollective](https://opencollective.com/sous-chefs/backers/badge.svg)](#backers)\n[![OpenCollective](https://opencollective.com/sous-chefs/sponsors/badge.svg)](#sponsors)\n[![License](https://img.shields.io/badge/License-Apache%202.0-green.svg)](https://opensource.org/licenses/Apache-2.0)\n\nConfigures /etc/resolv.conf, unless the nameservers attribute is empty. Search will be excluded if empty.\n\n## Maintainers\n\nThis cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you’d like to know more please visit sous-chefs.org or come chat with us on the Chef Community Slack in #sous-chefs.\n\n## Requirements\n\n### Platforms\n\n- AIX\n- Debian/Ubuntu\n- RHEL/CentOS/Scientific/Amazon/Oracle\n- Fedora\n- FreeBSD/OpenBSD\n- macOS\n- Solaris\n- openSUSE / SUSE Enterprise\n\n### Chef\n\n- Chef 15.3+\n\n## Resources\n\n- [resolver_config](documentation/resolver_config.md)\n- [resolver_systemd_resolved_config](documentation/resolver_systemd_resolved_config.md)\n\n## Usage\n\nIt is recommended to create a project or organization specific [wrapper cookbook](https://blog.chef.io/doing-wrapper-cookbooks-right) and add the desired custom resources to the run list of a node.\n\nExample of configuring a node with nameservers, a search list and a local domain.\n\n```ruby\nresolver_config '/etc/resolv.conf' do\n  nameservers ['1.1.1.1', '1.0.0.1']\n  domain 'test.com'\n  search ['test1.com', 'test2.com']\n  options(\n    'timeout' =\u003e 2\n  )\nend\n```\n\nThe resulting `/etc/resolv.conf` will look like:\n\n```text\n#\n# Generated by Chef Infra for dokken\n# Do NOT modify this file by hand, changes will be overwritten.\n#\n\ndomain test.com\nsearch test1.com test2.com\nnameserver 1.1.1.1\nnameserver 1.0.0.1\noptions timeout:2\n```\n\n## Contributors\n\nThis project exists thanks to all the people who [contribute.](https://opencollective.com/sous-chefs/contributors.svg?width=890\u0026button=false)\n\n### Backers\n\nThank you to all our backers!\n\n![https://opencollective.com/sous-chefs#backers](https://opencollective.com/sous-chefs/backers.svg?width=600\u0026avatarHeight=40)\n\n### Sponsors\n\nSupport this project by becoming a sponsor. Your logo will show up here with a link to your website.\n\n![https://opencollective.com/sous-chefs/sponsor/0/website](https://opencollective.com/sous-chefs/sponsor/0/avatar.svg?avatarHeight=100)\n![https://opencollective.com/sous-chefs/sponsor/1/website](https://opencollective.com/sous-chefs/sponsor/1/avatar.svg?avatarHeight=100)\n![https://opencollective.com/sous-chefs/sponsor/2/website](https://opencollective.com/sous-chefs/sponsor/2/avatar.svg?avatarHeight=100)\n![https://opencollective.com/sous-chefs/sponsor/3/website](https://opencollective.com/sous-chefs/sponsor/3/avatar.svg?avatarHeight=100)\n![https://opencollective.com/sous-chefs/sponsor/4/website](https://opencollective.com/sous-chefs/sponsor/4/avatar.svg?avatarHeight=100)\n![https://opencollective.com/sous-chefs/sponsor/5/website](https://opencollective.com/sous-chefs/sponsor/5/avatar.svg?avatarHeight=100)\n![https://opencollective.com/sous-chefs/sponsor/6/website](https://opencollective.com/sous-chefs/sponsor/6/avatar.svg?avatarHeight=100)\n![https://opencollective.com/sous-chefs/sponsor/7/website](https://opencollective.com/sous-chefs/sponsor/7/avatar.svg?avatarHeight=100)\n![https://opencollective.com/sous-chefs/sponsor/8/website](https://opencollective.com/sous-chefs/sponsor/8/avatar.svg?avatarHeight=100)\n![https://opencollective.com/sous-chefs/sponsor/9/website](https://opencollective.com/sous-chefs/sponsor/9/avatar.svg?avatarHeight=100)\n","funding_links":["https://opencollective.com/sous-chefs"],"categories":["Cookbooks"],"sub_categories":["Network/Security"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsous-chefs%2Fresolver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsous-chefs%2Fresolver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsous-chefs%2Fresolver/lists"}