Time Sync and hostname resolution Flashcards

1
Q

where is the config file for Chrony service

A

/etc/chrony.conf

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

inspect binding status/ show available time sources

A

chronyc sources

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

display clock performance

A

chronyc tracking

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

dislplay time, date, time zone etc…

A

timedatectl

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

set time manually

A

sudo timedatectl set-ntp false ##turns off ntp/chrony
sudo timedatectl set-time 2020-1-1
or
sudo timedatectl set-time “2020-1-1 23:00”
sudo timedatectl set-ntp true ##turns back on

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

where is the DNS config file

A

/etc/resolv.conf

How well did you know this?
1
Not at all
2
3
4
5
Perfectly