How to configure UniFi DNS settings
Published onby Iron (edited on )
#how-toConfiguring DNS settings in a UniFi network is a crucial step to ensure a reliable network setup. The Domain Name System (DNS) translates human-readable domain names into IP addresses that computers use to communicate with each other. Proper DNS configuration can lead to faster internet browsing and more reliable network performance.
Table of Contents
Understanding UniFi DNS Settings
Before diving into the configuration steps, it's important to understand where DNS settings are applied in a UniFi network:
- UniFi Network Controller: Manages overall network settings, including DNS.
- USG (UniFi Security Gateway) or UDM (UniFi Dream Machine): Acts as the primary router and gateway for your network, where DNS settings can be configured.
Step-by-Step Guide to Configure DNS Settings
Accessing UniFi Controller
-
Login to UniFi Controller: Open your browser and log in to your UniFi Controller. This can be hosted locally or, as we do at UniHosted, in the cloud for easier and more robust management.
-
Navigate to Settings: In the UniFi Controller dashboard, click on 'Settings'.
Configuring DNS
-
Networks Section: Click on 'Networks'. This section allows you to manage the various networks (VLANs) you have set up.
-
Edit WAN Settings: Select the WAN network (usually named 'WAN') and click on 'Edit'.
-
DNS Settings: In the WAN settings, you will find the DNS configuration section.
-
Specify DNS Servers: Here, you can specify the DNS servers you want to use. You can use public DNS servers like Google (8.8.8.8, 8.8.4.4), Cloudflare (1.1.1.1, 1.0.0.1), or any other DNS service of your choice.
-
Apply Changes: After entering your preferred DNS servers, click on 'Save' to apply the changes.
Additional Considerations
- DHCP DNS Option: If you're using the UniFi Security Gateway (USG) or UniFi Dream Machine (UDM) as your DHCP server, ensure that it's configured to provide these DNS servers to the clients on your network.
- DNS Filtering or Security Services: If you're using DNS-based filtering or security services, ensure that the DNS settings align with these services' requirements.
Conclusion
Configuring DNS settings correctly is a vital part of your network management. A properly set up DNS leads to a more efficient and secure network.
For UniHosted customers, we manage these settings to optimize network performance and security, ensuring your UniFi network operates seamlessly. If you would like me to personally walk you through UniHosted, you can schedule a call with me here.
We host UniFi Controllers in the Cloud
Are you ready to take your UniFi Network to the next level? Deploy a UniFi Cloud Controller in minutes and manage your network from anywhere.
Free tier available
Get the best support
Join 1660+ customers
No credit card required