使用正确的 resolv.conf 配置 ubuntu 解析“repo.jellyfin.org”时暂时失败

使用正确的 resolv.conf 配置 ubuntu 解析“repo.jellyfin.org”时暂时失败

我是个菜鸟,所以请提供相应的答案,我正在使用一台迷你电脑作为带有 remote.it 的 jellyfin 服务器,它运行良好,直到我尝试安装 nextcloud,当我外出旅行时,我的服务器停止响应 sudo apt update 并给出名称解析问题,我尝试了互联网上的所有方法来解决这个问题。resolv.conf 文件如下所示

# Generated by dhcpcd from enp2s0.dhcp, enp2s0.dhcp6, enp2s0.ra
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver fd75:beba:8d64::1
# /etc/resolv.conf.tail can replace this line
sudo apt update
Err:1 https://repo.jellyfin.org/ubuntu groovy InRelease
  Temporary failure resolving 'repo.jellyfin.org'
Err:2 http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu groovy InRelease
  Temporary failure resolving 'ppa.launchpad.net'
Err:3 http://archive.ubuntu.com/ubuntu groovy InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/groovy/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch https://repo.jellyfin.org/ubuntu/dists/groovy/InRelease  Temporary failure resolving 'repo.jellyfin.org'
W: Failed to fetch http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu/dists/groovy/InRelease  Temporary failure resolving 'ppa.launchpad.net'
W: Some index files failed to download. They have been ignored, or old ones used instead.
 ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=119 time=2.62 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=119 time=2.23 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=119 time=2.33 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=119 time=2.16 ms
^C
--- 8.8.8.8 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 2.158/2.332/2.620/0.176 ms
 ping -c4 google.com
ping: google.com: Name or service not known

我没有 vnc 或远程桌面服务,因此使用终端的解决方案将不胜感激。

相关内容