diff --git a/etc/systemd/system/service.d/resolv.conf b/etc/systemd/system/service.d/resolv.conf new file mode 100644 index 00000000..2cfa80cb --- /dev/null +++ b/etc/systemd/system/service.d/resolv.conf @@ -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