contrib: systemd-resolved config (#1334)

This commit is contained in:
cathugger 2020-09-04 18:02:16 +00:00 committed by GitHub
parent 3ab7db7723
commit 412821ed77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,7 @@
To be put at `/usr/lib/systemd/resolved.conf.d/lokinet.conf` for distro use and `/etc/systemd/resolved.conf.d/lokinet.conf` for local admin use.
To make use of it:
```
sudo ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
sudo systemctl enable --now systemd-resolved
```

View File

@ -0,0 +1,3 @@
[Resolve]
DNS=127.3.2.1
Domains=~loki ~snode