1**To create a private DNS namespace**
2
3The following ``create-private-dns-namespace`` example creates a private DNS namespace. ::
4
5    aws servicediscovery create-private-dns-namespace \
6        --name example.com \
7        --vpc vpc-1c56417b
8
9Output::
10
11    {
12        "OperationId": "gv4g5meo7ndmeh4fqskygvk23d2fijwa-k9302yzd"
13    }
14
15To confirm that the operation succeeded, you can run ``get-operation``. For more information, see `get-operation <https://docs.aws.amazon.com/cli/latest/reference/servicediscovery/get-operation.html>`__ .
16
17For more information, see `Creating namespaces <https://docs.aws.amazon.com/cloud-map/latest/dg/creating-namespaces.html>`__ in the *AWS Cloud Map Developer Guide*.
18
19