Skip to main content
Version: 0.4.1

KQ122 — a private endpoint has a private DNS record

Lint · private-endpoint-has-private-dns · Infrastructure

A provider-run service reached in a network by a private endpoint has a private DNS record pointing at it, unless its provider resolves the name itself.

A provider-run service of a product word is in <network>, reached there by a private endpoint, and no dns record in a private zone points at it, so its name doesn't resolve to the endpoint. Add the record, such as dns kv "kv-prd.vault.azure.net" : azure.private-dns in spoke-prd -> kv-prd environment PRD. A product whose provider resolves the name itself, or that is placed in the network rather than reached by an endpoint, is not reported.

Examples​

A key vault reached in spoke-prd by a private endpoint, with no private DNS record pointing at it, raises KQ122:

vault kv-orders "Orders vault" : azure.key-vault in spoke-prd environment PRD x1

With a record in a private zone in that network pointing at it, it raises nothing:

vault kv-orders "Orders vault" : azure.key-vault in spoke-prd environment PRD x1 dns kv-dns "kv-orders.vault.azure.net" : azure.private-dns in spoke-prd -> kv-orders environment PRD

© 2026 Extenza Works. All rights reserved.