Univention Bugzilla – Bug 44378
allow to add aliases to "localhost" entry of /etc/hosts
Last modified: 2020-07-05 06:11:59 CEST
Currently the "localhost" entry in /etc/resolv.conf is hardcoded in the template. For a case like http://help.univention.com/t/wie-oxappsuite-updaten/5424/8 it would be nice to be able to add aliases to the line. Replace 127.0.0.1 line with a UCRV "hosts/static/127.0.0.1" with default to the current setting.
You can always use any of the other 2^24-2 loopback addresses like 127.0.0.2 .. 127.255.255.255
I don't think that works with Apache configurations where a limit to "127.0.0.1" is set.
This issue has been filed against UCS 4.2. UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.
This bug was about /etc/hosts (static mapping of IP to name and vis-versa), not /etc/resolv.conf (configuration for DNS resolver).