From 0429aca36e7161e601df164b5c11e020942ebc8a Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Sat, 29 Apr 2017 21:50:26 +0200 Subject: 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? --- README.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 6f27df9..182866e 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.2.3-54-g00ecf