On this site there is no serveur acting as dns server.
It is a local network and the dns request are process thru the DSL modem router.
The network configuration is the same for years.
This DSL modem router is configured to give a preselected ip adress for some hardware ( via mac address ) :
For the linux server : 192.168.xxx.yyy
For the B/W laser printer : 192.168.xxx.yyy
For the Colour laser printer : 192.168.xxx.yyy
The three other notepads get their address randomly.
/etc/resolv.conf :
LINUX-TEST-XYZ:~ # cat /etc/resolv.conf
### /etc/resolv.conf file autogenerated by netconfig!
#
# Before you change this file manually, consider to define the
# static DNS configuration using the following variables in the
# /etc/sysconfig/network/config file:
# NETCONFIG_DNS_STATIC_SEARCHLIST
# NETCONFIG_DNS_STATIC_SERVERS
# NETCONFIG_DNS_FORWARDER
# or disable DNS configuration updates via netconfig by setting:
# NETCONFIG_DNS_POLICY=''
#
# See also the netconfig(8) manual page and other documentation.
#
# Note: Manual change of this file disables netconfig too, but
# may get lost when this file contains comments or empty lines
# only, the netconfig settings are same with settings in this
# file and in case of a "netconfig update -f" call.
#
### Please remove (at least) this line when you modify the file!
search lan
nameserver 192.168.2.200
LINUX-TEST-XYZ:~ #
But I believe this is where you are mistaking… the DSL router does provide DNS and I think it should provide you reverse DNS too - did you play with its settings in the meantime? (before / after switching to 12.3).
You can try to boot a live-cd / dvd of 12.1 and see if this persists?
I would rather look deeper in the settings of the DSL router and see if there is a problem with it.
You say that you did “reserve” (thats the term for preselecting) few IP’s for those 3 Ethernets and the other connections get random IP’s from the pool. Check if there is a mistake there in the DHCP server and also “purge” the cache of the DHCP server…
PS
You seem not to pay attention to rather important things, e.g.:
for /etc/hosts file you put the short name in the place where the Fully Qualified Domain Name should be (as written in the #comments above) and then you say “doesn’t work”, well it shouldn’t because it is not in the required order… IIRC in that file you use the TAB for separating the entries
you should definitely decide on WHO names the machines, i.e. your DHCP server (the DSL router) or you / the machine itself, hence check the names on the router and tick or un-tick “change name by DHCP”… but be sure you have same thing on the “reserved” IP/name as you put in YaST.
Ok I redo the test just to be sure (just for me).
I will give news as soon as possible.
I think that my dsl router ( I would re read the doc ) is unable to name my server machine. It can just send/fix reserved IP address for the corresponding mac address. So the machine will name itself and I will un-tik “change name by DHCP”.
It was working before I upgrade to 12.3. I guess I had made a careless mistake during the re-installation process.
5-
#
# FAIL ! ! !
# change hostname by dhcp is uncheck
# hostname : LINUX-TEST-**123** / Domain name : **localdomain**
# in Konsole hostname is LINUX-TEST-123
# hostname -f --> hostname: Name or service not known
# hostname -s --> hostname: Name or service not known
# -------------
Code:
192.168.130.100 LINUX-TEST-**XYZ**.localdomain LINUX-TEST-**XYZ**
127.0.0.1 localhost.localdomain localhost
IP-Address, Full-Qualified-Hostname, Short-Hostname order is correct.