Fortinet black logo

Creating a DNS zone using the Azure CLI

Creating a DNS zone using the Azure CLI

To create a DNS zone using the Azure CLI:
  1. In the Azure CLI, enter the following commands:

    az network dns zone create -g <MyAzureResourceGroup> -n fsaazure.com \

    --zone-type Private \

    --registration-vnets <myAzureVNet>

    Note

    -n must be followed by fsaazure.com and cannot be replaced with any other names.

  2. Create an FTP DNS record set in the newly created DNS zone.
  3. Enter the following information:

    Name

    ftp

    Type

    A

    Alias record set

    No

    TTL

    300

    TTL unit

    Hours

    IP address

    The static port2 IP address of the network interface you created.

    You must set up the IP address before VM initialization. You can update the IP address after the Azure instance is up.

    Caution
    • Custom VMs use DNS zones to communicate with the Azure FSA license; if you do not use custom VMs, you don't need to set up DNS zones.
    • Create a DNS zone before proceeding otherwise a DNS zone will always fail to be created after allocating any network address space.

Creating a DNS zone using the Azure CLI

To create a DNS zone using the Azure CLI:
  1. In the Azure CLI, enter the following commands:

    az network dns zone create -g <MyAzureResourceGroup> -n fsaazure.com \

    --zone-type Private \

    --registration-vnets <myAzureVNet>

    Note

    -n must be followed by fsaazure.com and cannot be replaced with any other names.

  2. Create an FTP DNS record set in the newly created DNS zone.
  3. Enter the following information:

    Name

    ftp

    Type

    A

    Alias record set

    No

    TTL

    300

    TTL unit

    Hours

    IP address

    The static port2 IP address of the network interface you created.

    You must set up the IP address before VM initialization. You can update the IP address after the Azure instance is up.

    Caution
    • Custom VMs use DNS zones to communicate with the Azure FSA license; if you do not use custom VMs, you don't need to set up DNS zones.
    • Create a DNS zone before proceeding otherwise a DNS zone will always fail to be created after allocating any network address space.