crc: crc setup breaks dns configuration on host - Linux (RHEL9)

The issue still exists and if it will be installed on a small server then it breaks the dns configuration…

After crc setup my resolv.conf looks like following >>>

$ cat /etc/resolv.conf

# Generated by NetworkManager
search fritz.box local
nameserver 127.0.0.1
options edns0 trust-ad

$ cat /etc/os-release

NAME="Red Hat Enterprise Linux"
VERSION="9.2 (Plow)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="9.2"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Red Hat Enterprise Linux 9.2 (Plow)"
ANSI_COLOR="0;31"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:redhat:enterprise_linux:9::baseos"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 9"
REDHAT_BUGZILLA_PRODUCT_VERSION=9.2
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.2

Changing dns server for example with “nmtui” doesn’t work.

Any ideas on how best to fix this?

_Originally posted by @mschindl in https://github.com/crc-org/crc/issues/1663#issuecomment-1729447033_

About this issue

  • Original URL
  • State: closed
  • Created 9 months ago
  • Comments: 24 (13 by maintainers)

Most upvoted comments

Looks good now. Many thanks.

image