![将 DNS 选项添加到 systemd-resolved /etc/resolv.conf](https://linux22.com/image/754689/%E5%B0%86%20DNS%20%E9%80%89%E9%A1%B9%E6%B7%BB%E5%8A%A0%E5%88%B0%20systemd-resolved%20%2Fetc%2Fresolv.conf.png)
我正在使用systemd-networkd
和systemd-resolved
。我有/etc/resolv.conf
符号链接到/run/systemd/resolve/stub-resolv.conf
as受到推崇的。
我猜这/run/systemd/resolve/stub-resolv.conf
一定是自动生成的,所以我想知道是否有办法添加自定义 DNS 选项,以便生成的文件包含它们。我说的是像这样的选项:options single-request-reopen
。
我正在使用systemd-networkd
和systemd-resolved
。我有/etc/resolv.conf
符号链接到/run/systemd/resolve/stub-resolv.conf
as受到推崇的。
我猜这/run/systemd/resolve/stub-resolv.conf
一定是自动生成的,所以我想知道是否有办法添加自定义 DNS 选项,以便生成的文件包含它们。我说的是像这样的选项:options single-request-reopen
。