Creating a Resolver Endpoint
Create a resolver endpoint that can used for forwarding and listening to DNS queries to or from another private DNS system such as a peered VCN or an on-premises network.
When you create a VCN and select the Use DNS hostnames, this choice creates a dedicated private DNS resolver and a default private view with system-managed zones.
See Private DNS Resolvers and Resolver Endpoints for more information about resolvers and endpoints in the VCN.
See Managing Zones for more information about managing private zones and views.
Security Attributes
Apply security attributes to control access for your resolver endpoint through the Zero Trust Packet Routing (ZPR) service. See Zero Trust Packet Routing for more information. You can apply up to three security attributes for a resolver endpoint.
Select Use ZPR security attributes to display the security attribute settings. Enter the following information for each security attribute:
- Namespace: Select a security attribute namespace from the list. This list contains those security attribute namespaces already configured. For more information, see Creating a Security Attribute Namespace.
- Key: Select a key from the list.
- Value: Select a value for the corresponding key from the list.
Select Add security attribute again to add another attribute, up to a maximum of three.
Network Security Groups
You can add the resolver endpoint to a network security group (NSG). For more information, see Network Security Groups. You can add an endpoint to a maximum of five NSGs.
Select Use network security groups to control traffic to add the resolver endpoint to a network security group (NSG).
Enter the following information:
- Compartment: Select the compartment that contains the NSG you want from the list.
- Network security group: Select the NSG you want from the list.
Select Add network security group to add the resolver endpoint to another NSG.
Tags
If you're not sure whether to apply tags, skip this option or ask an administrator. You can apply tags later.
Create the Resource
Select Create resolver endpoint. The new endpoint appears in the resolver endpoint list.
Use the resolver-endpoint create command and required parameters to create a resolver endpoint:
oci dns resolver-endpoint create --is-forwarding [boolean] --is-listening [boolean] --name endpoint_name --resolver-id resolver_OCID --subnet-id subnet_OCID ... [OPTIONS]For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
Run the CreateResolverEndpoint operation to create a resolver endpoint.