Package: squid-deb-proxy-client
Version: 0.8.14
Severity: normal

Dear Maintainer,

I'm trying to setup static dns-sd entries for my apt cache (I don't
want to run avahi/mDNS on my proxy server).  This involves creating
_apt_proxy._tcp entries on a domain other than .local[1].  For reasons
that are not clear to me, avahi does not automatically merge browsing
domains, and leaves this up to the application[2].

Iiuc, squid-deb-proxy-client should iterate over the domains returned
by `avahi-browse -D` (and .local), doing something like (pseudo-code):

 for dom in local $(avahi-browse -D); do
    if avahi-browse -d $dom _apt_proxy._tcp; then
       break
    fi
 done


[1] http://www.dns-sd.org/serverstaticsetup.html
[2] https://bugzilla.redhat.com/show_bug.cgi?id=534076#c3

Thanks,
- Gus

-- System Information:
Debian Release: buster/sid
 APT prefers testing
 APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8),
LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages squid-deb-proxy-client depends on:
ii  apt          1.6~alpha7
pn  avahi-utils  <none>
ii  python       2.7.14-4

squid-deb-proxy-client recommends no packages.

squid-deb-proxy-client suggests no packages.

-- no debconf information

Reply via email to