
Sometimes you might need to log into a UXG via SSH to manually set the DNS server. This might be because of a misconfiguration from the Web GUI or something similar.
If you want fast and reliable UniFi hosting, check out HostiFi with expert support, regular backups, managed updates and prices from $19 per month.
To learn more about our hosting plans, create an account or book a free demo to get started.
To do this, first log into your UXG via SSH and run the following command, replacing DNS_SERVER with the IP address you would like to use.
echo "nameserver DNSERVER" > /etc/resolv.confFor example:
echo "nameserver 1.1.1.1" > /etc/resolv.confNo spam. Unsubscribe anytime.
Newsletter Subscriber
Newsletter Subscriber
Newsletter Subscriber