On Wed, Jun 25, 2025 at 04:49:30AM +0200, [email protected] wrote: > On Tue, 24 Jun 2025 18:56:11 -0300 > Antonio Terceiro <[email protected]> wrote: > > > Ouch. The issue is that resolving names might also slow things down, and > > I wanted to avoid that. I think I got a simple enough parser for > > /etc/that that should work, so we can resolve `apt-proxy` statically > > without going outside for DNS. > > > > Can you test the attached patch? > > Yes, this would indeed work after adding the entry to /etc/hosts. > ``` > echo $(kdig +short -t A apt-proxy.$(dnsdomainname) @_gateway) apt-proxy |sudo > tee -a /etc/hosts > ``` > Sadly this doesn't really fix the issue as the same is happening in a network > with an SRV entry where it's not all fun and games /รถ\.
SRV records are only checked *after* looking for localhost, (now apt-proxy from /etc/hosts), gateway, and apt-proxy from DNS. Wasn't it also a problem before?
signature.asc
Description: PGP signature

