Skip to content

Instantly share code, notes, and snippets.

[root@kumo ~]# timedatectl show
Timezone=America/Los_Angeles
LocalRTC=no
CanNTP=yes
NTP=yes
NTPSynchronized=no
TimeUSec=Tue 2019-04-09 06:58:02 PDT
RTCTimeUSec=Tue 2019-04-09 06:58:02 PDT
[root@kumo ~]#
root@kumo ~]# timedatectl status
Local time: Tue 2019-04-09 06:52:37 PDT
Universal time: Tue 2019-04-09 13:52:37 UTC
RTC time: Tue 2019-04-09 13:52:37
Time zone: America/Los_Angeles (PDT, -0700)
System clock synchronized: no
NTP service: active
RTC in local TZ: no
[root@kumo ~]#
[root@kumo ~]# resolvectl
Global
LLMNR setting: yes
MulticastDNS setting: yes
DNSOverTLS setting: no
DNSSEC setting: allow-downgrade
DNSSEC supported: yes
Current DNS Server: 192.168.1.1
DNS Servers: 192.168.1.1
fd72:b86:dead::1
# Name Service Switch configuration file.
# See nsswitch.conf(5) for details.
passwd: files mymachines systemd
group: files mymachines systemd
shadow: files
publickey: files
hosts: files mymachines myhostname resolve [!UNAVAIL=return] dns
GNU nano 4.1 /etc/nsswitch.conf
# Name Service Switch configuration file.
# See nsswitch.conf(5) for details.
passwd: files mymachines systemd
group: files mymachines systemd
shadow: files
publickey: files
[root@kumo ~]# dig @fd72:b86:dead::1 in aaaa archlinux.org
;; Truncated, retrying in TCP mode.
; <<>> DiG 9.14.0 <<>> @fd72:b86:dead::1 in aaaa archlinux.org
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14873
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
[root@kumo ~]# host -6 -v archlinux.org
Trying "archlinux.org"
Trying "archlinux.org"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27192
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;archlinux.org. IN A
;; ANSWER SECTION:
[root@kumo ~]# host -v archlinux.org
Trying "archlinux.org"
Trying "archlinux.org"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50300
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;archlinux.org. IN A
;; ANSWER SECTION:
[root@kumo ~]# dig @192.168.1.1 in a archlinux.org
;; Truncated, retrying in TCP mode.
; <<>> DiG 9.14.0 <<>> @192.168.1.1 in a archlinux.org
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21048
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
GNU nano 4.1 /etc/resolv.conf
# This file is managed by man:systemd-resolved(8). Do not edit.
#
# This is a dynamic resolv.conf file for connecting local clients directly to
# all known uplink DNS servers. This file lists all configured search domains.
#
# Third party programs must not access this file directly, but only through the
# symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way,
# replace this symlink by a static file or a different symlink.
#