---
title: "Configuring vNIOS for Azure as the Primary DNS Server"
canonical: "https://docs.infoblox.com/space/vniosazure/37519464/Configuring%20vNIOS%20for%20Azure%20as%20the%20Primary%20DNS%20Server"
format: markdown
---
To use vNIOS for Azure as the primary DNS server, complete the following steps in the Microsoft Azure portal:

1. Log in to your Microsoft Azure account.
2. Select the VNet for which you want the vNIOS for Azure instance to serve DNS.
3. Click **Settings** -> **DNS** **servers**.
4. In the *DNS* *servers* panel, complete the following:
  - **DNS** **servers**: Select **Custom** **DNS**.
  - **Primary** **DNS** **server**: Enter the IP address of the vNIOS for Azure instance.  
For detailed information about setting primary DNS servers in Azure, refer to the Microsoft documentation.
5. Click **Save** at the top of the panel.  
*Configuring DNS Server in Azure*> Macro (inline-media-image)