diff options
author | Christian Hesse <mail@eworm.de> | 2017-04-29 21:50:26 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2017-04-29 23:05:35 +0200 |
commit | 0429aca36e7161e601df164b5c11e020942ebc8a (patch) | |
tree | bb65f899b3459bcc537db823400014ac23f0a586 /README.md | |
parent | 94940d5e121ee8b93d4f94b81ba4bae98b8a5e26 (diff) | |
download | pacredir-0429aca36e7161e601df164b5c11e020942ebc8a.tar.gz pacredir-0429aca36e7161e601df164b5c11e020942ebc8a.tar.zst |
Do not rely on mDNS...
... but do resolve the addresses within pacredir. The biggest advantage
is that we do no longer require nss-mdns, which tends to fool us in
different ways.
As requests are done by address rather than host name you can no longer
use virtual hosts for pacserve and pacdbserve. But did anybody try that?
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -8,7 +8,7 @@ downloads its package files from online mirrors, transferring all the bits via WAN connection. But often other Arch systems may be around that already have the files -available on local storage - just a fast LAN connection way. This is +available on local storage - just a fast LAN connection away. This is where `pacredir` can help. It uses [Avahi](http://avahi.org/) to find other instances and get the files there if available. @@ -23,7 +23,6 @@ To compile and run `pacredir` you need: * [curl](http://curl.haxx.se/) * [iniparser](http://ndevilla.free.fr/iniparser/) * [darkhttpd](http://dmr.ath.cx/net/darkhttpd/) -* [nss-mdns](http://0pointer.de/lennart/projects/nss-mdns/) * [markdown](http://daringfireball.net/projects/markdown/) (HTML documentation) `Arch Linux` installs development files for the packages by default, so @@ -49,11 +48,9 @@ Additionally systemd service files are installed to Usage ----- -Make sure [multicast- -DNS](https://wiki.archlinux.org/index.php/Avahi#Hostname_resolution) -works. Then enable systemd services `pacserve`, `pacdbserve` and -`pacredir`, open TCP ports 7078 and 7079 and add the following line to -your repository definitions in `pacman.conf`: +Enable systemd services `pacserve`, `pacdbserve` and `pacredir`, open TCP +ports `7078` and `7079` and add the following line to your repository +definitions in `pacman.conf`: > Include = /etc/pacman.d/pacredir |