#12123 closed enhancement (fixed)
Adding hostname and hosts file settings to Network prefs
Reported by: | humdinger | Owned by: | pulkomandy |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta2 |
Component: | Preferences/Network | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
This is hrev49245.
The Network preference panel should include the last remaining settings files from /system/settings/network: hostname and hosts. Not sure if both should go into the "DNS" view, as I'm not that versed in all things netwok related...
Maybe, since the hosts entries could become quite a list for some, that should go into its own add-on/view.
Change History (6)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
I wasn't aware of a "hosts" file two years ago, but using it kill online ads introduced me to it. I do enjoy using an alias for my raspberry media player and NAS, too.
Maybe an "Edit hosts file" button to open it in the preferred text editor would be OK. Then the config view wouldn't be so empty with just the "Hostname" to be set, too. :)
The panel should then be renamed to "Host settings".
comment:3 by , 6 years ago
I think many people who would be using the hosts file to set up local domain names would be comfortable enough opening it up from a terminal to make their additions.
For an ad blocking solution, a separate free-standing application could allow management of the hosts file (and eg auto-updating of blacklisted domains), and could also ensure that a suitable local server was configured (to prevent issues where the page hangs waiting for a response that will never come). It seems this could be a better way to handle it than via the network settings preflet?
comment:4 by , 6 years ago
I wasn't suggesting to include a hosts-based ad-blocker in the network prefs, just explaining how I got the idea to open the "hosts" file from there. (I do use hosts + poorman to kill ads, works very well) :)
You may be right, "hosts" is a pretty low level concept...
What could be interesting though, is to have a GUI for adding 'aliases' to certain IPs, as I do for my raspberry and NAS. Those would then be merged into the 'hosts' file. If anyone sees value in that, I can open a new ticket for that.
comment:5 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
You can now change the hostname from Network preferences.
comment:6 by , 4 years ago
Milestone: | Unscheduled → R1/beta2 |
---|
We now have hostname settings. Do we really want to add Hosts settings? That is such an advanced setting that I'm not sure we want to let "regular users" change easily, I'm hesitant to say we should.