28
rated 0 times
[
28]
[
0]
/ answers: 1 / hits: 63810
/ 2 Years ago, sun, february 6, 2022, 12:04:28
We used to get current DNS settings by:
cat /etc/resolv.conf
But Ubuntu 12.04 has changed to use the resolvconf framework.
The above commond will only give me this:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
And that is not the current DNS settings of my machine.
So, is there any kind of file or command I can refer to?
More From » dns