Redhat use nmcli or nmtui tools for configuration of network. Let me explain how connect dns via nmcli too.