On 08/22/2017 06:45 PM, David C. Rankin wrote:
On 08/22/2017 08:31 AM, James Knott wrote:
Isn't this the way to set the domain name? Sounds good - did you also stop dhcp from changing it?
I have the same problem on a system that uses static configuration, not DHCP. The traditional way is to set the fully-qualified hostname for localhost in /etc/hosts. For example, on my 42.2 laptop, I have the following:
# IP-Address Full-Qualified-Hostname Short-Hostname
127.0.0.1 wizard.3111skyline.com localhost wizard
(note: Short-Hostname can specify any number of aliases for the fully qualified hostname)
It is the same on each distro I use. SuSE used to use a 127.0.0.2 ip as well, but that seems to have gone away.
The correct entry in /etc/hosts insures dnsdomainname picks up the correct domain, e.g.
$ dnsdomainname 3111skyline.com
On my system, 127.0.0.1 just says localhost. I have a DNS for host names. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org