Skip to content
Back to skills

Cis Azure Compute 2.1.17

ASecurity

Ensure private endpoints used to access App Service apps use private DNS zones

  • 3,723 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 3, 2026
securitygoshellazuresecurity

Works with

  • cli

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add CyberStrikeus/CyberStrike --skill cis-azure-compute-2.1.17 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cis Azure Compute 2.1.17?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cis Azure Compute 2.1.17
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cyberstrikeus-cis-azure-compute-2-1-17/badge)](https://www.skillsdirectory.com/skills/cyberstrikeus-cis-azure-compute-2-1-17)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cis-azure-compute-2.1.17
description: "Ensure private endpoints used to access App Service apps use private DNS zones"
category: cis-azure-compute
version: "2.0.0"
author: cyberstrike-official
tags: [cis, azure, app-service, private-endpoint, private-dns, dns, network-security]
cis_id: "2.1.17"
cis_benchmark: "CIS Microsoft Azure Compute Services Benchmark v2.0.0"
tech_stack: [azure]
cwe_ids: []
chains_with: []
prerequisites: []
severity_boost: {}
---

# Ensure private endpoints used to access App Service apps use private DNS zones

## Description

Use private DNS zones to override DNS resolution for a private endpoint. A private DNS zone links a virtual network to an App Service app.

This recommendation assumes application of, and should be applied in conjunction with, the recommendation titled "Ensure private endpoints are used to access App Service apps."

## Rationale

It's important to correctly configure DNS settings to ensure that the fully qualified domain name (FQDN) of the App Service app resolves to the private endpoint IP address.

## Impact

Incorrectly configured DNS settings may result in unintentional exposure of traffic to the public internet.

## Audit Procedure

### Using Azure Portal

1. Go to `App Services`.
2. Click the name of an app.
3. Under `Settings`, click `Networking`.
4. Under `Inbound traffic configuration`, click the link next to `Private endpoints`.
5. Click the name of a private endpoint.
6. Under `Settings`, click `DNS configuration`.
7. Ensure a configuration is displayed with a value for `Private DNS zone`.
8. Repeat steps 1-7 for each app and private endpoint.

### Using Azure CLI

Not specifically documented for this control.

### Using Azure PowerShell

Not specifically documented for this control.

## Expected Result

Each private endpoint should have a private DNS zone configured.

## Remediation

### Using Azure Portal

1. Go to `App Services`.
2. Click the name of an app.
3. Under `Settings`, click `Networking`.
4. Under `Inbound traffic configuration`, click the link next to `Private endpoints`.
5. Click the name of a private endpoint.
6. Under `Settings`, click `DNS configuration`.
7. Click `+ Add configuration`.
8. Select a `Subscription`, `Private DNS zone`, and provide a `DNS zone group` and `Configuration name`.
9. Click `Add`.
10. Repeat steps 1-9 for each app and private endpoint requiring remediation.

### Using Azure CLI

Not specifically documented for this control.

### Using Azure PowerShell

Not specifically documented for this control.

## Default Value

Not configured by default.

## References

1. https://learn.microsoft.com/en-us/azure/app-service/overview-private-endpoint#dns
2. https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-dns

## Profile

Level 2 | Manual

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.