mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 20:59:23 +01:00
systemd/service.d: add resolv.conf example with warnings
This commit is contained in:
parent
ba55b2c9e9
commit
b36ba70a70
10
etc/systemd/system/service.d/resolv.conf
Normal file
10
etc/systemd/system/service.d/resolv.conf
Normal file
@ -0,0 +1,10 @@
|
||||
# Unlike everything else(?), this can actually be placed to
|
||||
# /etc/systemd/system/service.d if /etc/resolv.conf cannot be modified
|
||||
# for some reason and specify the search and options options.
|
||||
# I would just edit /etc/resolv.conf directly though, but this is just a
|
||||
# note that this is possible.
|
||||
[Service]
|
||||
Environment=LOCALDOMAIN=.
|
||||
Environment=RES_OPTIONS="edns0 trust-ad timeout:1 attempts:5"
|
||||
|
||||
# vim: filetype=systemd
|
Loading…
Reference in New Issue
Block a user