xcore Posted June 17 Share Posted June 17 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? Quote Link to comment
MAM59 Posted June 17 Share Posted June 17 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!!!) Quote Link to comment
xcore Posted June 17 Author Share Posted June 17 Thank you, I put a feature request for /etc/rc.inet1.conf Quote Link to comment
MAM59 Posted June 18 Share Posted June 18 (edited) 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 June 18 by MAM59 Quote Link to comment
xcore Posted June 19 Author Share Posted June 19 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. Quote Link to comment
Recommended Posts
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.