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 fast support, regular backups, managed updates and prices from just $9 per month.
If you are interested in learning more about our hosting plans, create an account and get started today.
How to manually set UXG DNS via SSH
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.conf
For example:
echo "nameserver 1.1.1.1" > /etc/resolv.conf
HostiFi
HostiFi provides hosting for both Ubiquiti and TP-Link software-defined-networking (SDN) applications, with servers for UniFi, UISP and Omada. We also offer professional networking consulting, with HostiFi Professional Services.
If you run into any issues, send an email to support@hostifi.com or contact us via live chat.