Linux command
resolved.conf 命令
安全
权限或系统影响较大,执行前请核对目标。
常用示例
Edit resolved configuration
sudo vi /etc/systemd/resolved.conf
Restart resolved
sudo systemctl restart systemd-resolved
Check status
resolvectl status
说明
resolved.conf configures systemd-resolved, the system DNS resolver service. It manages DNS servers, DNSSEC, DNS-over-TLS, and caching.
FAQ
What is the resolved.conf command used for?
resolved.conf configures systemd-resolved, the system DNS resolver service. It manages DNS servers, DNSSEC, DNS-over-TLS, and caching.
How do I run a basic resolved.conf example?
Run `sudo vi /etc/systemd/resolved.conf` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
Where can I find more resolved.conf examples?
This page includes 3 examples for resolved.conf, plus related commands for nearby Linux tasks.