Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
rb:ubuntu1804netplan [03/04/2020 11:17]
andrew [Updating resolv.conf]
rb:ubuntu1804netplan [03/04/2020 11:19] (current)
andrew [Updating resolv.conf]
Line 74: Line 74:
 root@argon:​~#​ mv /​etc/​resolv.conf /​etc/​resolv.conf.orig root@argon:​~#​ mv /​etc/​resolv.conf /​etc/​resolv.conf.orig
 root@argon:​~#​ ln -s /​run/​systemd/​resolve/​resolv.conf /​etc/​resolv.conf root@argon:​~#​ ln -s /​run/​systemd/​resolve/​resolv.conf /​etc/​resolv.conf
 +root@argon:​~#​ rm /​etc/​resolv.conf.orig
 </​code>​ </​code>​
 +
 +You could just use ''​ln -sf''​ to force the link creation, but if something goes wrong, you loose the original file.
  
 Test with ''​dig''​ or ''​nslookup''​ and resolution should work as expected. Test with ''​dig''​ or ''​nslookup''​ and resolution should work as expected.
  

rb/ubuntu1804netplan.txt ยท Last modified: 03/04/2020 11:19 by andrew