Time Sync and hostname resolution Flashcards
1
Q
where is the config file for Chrony service
A
/etc/chrony.conf
2
Q
inspect binding status/ show available time sources
A
chronyc sources
3
Q
display clock performance
A
chronyc tracking
4
Q
dislplay time, date, time zone etc…
A
timedatectl
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
6
Q
where is the DNS config file
A
/etc/resolv.conf