Configure external DNS servers dynamically from Kubernetes resources
This report summarizes scanner evidence for kubernetes-sigs/external-dns, a Go project with 9,145 GitHub stars. SynthScan examined 182,601 lines of code across 596 source files, recording 112 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 0.9 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 96 finding(s).
Are imports declared and package/API names verified? 10 finding(s).
Are wrappers, guards, and repeated structures necessary? 7 finding(s).
Which changes need focused human review? 112 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 112 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | apis/v1alpha1/dnsrecord.go | 21 | COMMENT | |
| LOW | apis/v1alpha1/dnsrecord.go | 81 | // +k8s:openapi-gen=true | COMMENT |
| LOW | plan/plan.go | 81 | // DNSName | Current record | Desired Records | | COMMENT |
| LOW | plan/plan.go | 101 | } | COMMENT |
| LOW | source/kong_tcpingress.go | 41 | "sigs.k8s.io/external-dns/source/informers" | COMMENT |
| LOW | source/gateway.go | 101 | // +externaldns:source:provider-specific=true | COMMENT |
| LOW | source/gateway.go | 121 | // +externaldns:source:provider-specific=true | COMMENT |
| LOW | source/service.go | 61 | // matched services' entrypoints it will return a corresponding | COMMENT |
| LOW | source/openshift_route.go | 41 | // ocpRouteSource is an implementation of Source for OpenShift Route objects. | COMMENT |
| LOW | source/store.go | 61 | } | COMMENT |
| LOW | source/store.go | 81 | // - RESTConfig: Instrumented REST config for creating custom clients | COMMENT |
| LOW | source/store.go | 241 | // Supported Source Types: | COMMENT |
| LOW | source/store.go | 321 | } | COMMENT |
| LOW | source/store.go | 341 | // 7. combineFQDNAndAnnotation (bool) - Whether to combine FQDN template with annotations | COMMENT |
| LOW | source/pod.go | 41 | COMMENT | |
| LOW | source/unstructured.go | 41 | "sigs.k8s.io/external-dns/source/template" | COMMENT |
| LOW | source/empty.go | 21 | COMMENT | |
| LOW | source/ingress.go | 41 | ) | COMMENT |
| LOW | source/contour_httpproxy.go | 41 | // The HTTPProxy implementation uses the spec.virtualHost.fqdn value for the hostname. | COMMENT |
| LOW | source/crd.go | 41 | // crdSource is an implementation of Source that provides endpoints by listing | COMMENT |
| LOW | source/skipper_routegroup.go | 41 | // +externaldns:source:category=Ingress Controllers | COMMENT |
| LOW | source/gateway_hostname.go | 1 | // Copyright 2011 The Go Authors. All rights reserved. | COMMENT |
| LOW | source/ambassador_host.go | 61 | // The IngressRoute implementation uses the spec.virtualHost.fqdn value for the hostname. | COMMENT |
| LOW | source/istio_gateway.go | 41 | "sigs.k8s.io/external-dns/pkg/events" | COMMENT |
| LOW | source/informers/transformers.go | 81 | o.keepAnnotationPrefixes = append(o.keepAnnotationPrefixes, prefixes...) | COMMENT |
| LOW | source/informers/indexers.go | 81 | } | COMMENT |
| LOW | source/informers/indexers.go | 101 | // err := IndexerWithOptions[*v1.Pod]( | COMMENT |
| LOW | source/template/engine.go | 41 | // Parsed from --fqdn-template. | COMMENT |
| LOW | tests/integration/scenarios/tests.yaml | 1 | # Integration Test Scenarios | COMMENT |
| LOW | internal/gen/docs/sources/main_test.go | 101 | COMMENT | |
| LOW | internal/gen/docs/sources/main_test.go | 161 | func TestParseFile_MultipleSourcesInOneFile(t *testing.T) { | COMMENT |
| LOW | internal/testutils/metrics.go | 21 | "sort" | COMMENT |
| LOW | internal/testutils/endpoint.go | 121 | // Usage example: | COMMENT |
| LOW | internal/testutils/log/log.go | 41 | COMMENT | |
| LOW | provider/cloudflare/cloudflare_regional_test.go | 1281 | // Region key should be present with expected value | COMMENT |
| LOW | provider/godaddy/client.go | 281 | // | COMMENT |
| LOW | provider/godaddy/client.go | 301 | // - full serialized request body | COMMENT |
| LOW | provider/aws/aws.go | 41 | ) | COMMENT |
| LOW | docs/snippets/contributing/collect-extdns-info.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | docs/snippets/contributing/collect-resources.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | docs/contributing/sources-and-providers.md | 41 | * `FakeSource`: returns a random list of Endpoints for the purpose of testing providers without having access to a Kuber | COMMENT |
| LOW | docs/scripts/requirements.txt | 481 | # mkdocs-get-deps | COMMENT |
| LOW | docs/tutorials/gke.md | 401 | # # uncomment below if static credentials are used | COMMENT |
| LOW | docs/tutorials/scaleway.md | 101 | - --domain-filter=example.com # (optional) limit to only example.com domains; change to match the zone created a | COMMENT |
| LOW | endpoint/endpoint.go | 101 | // The bounds must stay wide enough for every endpoint external-dns can build: a | COMMENT |
| LOW | endpoint/endpoint.go | 281 | } | COMMENT |
| LOW | endpoint/endpoint.go | 301 | // DNSName is bounded at 254, one over the RFC 1035 §2.3.4 limit of 253, because the | COMMENT |
| LOW | endpoint/endpoint.go | 321 | // meaningful when --default-targets is configured. | COMMENT |
| LOW | scripts/build-fips-image.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/file-hygiene.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/install-tools.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/generate-crd.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/generate-crd.sh | 21 | ## What this script does: | COMMENT |
| LOW | scripts/helm-tools.sh | 1 | #!/bin/bash | COMMENT |
| LOW | scripts/chart-release.sh | 1 | #!/bin/bash | COMMENT |
| LOW | scripts/install-ko.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/aws-cleanup-legacy-txt-records.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | scripts/aws-cleanup-legacy-txt-records.py | 21 | # The script performs the following steps: | COMMENT |
| LOW | scripts/aws-cleanup-legacy-txt-records.py | 41 | # WARNING: run this script at your own RISK. This will delete all the TXT records that do contain certain string. | COMMENT |
| LOW | scripts/update_route53_k8s_txt_owner.py | 1 | #!/usr/bin/env python | COMMENT |
| 3 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | docs/tutorials/godaddy.md | 35 | - --godaddy-api-key=YOUR_API_KEY | CODE |
| HIGH | docs/tutorials/godaddy.md | 39 | Be sure to replace YOUR_API_KEY and YOUR_API_SECRET with your actual GoDaddy API key and GoDaddy API secret. | CODE |
| HIGH | docs/tutorials/cloudflare.md | 99 | kubectl create secret generic cloudflare-api-key --from-literal=apiKey=YOUR_API_KEY --from-literal=email=YOUR_CLOUDFLARE | CODE |
| HIGH | docs/tutorials/cloudflare.md | 108 | Ensure to replace YOUR_API_KEY with your actual CloudFlare API key and YOUR_CLOUDFLARE_EMAIL with the email associated w | CODE |
| HIGH | docs/tutorials/myra.md | 51 | --from-literal=myrasec-api-key=YOUR_API_KEY \ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | provider/coredns/coredns_test.go | 1658 | // Step 1: Create a PTR record pointing to "old-host" | COMMENT |
| LOW | provider/coredns/coredns_test.go | 1669 | // Step 2: Update target to "new-host" | COMMENT |
| LOW | docs/advanced/import-records.md | 98 | ## Step 1: Create Corresponding TXT Records | COMMENT |
| LOW | docs/advanced/import-records.md | 116 | ## Step 2: Verify ExternalDNS Behavior | COMMENT |
| LOW | docs/tutorials/ionoscloud.md | 36 | ### Step 1: Create a Kubernetes Secret for the IONOS API Token | COMMENT |
| LOW | docs/tutorials/ionoscloud.md | 46 | ### Step 2: Configure ExternalDNS | COMMENT |
| LOW | docs/tutorials/ionoscloud.md | 81 | ### Step 3: Install ExternalDNS Using Helm | COMMENT |
| LOW | docs/tutorials/ionoscloud.md | 92 | ### Step 1: Create a Deployment | COMMENT |
| LOW | docs/tutorials/ionoscloud.md | 127 | ### Step 2: Create a Service | COMMENT |
| LOW | docs/tutorials/ionoscloud.md | 158 | ### Step 3: Create an Ingress | COMMENT |
| LOW⚡ | scripts/generate-crd.sh | 46 | # Step 1: Generate deepcopy methods for endpoint types | COMMENT |
| LOW⚡ | scripts/generate-crd.sh | 56 | # Step 2: Generate CRD manifests for API types | COMMENT |
| LOW | scripts/generate-crd.sh | 68 | # Step 3: Copy CRDs to Helm chart with filtered annotations | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | source/informers/indexers.go | 100 | // Example usage: | COMMENT |
| LOW | internal/testutils/metrics.go | 33 | // Example usage: | COMMENT |
| LOW | internal/testutils/endpoint.go | 121 | // Usage example: | COMMENT |
| LOW | docs/snippets/contributing/collect-extdns-info.sh | 4 | # Usage: | COMMENT |
| LOW | docs/snippets/contributing/collect-resources.sh | 4 | # Usage: | COMMENT |
| LOW | endpoint/domain_filter.go | 100 | // Example usage: | COMMENT |
| LOW | endpoint/endpoint.go | 551 | // Example usage: | COMMENT |
| LOW | scripts/build-fips-image.sh | 21 | # Usage: | COMMENT |
| LOW | scripts/generate-crd.sh | 26 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | source/pod_fqdn_test.go | 68 | // ── fqdn-target-template cases ──────────────────────────────────────── | COMMENT |
| MEDIUM | source/pod_fqdn_test.go | 131 | // ── fqdn-template cases ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | source/service_fqdn_test.go | 65 | // ── fqdn-target-template cases ──────────────────────────────────────── | COMMENT |
| MEDIUM | source/service_fqdn_test.go | 128 | // ── fqdn-template cases ─────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | provider/coredns/coredns_test.go | 1658 | // Step 1: Create a PTR record pointing to "old-host" | COMMENT |
| LOW | provider/coredns/coredns_test.go | 1669 | // Step 2: Update target to "new-host" | COMMENT |
| LOW⚡ | scripts/generate-crd.sh | 46 | # Step 1: Generate deepcopy methods for endpoint types | COMMENT |
| LOW⚡ | scripts/generate-crd.sh | 56 | # Step 2: Generate CRD manifests for API types | COMMENT |
| LOW | scripts/generate-crd.sh | 68 | # Step 3: Copy CRDs to Helm chart with filtered annotations | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | provider/cloudflare/cloudflare_test.go | 1004 | {Key: cfAPIEmailEnvKey, Value: "test@test.com"}, | CODE |
| LOW | provider/cloudflare/cloudflare_test.go | 1891 | cfAPIEmailEnvKey: "test@test.com", | CODE |
| LOW | endpoint/crypto_test.go | 32 | plaintext := "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the indus | CODE |
| LOW | pkg/events/controller_test.go | 71 | token: fake-token | CODE |
| LOW | pkg/client/config_test.go | 288 | token: fake-token | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | docs/tutorials/aws.md | 735 | secretName: external-dns # In this example, the secret will have the data stored in a key named `my_credentials` | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | provider/scaleway/scaleway_test.go | 652 | // feel free to modify if you have a better idea | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/aws-cleanup-legacy-txt-records.py | 180 | except Exception as e: | CODE |
| MEDIUM | scripts/aws-cleanup-legacy-txt-records.py | 181 | print(f"An error occurred: {e}") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/e2e-test.sh | 31 | # Set trap to cleanup on script exit | COMMENT |
| LOW | .github/workflows/validate-crd.yml | 43 | # Check if there are any changes to generated files | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/aws-cleanup-legacy-txt-records.py | 140 | def orphaned_alias_cname_records(all_txt: list[Record], contain: str) -> list[Record]: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/aws-cleanup-legacy-txt-records.py | 110 | CODE |