{"id":34163865,"url":"https://github.com/polymorpher/coredns-redis","last_synced_at":"2025-12-15T09:30:34.518Z","repository":{"id":65471003,"uuid":"592255634","full_name":"polymorpher/coredns-redis","owner":"polymorpher","description":"redis plugin for coredns","archived":false,"fork":true,"pushed_at":"2023-02-08T07:15:15.000Z","size":2691,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T17:36:11.245Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"arvancloud/redis","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/polymorpher.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}},"created_at":"2023-01-23T10:27:29.000Z","updated_at":"2023-01-23T10:31:38.000Z","dependencies_parsed_at":"2023-02-12T22:16:50.356Z","dependency_job_id":null,"html_url":"https://github.com/polymorpher/coredns-redis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/polymorpher/coredns-redis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polymorpher%2Fcoredns-redis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polymorpher%2Fcoredns-redis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polymorpher%2Fcoredns-redis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polymorpher%2Fcoredns-redis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/polymorpher","download_url":"https://codeload.github.com/polymorpher/coredns-redis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polymorpher%2Fcoredns-redis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27748532,"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","status":"online","status_checked_at":"2025-12-15T02:00:09.782Z","response_time":96,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-12-15T09:30:13.214Z","updated_at":"2025-12-15T09:30:34.512Z","avatar_url":"https://github.com/polymorpher.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# coredns-redis\n\n*coredns-redis* uses [redis](https://redis.io/) as a backend for [coredns](https://coredns.io)  \nthis plugin should be located right next to *etcd* in *plugins.cfg*:  \n\n```\n...\nsecondary:secondary\netcd:etcd\nredis:github.com/rverst/coredns-redis/plugin\nloop:loop\nforward:forward\ngrpc:grpc\n...\n```\n\n## configuration\n\n```\n{\n  redis {\n    address HOST:PORT\n    username USER\n    password PASSWORD\n    connect_timeout TIME_MS\n    read_timeout TIME_MS\n    ttl TIME_S\n    prefix PREFIX\n    suffix SUFFIX\n  }\n}\n```\n\n- `address` is the address of the redis backend in form of *host:port* (defaults to `localhost:6379`)\n- `username` is the username for connectiong to the redis backend (optional)\n- `password` is the redis password (optional)\n- `connect_timeout` maximum time to establish a connection to the redis backend (in ms, optional)\n- `read_timeout` maximum time to wait for the redis backend to respond (in ms, optional)\n- `ttl` default ttl for dns records which have no ttl set (in seconds, default 3600)\n- `prefix` a prefix added to all redis keys\n- `suffix` a suffix added to all redis keys\n\n### example\n\ncorefile:\n```\n{\n  .{\n    redis {\n      address localhost:6379\n      username redis_user\n      password super_secret\n      connect_timeout 2000\n      read_timeout 2000\n      ttl 300\n      prefix DNS_\n      suffix _DNS\n    }\n  }\n}\n```\n\n## reverse zones\n\nnot yet supported\n\n\n## proxy\n\nnot yet supported\n\n## API\n\nPackage `redis` provides functions to manipulate (get, add, edit, delete) the data in the redis backend.\nThe DNS zones are saved as hashmaps with the zone-name as key in the backend.\nWhile the data format is JSON at the moment, but I am considering switching to \n*protobuf* for performance reasons later. \n\n## credits\n\nthis plugin started as a fork of [github.com/arvancloud/redis](https://github.com/arvancloud/redis).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolymorpher%2Fcoredns-redis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolymorpher%2Fcoredns-redis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolymorpher%2Fcoredns-redis/lists"}