You are not logged in.
It looks like my resolv.conf file is a link ???
I don't have any idea how this happened. And remember, the system was working fine a week or so ago, so it's not an install problem.
Does anybody know what should be in the resolv.conf file ?
----------------------------------------
[kkoceski@kkhostname ~]$ ls -l /etc/resolv*
lrwxrwxrwx 1 root root 28 Mar 13 05:17 /etc/resolv.conf -> /var/run/coolv.conf
-rw-r--r-- 1 root root 80 Apr 23 06:15 /etc/resolv.conf.bak
-rw-r--r-- 1 root root 254 Nov 22 19:12 /etc/resolvconf.conf
[kkoceski@kkhostname ~]$ more /etc/resolv*
more: stat of /etc/resolv.conf failed: No such file or directory
::::::::::::::
/etc/resolv.conf.bak
::::::::::::::
#
# /etc/resolv.conf
#
#search <yourdomain.tld>
#nameserver <ip>
# End of file
::::::::::::::
/etc/resolvconf.conf
::::::::::::::
# Configuration for resolvconf(8)
# See resolvconf.conf(5) for details
resolv_conf=/etc/resolv.conf
# If you run a local name server, you should uncomment the below line and
# configure your subscribers configuration files below.
#name_servers=127.0.0.1
[kkoceski@kkhostname ~]$
Offline
I got my problem solved.
I renamed /etc/resolv.conf to /etc/resolv_broke.conf ( this was the link )
Then I vi'ed /etc/resolv.conf and added only
nameserver 192.168.0.1
in that file. This worked !!!
However, now when I look at the file, "# Generated by resolvconf" has been added to it, so it is now :
# Generated by resolvconf
nameserver 192.168.0.1
So, something else would probably have fixed it if I had only done the rename. Anyway, I'm back in business - Thanks !!!
Offline
I renamed /etc/resolv.conf to /etc/resolv_broke.conf ( this was the link )
Then I vi'ed /etc/resolv.conf and added onlynameserver 192.168.0.1
in that file. This worked !!!
Alternatively, simply use:
# systemctl enable systemd-resolved --nowand edit /etc/systemd/resolved.conf to add the chosen nameservers.
See systemd-resolved.service(8) & resolved.conf(5)
Jin, Jîyan, Azadî
Offline