[systemd-devel] hostname and dnsdomainname

Kevin Wilson wkevils at gmail.com
Sat Jun 20 00:18:56 PDT 2015


Hi,

I can set a hostname with
hostnamectl set-hostname --static newHostname

I have a DNS domain server in my local LAN. so

when I restart the machine, it gets this full hostname, which can be
displayed by


hostname -f
newHostname.mydomanName

and hostname alone shows
newHostname


Is there some way (for example, restarting some service) by which I
can be assigned
the domain name without performing a full reboot ?


Regards,
Kevin


More information about the systemd-devel mailing list