{"id":16921680,"url":"https://github.com/strrl/coredns-plugin-hijacking","last_synced_at":"2026-01-03T14:30:14.951Z","repository":{"id":57642853,"uuid":"437480716","full_name":"STRRL/coredns-plugin-hijacking","owner":"STRRL","description":null,"archived":true,"fork":false,"pushed_at":"2023-03-06T23:11:31.000Z","size":168,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-16T18:08:00.456Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/STRRL.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-12T07:28:11.000Z","updated_at":"2024-09-24T00:10:50.000Z","dependencies_parsed_at":"2024-06-20T02:50:58.130Z","dependency_job_id":"4331a123-104c-4040-9f26-1470ee959d17","html_url":"https://github.com/STRRL/coredns-plugin-hijacking","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STRRL%2Fcoredns-plugin-hijacking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STRRL%2Fcoredns-plugin-hijacking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STRRL%2Fcoredns-plugin-hijacking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STRRL%2Fcoredns-plugin-hijacking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/STRRL","download_url":"https://codeload.github.com/STRRL/coredns-plugin-hijacking/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239731501,"owners_count":19687846,"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":[],"created_at":"2024-10-13T19:52:49.481Z","updated_at":"2026-01-03T14:30:14.879Z","avatar_url":"https://github.com/STRRL.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# coredns-plugin-hijacking\n\nThis project is a plugin for CoreDNS that allows hijacking DNS requests.\n\nThis plugin would response for the `A` DNS query with an wildcard domain, and each record should correspond to the IP for the Kubernertes worker node.\n\n## Usage\n\nWhen I configuring the ingress for the Kubernetes cluster, I found that I should make up a virtual IP for all the node IP.\n\nBut I do not want to configure that vip, so there is a trick solution for that: response watch Kubernetes worker node IP for the ingress domain.\n\nAt first, I have used `dnsmasq` for a while, but it would response all the DNS request for `kubernetes.cluster.example.com` with the static record, which makes my cert-manager issuers not working. So I need tool that could only hijack `A` record, but forward other type (like `TXT`) to the upstream DNS server.\n\n## Config Example\n\n```text\nkubernetes.cluster.example.com:8053 {\n    hijacking {\n        record * A 10.233.233.1\n        record * A 10.233.233.2\n        record * A 10.233.233.3\n        record * A 10.233.233.4\n    }\n    forward . 1.1.1.1\n    log\n    errors\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrrl%2Fcoredns-plugin-hijacking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrrl%2Fcoredns-plugin-hijacking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrrl%2Fcoredns-plugin-hijacking/lists"}