Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Update DNS

Featured Replies

Evening all,

 

Just a quick question for those who know.

 

Does anyone know how to update the DNS via ssh?

 

Im not that crash hot with my linux commands... my knowledge doesnt go past ifconfig. :-)

 

But if there is a way to flush and update the DNS via ssh would someone be able to post up a idiots guide on how to do so.

 

Appreciated.

 

DNS settings are located in /etc/resolv.conf

 

root@Tower:~# cat /etc/resolv.conf
# Generated entries:
nameserver 172.19.10.1
root@Tower:~# echo "nameserver 8.8.8.8" > /etc/resolv.conf
root@Tower:~# cat /etc/resolv.conf
nameserver 8.8.8.8
root@Tower:~# echo "nameserver 172.19.40.1" > /etc/resolv.conf
root@Tower:~# cat /etc/resolv.conf
nameserver 172.19.40.1
root@Tower:~#

 

Or you can simply edit with vi or nano

Edited by Tuftuf

  • Author
1 minute ago, Tuftuf said:

DNS settings are located in /etc/resolv.conf

 

root@Tower:~# cat /etc/resolv.conf
# Generated entries:
nameserver 172.19.10.1
root@Tower:~# echo "nameserver 8.8.8.8" > /etc/resolv.conf
root@Tower:~# cat /etc/resolv.conf
nameserver 8.8.8.8
root@Tower:~# echo "nameserver 172.19.40.1" > /etc/resolv.conf
root@Tower:~# cat /etc/resolv.conf
nameserver 172.19.40.1
root@Tower:~#

Thank You.

 

Do you happen to know if there is a way to update the gateway without doing a reboot?

From memory, you can do that within the UI but will need to stop the array I believe.

 

Settings > Network Settings

 

The CLI commands will partly depend on what your current routing table looks like. Is it a requirement for you to do this from commandline?

  • Author

Im working on a project a the moment which short story requires me to update the gateway without taking the VM offline.

 

 

  • Author

I’m wondering if “route add default gw 192.168.1.254 eth0” will work


Sent from my iPhone using Tapatalk

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.