Last active
August 25, 2016 05:34
-
-
Save thorsummoner/61d08448f48ebe017f5cf7718ff667e8 to your computer and use it in GitHub Desktop.
apt-fast with squid-dep-proxy over zeroconf/avahi/bonjore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Given your quid-deb-proxy is using the hostname `apt` and has avahi-daemon installed | |
| # Change /etc/apt-fast.conf to include `--async-dns=false --http-proxy=apt.local` | |
| _DOWNLOADER='aria2c -c -j ${_MAXNUM} --async-dns=false --http-proxy=apt.local -i ${DLLIST} --connect-timeout=600 --timeout=600 -m0' | |
| # Using aysnc-dns will hit this line in aria2c: | |
| # https://github.com/aria2/aria2/blob/a1ce6d2e7f8824b1c1cd18d4e531d84ba58a07df/src/AbstractCommand.cc#L788 | |
| # Due to this behavor getting set: | |
| # https://github.com/aria2/aria2/blob/a1ce6d2e7f8824b1c1cd18d4e531d84ba58a07df/src/AbstractCommand.cc#L788 | |
| # | |
| # Whereas synchornus dns will resolve the .local domain correctly |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment