diff --git a/chapter07/clock.xml b/chapter07/clock.xml index 455b75a8f..558693360 100644 --- a/chapter07/clock.xml +++ b/chapter07/clock.xml @@ -82,12 +82,14 @@ EOF The daemon is not intended as a replacement for the well established NTP daemon, but as a client only implementation of the SNTP protocol which can be used for less advanced - tasks and on a resource limited systems. + tasks and on resource limited systems. - To enable the systemd-timesyncd daemon, - issue the following command: + Starting with systemd version 216, the + systemd-timesyncd daemon is enabled by + default. If you want to disable it, issue the following + command: -systemctl enable systemd-timesyncd +systemctl disable systemd-timesyncd The /etc/systemd/timesyncd.conf file can be used to change the NTP servers that diff --git a/chapter07/network.xml b/chapter07/network.xml index 7caefb683..141715e8b 100644 --- a/chapter07/network.xml +++ b/chapter07/network.xml @@ -101,19 +101,10 @@ EOF from the ISP or network administrator, into /etc/resolv.conf. - When using systemd-networkd for network - configuration, another daemon, systemd-resolved, - is responsible for creating the /etc/resolv.conf - file. It is, however, placed in a non-standard location which is - writable since early boot, so it is necessary to create a symlink - to it by running the following command: - -ln -sfv /run/systemd/resolve/resolv.conf /etc/resolv.conf - If static /etc/resolv.conf is desired, create it by running the following command: -cat > /etc/resolv.conf << "EOF" +cat > /etc/resolv.conf << "EOF" # Begin /etc/resolv.conf domain <Your Domain Name> @@ -136,6 +127,19 @@ EOF The Google Public IPv4 DNS addresses are 8.8.8.8 and 8.8.4.4. + When using systemd-networkd for network + configuration, another daemon, systemd-resolved, + is responsible for creating the /etc/resolv.conf + file. It is, however, placed in a non-standard location which is + writable since early boot, so it is necessary to create a symlink + to it by running the following command: + +ln -sfv /run/systemd/resolve/resolv.conf /etc/resolv.conf + + This is required if you are specifying DNS entries in .network files or using the built in + DHCP client to obtain DNS addresses. +