NeeoDriversInBrain icon indicating copy to clipboard operation
NeeoDriversInBrain copied to clipboard

No DNS after installing pacman

Open vistalba opened this issue 4 years ago • 0 comments

First I run a ping:

[neeo@NEEO-12345f78 steady]$ sudo ping google.ch

PING google.ch (172.217.168.67) 56(84) bytes of data.
64 bytes from zrh04s15-in-f3.1e100.net (172.217.168.67): icmp_seq=1 ttl=54 time=7.99 ms
^C
--- google.ch ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 7.998/7.998/7.998/0.000 ms

After issuing the command sudo pacman -S --force pacman I get this output:

[neeo@NEEO-12345f78 steady]$ sudo pacman -S --force pacman
resolving dependencies...
looking for conflicting packages...

Packages (68) acl-2.3.1-2  archlinuxarm-keyring-20140119-1  attr-2.5.1-2  audit-3.0.7-1  bash-5.1.016-1  brotli-1.0.9-7  bzip2-1.0.8-4
              ca-certificates-20210603-1  ca-certificates-mozilla-3.75-1  ca-certificates-utils-20210603-1  coreutils-9.0-2  curl-7.81.0-2
              e2fsprogs-1.46.5-2  expat-2.4.4-1  filesystem-2021.12.07-1  findutils-4.9.0-1  gcc-libs-10.2.0-1  glib2-2.70.3-1  glibc-2.32-2  gmp-6.2.1-1
              gnupg-2.2.32-2  gnutls-3.7.3-1  gpgme-1.17.0-1  iana-etc-20220110-1  keyutils-1.6.3-1  krb5-1.19.2-2  libarchive-3.5.3-2  libassuan-2.5.5-1
              libcap-2.63-2  libcap-ng-0.8.2-7  libffi-3.4.2-4  libgcrypt-1.9.4-1  libgpg-error-1.44-1  libidn2-2.3.2-1  libksba-1.6.0-1  libldap-2.6.1-1
              libnghttp2-1.46.0-1  libp11-kit-0.24.1-1  libpsl-0.21.1-1  libsasl-2.1.27-3  libsecret-0.20.4-1  libssh2-1.10.0-1
              libsysprof-capture-3.42.1-2  libtasn1-4.18.0-1  libtirpc-1.3.2-1  libunistring-0.9.10-3  libxcrypt-4.4.28-1  linux-api-headers-5.12.3-1
              lz4-1:1.9.3-2  ncurses-6.3-2  nettle-3.7.3-1.1  npth-1.6-3  openssl-1.1.1.m-1  p11-kit-0.24.1-1  pacman-mirrorlist-20211120-1  pam-1.5.2-1
              pambase-20211210-1  pcre-8.45-1  pinentry-1.2.0-1  readline-8.1.002-1  sqlite-3.37.2-1  systemd-libs-250.3-3  tzdata-2021e-1
              util-linux-libs-2.37.3-2  xz-5.2.5-2  zlib-1:1.2.11-5  zstd-1.5.2-2  pacman-6.0.1-3.1

Total Download Size:    64.33 MiB
Total Installed Size:  277.25 MiB

:: Proceed with installation? [Y/n]

After pressing y and waiting that the installation finished DNS is not working anymore:

[neeo@NEEO-12345f78 steady]$ sudo ping google.ch
ping: google.ch: Name or service not known

Also a reboot does not solve this issue. When using drill I still get the correct result from my DNS:

[neeo@NEEO-12345f78 ~]$ drill google.ch
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 7044
;; flags: qr rd ra ; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;; google.ch.   IN      A

;; ANSWER SECTION:
google.ch.      252     IN      A       172.217.168.67

;; AUTHORITY SECTION:

;; ADDITIONAL SECTION:

;; Query time: 0 msec
;; SERVER: 10.100.1.1
;; WHEN: Wed Feb  9 19:52:40 2022
;; MSG SIZE  rcvd: 43

Any ideas how to fix this or why this happens?

vistalba avatar Feb 09 '22 19:02 vistalba