This command line worked for me and worked perfectly.
1- Remove the symlink resolv.conf
2- Manually add the resolv.conf file with permissions 644
3- chattr -i /etc/resolv.conf
4- reboot
saman_rm hasn't added any friends yet.
27 August 2023 - 07:05
26 August 2023 - 17:39
Is it s file now, and not a symlink? Did you check?
If it recreated the symlink, delete it, and manually create an empty resolv.conf file.
Yes, I did the exact same thing, I deleted the symlink and entered the resolv.conf file manually.
26 August 2023 - 11:15
Most likely /etc/resolv.conf is a symlink to volatile storage. Remove the symlink and restart the box.
This trick did not work
25 August 2023 - 23:09