统信桌面操作系统专业版V20(1070)
Linux uos 5.10.97-arm64-desktop
uos基础 systemd-resolve 命令执行报错与参考处理方法
c
root@uos:/home/code# systemd-resolve --flush-caches
Failed to flush caches: Unit dbus-org.freedesktop.resolve1.service not found.
root@uos:/home/code# systemd-resolve --statistics
Failed to get DNSSEC supported state: Unit dbus-org.freedesktop.resolve1.service not found.
root@uos:/home/code# systemctl status systemd-resolved
● systemd-resolved.service - Network Name Resolution
Loaded: loaded (/lib/systemd/system/systemd-resolved.service; disabled; vendor preset: enabled)
Drop-In: /usr/lib/systemd/system/systemd-resolved.service.d
└─resolvconf.conf
Active: inactive (dead)
Docs: man:systemd-resolved.service(8)
https://www.freedesktop.org/wiki/Software/systemd/resolved
https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
10月 29 10:52:36 uos systemd[1]: /lib/systemd/system/systemd-resolved.service:36: Failed to parse system call,
10月 29 10:52:36 uos systemd[1]: systemd-resolved.service: Collecting.
root@uos:/home/code# systemctl enable systemd-resolved.service
Created symlink /etc/systemd/system/dbus-org.freedesktop.resolve1.service → /lib/systemd/system/systemd-resolved.service.
Created symlink /etc/systemd/system/multi-user.target.wants/systemd-resolved.service → /lib/systemd/system/systemd-resolved.service.
root@uos:/home/code# systemctl status systemd-resolved
● systemd-resolved.service - Network Name Resolution
Loaded: loaded (/lib/systemd/system/systemd-resolved.service; enabled; vendor preset: enabled)
Drop-In: /usr/lib/systemd/system/systemd-resolved.service.d
└─resolvconf.conf
Active: inactive (dead)
Docs: man:systemd-resolved.service(8)
https://www.freedesktop.org/wiki/Software/systemd/resolved
https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
10月 29 10:52:36 uos systemd[1]: /lib/systemd/system/systemd-resolved.service:36: Failed to parse system call,
10月 29 10:52:36 uos systemd[1]: systemd-resolved.service: Collecting.
10月 29 10:53:32 uos systemd[1]: /lib/systemd/system/systemd-resolved.service:36: Failed to parse system call,
root@uos:/home/code# systemd-resolve --flush-caches
root@uos:/home/code# systemd-resolve --statistics
DNSSEC supported by current servers: yes
Transactions
Current Transactions: 0
Total Transactions: 2
Cache
Current Cache Size: 0
Cache Hits: 0
Cache Misses: 0
DNSSEC Verdicts
Secure: 0
Insecure: 0
Bogus: 0
Indeterminate: 0
root@uos:/home/code#