From nobody Sat Jul 12 05:31:10 2025 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with UTF8SMTP id 4bfHHq0ljDz61NFG for ; Sat, 12 Jul 2025 05:31:19 +0000 (UTC) (envelope-from paul@redbarn.org) Received: from util.redbarn.org (util.redbarn.org [24.104.150.222]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "*.redbarn.org", Issuer "RapidSSL TLS RSA CA G1" (verified OK)) by mx1.freebsd.org (Postfix) with UTF8SMTPS id 4bfHHp3l8Rz3Mwx for ; Sat, 12 Jul 2025 05:31:18 +0000 (UTC) (envelope-from paul@redbarn.org) Authentication-Results: mx1.freebsd.org; none Received: from family.redbarn.org (family.redbarn.org [IPv6:2001:559:8000:cd::5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "*.redbarn.org", Issuer "RapidSSL TLS RSA CA G1" (not verified)) by util.redbarn.org (Postfix) with UTF8SMTPS id 91CFC160B99; Sat, 12 Jul 2025 05:31:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=redbarn.org; s=util; t=1752298271; bh=DvMEea0UcXYjEu0vK6IIDk7zKkLmBR0GGJ0TaDiR950=; h=Date:From:To:Cc:In-Reply-To:References:Subject; b=VP6vz2mqcGbOjFKITsgfSwzLhLhSHcXFBmteZIZCMVflw4GlSd00wpmwMkseCao2S aVAjTTlxQ4Voum5alVdzE40pvTNoDPhgBu7U3AqUkMRFPfi7rxfwzawAESA5BT/QD0 NHRK5VwqRAr18s+AmhMV31wmfdsnwr0oOr/UKQ64= Received: from dummy.faircode.eu (unknown [172.102.121.22]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by family.redbarn.org (Postfix) with UTF8SMTPSA id 3F8F09; Sat, 12 Jul 2025 05:31:11 +0000 (UTC) Date: Fri, 11 Jul 2025 22:31:10 -0700 (PDT) From: Paul Vixie To: Maku Bex Cc: freebsd-questions@freebsd.org Message-ID: <2a5895d7-0246-4d6c-9a8e-d367dbd53d6e@redbarn.org> In-Reply-To: <3b23b7d4-3c32-49ff-89a0-2332a9000132@gmail.com> References: <3b23b7d4-3c32-49ff-89a0-2332a9000132@gmail.com> Subject: Re: pkg DNS issue List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_262_266979557.1752298270762" X-Correlation-ID: <2a5895d7-0246-4d6c-9a8e-d367dbd53d6e@redbarn.org> X-Rspamd-Queue-Id: 4bfHHp3l8Rz3Mwx X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:33651, ipnet:24.104.150.0/24, country:US] ------=_Part_262_266979557.1752298270762 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I see no srv records here. Paul Vixie Jul 11, 2025 22:14:00 Maku Bex : > Hello, > > Does pkg's geo-dns not like Quand9's DNS? The download speed is capped under 65KB/s and the reason for my question is that this has happened a few times in the past to other users. > > https://forums.freebsd.org/threads/pkg-is-hella-slow-not-internet-speed.84882/ > https://github.com/freebsd/pkg/issues/2037 > https://www.reddit.com/r/freebsd/comments/1707oi8/help_pkg_is_slow_packages_are_downloading_in_50kbs/ > ... > > As for this notice "IMPORTANT: We do NOT guarantee uptime of any particular mirror. We provide SRV fallbacks for redundancy." The SRV doesn't seem to do anything, at least in my case. > > Some technical info: > > uname -a: FreeBSD  14.3-RELEASE FreeBSD 14.3-RELEASE releng/14.3-n271432-8c9ce319fef7 GENERIC amd64 > > pkg --version: 2.2.1 > > cat /usr/local/etc/pkg/repos/FreeBSD.conf > > FreeBSD: { >     url: "https://pkg.freebsd.org/${ABI}/latest", >     enabled: true, >     signature_type: "fingerprints", >     fingerprints: "/usr/share/keys/pkg", >     mirror_type: "srv" > } > > drill pkg.freebsd.org > > ;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 20313 > ;; flags: qr rd ra ; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 > ;; QUESTION SECTION: > ;; pkg.freebsd.org. IN  A > > ;; ANSWER SECTION: > pkg.freebsd.org.    300 IN  CNAME   pkgmir.geo.freebsd.org. > pkgmir.geo.freebsd.org. 150 IN  A   173.228.147.98 > > ;; AUTHORITY SECTION: > > ;; ADDITIONAL SECTION: > > ;; Query time: 294 msec > ;; SERVER: 149.112.112.112 > ;; WHEN: Fri Jul 11 23:49:16 2025 > ;; MSG SIZE  rcvd: 74 ------=_Part_262_266979557.1752298270762 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit I see no srv records here.
Paul Vixie

Jul 11, 2025 22:14:00 Maku Bex <zagazaw2004@gmail.com>:

Hello,

Does pkg's geo-dns not like Quand9's DNS? The download speed is capped under 65KB/s and the reason for my question is that this has happened a few times in the past to other users.

https://forums.freebsd.org/threads/pkg-is-hella-slow-not-internet-speed.84882/
https://github.com/freebsd/pkg/issues/2037
https://www.reddit.com/r/freebsd/comments/1707oi8/help_pkg_is_slow_packages_are_downloading_in_50kbs/
...

As for this notice "IMPORTANT: We do NOT guarantee uptime of any particular mirror. We provide SRV fallbacks for redundancy." The SRV doesn't seem to do anything, at least in my case.

Some technical info:

uname -a: FreeBSD  14.3-RELEASE FreeBSD 14.3-RELEASE releng/14.3-n271432-8c9ce319fef7 GENERIC amd64

pkg --version: 2.2.1

cat /usr/local/etc/pkg/repos/FreeBSD.conf

FreeBSD: {
    url: "https://pkg.freebsd.org/${ABI}/latest",
    enabled: true,
    signature_type: "fingerprints",
    fingerprints: "/usr/share/keys/pkg",
    mirror_type: "srv"
}

drill pkg.freebsd.org

;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 20313
;; flags: qr rd ra ; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;; pkg.freebsd.org. IN  A

;; ANSWER SECTION:
pkg.freebsd.org.    300 IN  CNAME   pkgmir.geo.freebsd.org.
pkgmir.geo.freebsd.org. 150 IN  A   173.228.147.98

;; AUTHORITY SECTION:

;; ADDITIONAL SECTION:

;; Query time: 294 msec
;; SERVER: 149.112.112.112
;; WHEN: Fri Jul 11 23:49:16 2025
;; MSG SIZE  rcvd: 74
------=_Part_262_266979557.1752298270762--