Skip to content

Commit 0629976

Browse files
committed
DISTRO_PORTING: document that distros may/should change fallback DNS as well as fallback NTP if they wish
The DNS and NTP fallback server situation is pretty similar, and downstream distros might want to change both to whatever they need, hence mention them both.
1 parent 003c887 commit 0629976

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

DISTRO_PORTING

+16-6
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ HOWTO:
1515
-D setfont-path=
1616
-D tty-gid=
1717
-D ntp-servers=
18+
-D dns-servers=
1819
-D support-url=
1920

2021
2) Try it out. Play around (as an ordinary user) with
@@ -24,11 +25,10 @@ HOWTO:
2425
This will also inform you about ordering loops and suchlike.
2526

2627
NTP POOL:
27-
28-
By default, timesyncd uses the Google Public NTP servers
29-
time[1-4].google.com. They serve time that uses a leap second
30-
smear, and can be up to .5s off from servers that use stepped
31-
leap seconds.
28+
By default, systemd-timesyncd uses the Google Public NTP servers
29+
time[1-4].google.com, if no other NTP configuration is available. They
30+
serve time that uses a leap second smear, and can be up to .5s off from
31+
servers that use stepped leap seconds.
3232

3333
https://developers.google.com/time/smear
3434

@@ -39,6 +39,17 @@ NTP POOL:
3939

4040
http://www.pool.ntp.org/en/vendors.html
4141

42+
Use -D ntp-servers= to direct systemd-timesyncd to different fallback
43+
NTP servers.
44+
45+
DNS SERVERS:
46+
By default, systemd-resolved uses the Google Public DNS servers
47+
8.8.8.8, 8.8.4.4, 2001:4860:4860::8888, 2001:4860:4860::8844 as
48+
fallback, if no other DNS configuration is available.
49+
50+
Use -D dns-servers= to direct systemd-resolved to different fallback
51+
DNS servers.
52+
4253
PAM:
4354
The default PAM config shipped by systemd is really bare bones.
4455
It does not include many modules your distro might want to enable
@@ -50,7 +61,6 @@ PAM:
5061
instead install your own.
5162

5263
CONTRIBUTING UPSTREAM:
53-
5464
We generally do no longer accept distribution-specific patches to
5565
systemd upstream. If you have to make changes to systemd's source code
5666
to make it work on your distribution, unless your code is generic

0 commit comments

Comments
 (0)