Why does the ReaR backup fails with error "ERROR: No nameserver or only loopback addresses in /root/rear.xxx/rootfs/etc/resolv.conf" ?

Solution Verified - Updated -

Issue

  • Creating Rear backup fails with below error :
ERROR: No nameserver or only loopback addresses in /root/rear.xxx/rootfs/etc/resolv.conf, specify a real nameserver via USE_RESOLV_CONF
Some latest log messages since the last called script 630_verify_resolv_conf_file.sh:
  2023-06-09 18:18:25.606255145 Including build/GNU/Linux/630_verify_resolv_conf_file.sh
Aborting due to an error, check /var/log/rear/rear-xxx.log for details
Exiting rear mkbackup (PID xxx) and its descendant processes ...
Running exit tasks
Terminated

Environment

  • Red Hat Enterprise Linux 8
  • ReaR

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content