apt temporary failure resolving deb.debian.org
Hi All,
Gooday everybody. Anyone having temporary failure when running apt update with own bind local resolver ? I got a temporary failure resolving deb.debian.org and www.debian.org since last week thursday. I can resolve
other sites like www.kernel.org and others.
When I switch to other DNS servers I can resolve www.debian.org.
The command dig with +cd option I was able to resolve dwb.debian.org and www.debian.org.
I am using bullseye bind packages and then upgraded to bind to sury to test. It is still the same.
Below is what happens when I run the commands.
root@www:~# apt update
Hit:1 https://atl.mirrors.knownhost.com/ma
riadb/repo/10.11/debian bullseye InRelease
Hit:2 https://packages.sury.org/bind-dev b
ullseye InRelease
Hit:3 https://repo.dovecot.org/ce-2.3-late
st/debian/bullseye bullseye InRelease
Err:4 http://deb.debian.org/debian bullsey
e InRelease
Temporary failure resolving 'deb.debian.
org'
Err:5 http://security.debian.org/debian-se
curity bullseye-security InRelease
Temporary failure resolving 'security.de
bian.org'
Err:6 http://deb.debian.org/debian bullsey
e-updates InRelease
Temporary failure resolving 'deb.debian.
org'
Err:7 http://deb.debian.org/debian bullsey
e-backports InRelease
Temporary failure resolving 'deb.debian.
org'
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://deb.debian.org/d
ebian/dists/bullseye/InRelease Temporary
failure resolving 'deb.debian.org'
W: Failed to fetch http://security.debian.
org/debian-security/dists/bullseye-securit
y/InRelease Temporary failure resolving '
security.debian.org'
W: Failed to fetch http://deb.debian.org/d
ebian/dists/bullseye-updates/InRelease Te
mporary failure resolving 'deb.debian.org'
W: Failed to fetch http://deb.debian.org/d
ebian/dists/bullseye-backports/InRelease
Temporary failure resolving 'deb.debian.or
g'
W: Some index files failed to download. Th
ey have been ignored, or old ones used ins
tead.
root@www:~# dig deb.debian.org
;; communications error to 127.0.0.1#53: t
imed out
;; communications error to 127.0.0.1#53: t
imed out
; <<>> DiG 9.19.11-1+0~20230315.91+debian1
1~1.gbp74bfb7-Debian <<>> deb.debian.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SER
VFAIL, id: 8128
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, A
UTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: 97b4bde94cfe0c6701000000643267f8
8fdacbcf84c56d00 (good)
;; QUESTION SECTION:
;deb.debian.org. IN
A
;; Query time: 16 msec
;; SERVER: 127.0.0.1#53(127.0.0.1) (UDP)
;; WHEN: Sun Apr 09 07:23:36 UTC 2023
;; MSG SIZE rcvd: 71
root@www:~#
dig deb.debian.org +cd
; <<>> DiG 9.19.11-1+0~20230315.91+debian1
1~1.gbp74bfb7-Debian <<>> deb.debian.org +
cd
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOE
RROR, id: 65012
;; flags: qr rd ra cd; QUERY: 1, ANSWER: 2
, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: fa4297d4fcd91961010000006432682a
84e163acdaca11e0 (good)
;; QUESTION SECTION:
;deb.debian.org. IN
A
;; ANSWER SECTION:
deb.debian.org. 3550 IN CN
AME debian.map.fastlydns.net.
debian.map.fastlydns.net. 30 IN A
199.232.122.132
;; Query time: 20 msec
;; SERVER: 127.0.0.1#53(127.0.0.1) (UDP)
;; WHEN: Sun Apr 09 07:24:26 UTC 2023
;; MSG SIZE rcvd: 125
dig @8.8.8.8 deb.debian.org
; <<>> DiG 9.19.11-1+0~20230315.91+debian1
1~1.gbp74bfb7-Debian <<>> @8.8.8.8 deb.deb
ian.org
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOE
RROR, id: 61410
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, A
UTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;deb.debian.org. IN
A
;; ANSWER SECTION:
deb.debian.org. 3471 IN CN
AME debian.map.fastlydns.net.
debian.map.fastlydns.net. 21 IN A
199.232.34.132
;; Query time: 0 msec
;; SERVER: 8.8.8.8#53(8.8.8.8) (UDP)
;; WHEN: Sun Apr 09 07:25:33 UTC 2023
;; MSG SIZE rcvd: 97
Reply to: