mirror of
https://github.com/lancachenet/monolithic
synced 2024-11-28 15:00:30 +00:00
Merge pull request #99 from lancachenet/Lepidopterist-faq-systemdresolved
Update faq.md with Goten's mini howto for systemd-resolved
This commit is contained in:
commit
599ecfe28d
1 changed files with 9 additions and 0 deletions
9
faq.md
9
faq.md
|
@ -77,3 +77,12 @@ Other options also involve transparently intercepting HTTP traffic at a network
|
||||||
## Can I load some content into the cache ahead of my event?
|
## Can I load some content into the cache ahead of my event?
|
||||||
|
|
||||||
You could look at [zeropingheroes/lancache-autofill](https://github.com/zeropingheroes/lancache-autofill) as an aide to pre-loading popular games into the cache ahead of time to help kick start the cache
|
You could look at [zeropingheroes/lancache-autofill](https://github.com/zeropingheroes/lancache-autofill) as an aide to pre-loading popular games into the cache ahead of time to help kick start the cache
|
||||||
|
|
||||||
|
### Disabling `systemd-resolved` DNSStubListener
|
||||||
|
If your cache host is running a recent Linux distribution, it is likely running `systemd-resolved`, which listens on port `53`. If you want your cache host to bind to `0.0.0.0:53` (INADDR_ANY, all IPv4 addresses), you will first need to disable `systemd-resolved`'s stub listener.
|
||||||
|
|
||||||
|
1. Run `sudo -e /etc/systemd/resolved.conf` and change the line starting with `#DNSStubListener=` to `DNSStubListener=no` - _removing the `#` is important_
|
||||||
|
1. Run `sudo rm /etc/resolv.conf`
|
||||||
|
1. Run `sudo ln -s /var/run/systemd/resolve/resolv.conf /etc/resolv.conf`
|
||||||
|
1. Run `sudo service systemd-resolved restart`
|
||||||
|
1. Check that you can still resolve DNS on the cache server by running `nslookup` for a domain of your choice (e.g. `lancache.net`)
|
||||||
|
|
Loading…
Reference in a new issue