I have some Linux servers (RHEL 6.3 and 5.4) under one domain (MS Windows server 2008R2) and every thing was working fine, but we decided to change the domain from olddomain.com to newdomain.com, now the new domain under (Windows server 2012), I changed the domain from the old one to the new one in all Linux servers.
The result of $dnsdomainname command is newdomain.com on all Linux servers. when I ping any Linux server from it give me Lin_name.newdomain.com but the problem I am facing now the log inside log rotate and forward still recognize the old domain. it give me like the following:
Nov 19 10.00.09 Lin_name.olddomain.com Lin_name [message like someone logged in or out start proccess ..etc]
/etc/sysconfig/network– ewwhite Nov 20 '14 at 16:08pingshows the correct domain name just means that name resolution is working, nothing more. The fact thatdnsdomainnameshows the right information, but syslog doesn't makes me think that syslog (or rsyslog, or syslog-ng, or whatever logger your systems are using) didn't restart properly after the name change. – Hunter Eidson Dec 09 '14 at 14:45