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.

Is there a way to populate "search" option in /etc/resolv.conf?

Featured Replies

I looked quickly thru /etc/rc.inet1.conf, and it does not include "search" at all.

On the other hand, it seems like /etc/resolv.conf is staying more or less intact in-between upgrades/IP address changes.

 

Question: is there a way to specify search domain list from gui, or I just edit /etc/resolv.conf and hope it does not change?

  • Community Expert

It will be reset on the next reboot.

To make permanent changes, you need to add some script commands to /boot/config/go (but be cautious, dont break it else you would loose access to the gui!!!)

 

  • Author

Thank you, I put a feature request for /etc/rc.inet1.conf

 

  • Community Expert
20 hours ago, xcore said:

Thank you, I put a feature request for /etc/rc.inet1.conf

No need for a feature request, its jus a 1liner you can do yourself. The search option is only needed if your site runs on more than one domain. The own domain is default as long as "search" is absent.

Like (example):

echo "search xyz.com,mydomain.com,anything.org" >> /etc/resolv.conf

the go file is executed after everything is up and running (without the gui, that is started by the go file), so rc.inet1.conf has already run before.

(note ">>", not just ">" because you want to append to resolv.conf, not overwrite it totally)

 

Edited by MAM59

  • Author

The system is supposed to work over reboots and updates with no unintended configuration changes, that's the reason of the feature request.

 

Is there a way to specify domainname in the Unraid configuration? Because if not, I'm back to square 1, and if it's possible, it's clearly my bad for not paying attention. Please point me to the place where it's configured in UI in the latter case.

 

Please don't suggest putting FQDN into "settings->Identification->Server name" unless it's parsed and only host part ends up in /etc/hostname.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.