Udgivet i

Persist dns nameserver for ubuntu 14.04

If you are using ubuntu 14.04, you may find you can not setting dns on your /etc/resolv.conf

This is because ubuntu using resolvconf to manage the dns setting, every times system boot, resolvconf will regenerate resolv.conf file.

But there always have way to do this.

vim /etc/resolvconf/resolv.conf.d/head  

put your nameserver list in


then run

resolvconf -u

this command tell resolvconf to regenerate the resolve file

enjoy it.

Udgivet i

Check & Restore windows integrity

  1. Click on Windows Key
  2. Type CMD
  3. Right click on Command Prompt and run as Administrator
  4. Command Prompt window will open and type the following command and press enter
  5. DISM.exe /Online /Cleanup-image /Scanhealth && DISM.exe /Online /Cleanup-image /Restorehealth
  6. Please refer a screenshot