Unifi DNS setup with backup

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.


Occasional Visitor
Hi all,

A number of people on the forum were very helpful in providing equipment recommendations for my home setup.
In the end I went with a full unifi setup + a RaspberryPi 4 which is hosting HomeAssistant, AdGuard as well as the Unifi Controller.

The setup works very well and AdGuard via the RPi is achieved by setting the RPi IP address as the DNS address within the unifi WAN configuration.

The only small issue I have is that when the RPi crashes and requires a reboot (maybe once every few weeks) if cause all internet access to fail as the DNS cannot be reached.

Is there a way, within the Unifi config, to bypass the RPi as DNS if the connection is not available? I know there is an option to set a "DNS 2" but not sure what IP you would put in here (maybe the IP of the router?) and how it would know when to fall back.

Any help much appreciated.

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!