Moving a Resolver Between Compartments
You can move a resolver from one compartment to another.
See Private DNS resolvers for more information and a feature overview.
See Managing Compartments for information about compartments and access control.
You can only edit the resolver name using the Console. - On the Virtual Cloud Networks list page, select the VCN that you want to work with. If you need help finding the list page or the VCN, see Listing VCNs.
- Select the name of the DNS resolver for the VCN. The Private Resolver Details screen appears.
- Select Actions, then select Move resource.
- Select a destination compartment from the list.
- Select Move resource.
Use the resolver change-compartment command and required parameters to move a resolver from one compartment to another:
oci dns resolver change-compartment --resolver-id resolver_OCID --compartment-id compartment_OCID... [OPTIONS]For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
Run the ChangeResolverCompartment operation to move a resolver from one compartment to another.