Linux command
adguardhome 命令
安全
权限或系统影响较大,执行前请核对目标。
常用示例
Start
sudo adguardhome -s start
Install
sudo adguardhome -s install
Uninstall
sudo adguardhome -s uninstall
Example
sudo adguardhome -s status
Example
adguardhome -c [/path/to/config.yaml]
说明
AdGuard Home is a network-wide software for blocking ads, tracking, and malicious domains. It operates as a DNS server, filtering requests based on blocklists and custom rules before forwarding legitimate queries upstream. The application provides a web interface for configuration and statistics, supports DNS-over-HTTPS, DNS-over-TLS, and DNS-over-QUIC, and can replace your router's DHCP server.
参数
- -s _command_
- Service control: start, stop, restart, status, install, uninstall
- -c _path_
- Path to configuration file
- -w _path_
- Path to working directory
- -h _host_
- Web interface bind host
- -p _port_
- Web interface bind port
- --no-check-update
- Don't check for updates
- --pidfile _path_
- Path to PID file
- --verbose
- Enable verbose logging
FAQ
What is the adguardhome command used for?
AdGuard Home is a network-wide software for blocking ads, tracking, and malicious domains. It operates as a DNS server, filtering requests based on blocklists and custom rules before forwarding legitimate queries upstream. The application provides a web interface for configuration and statistics, supports DNS-over-HTTPS, DNS-over-TLS, and DNS-over-QUIC, and can replace your router's DHCP server.
How do I run a basic adguardhome example?
Run `sudo adguardhome -s start` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -s _command_ do in adguardhome?
Service control: start, stop, restart, status, install, uninstall