On Mon 16 Oct 2017 10:44:02 AM CDT, islem wrote:

Hi,

Well I tried to uncheck assigning the hostname to localhost, but I got
ping linux-dnff to fail. So, I checked it again.

My local host is conncted to the server, using DNS.

How do I setup a non-dynamically-generated-looking hostname ? jm74690
is the name of computer and 150.204.20.26 is the public ip address of
the computer. What is the problem of having linux-dnff as the host
name. It is not causing any problem so far.

Regards,
islem


Hi
Should really look at using your DNS server, but would need to use a
FQDN rather than host name.

So for your 127.0.0.2 add a period (a dot) after the first local
hostname;
Code:
127.0.0.2 linux-dnff. linux-dnff
Look at your /etc/nsswitch.conf file as well maybe your wanting to look
for the netbios wins etc name? By default the localhost will look
at /etc/hosts first then your DNS (you should not need 127.0.0.1 in DNS
either /etc/resolv.conf).


--
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.2|GNOME 3.20.2|4.4.87-18.29-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below... Thanks!