Long time ago, I build an Ubuntu Linux virtual machine which was projected to be a reverse proxy server. It was my personal project which my boss gave the green light. Due to the urgency of other projects, I had to postpone it.
Now I decided to revisit this project because soon, we’re going to open up one of our intranet application to the public. Since I felt the machine quite out-dated, I decide to update it
$ sudo apt-get update
Sadly it didn’t work.
Hmm weird.. But I can ping 184.108.40.206 (Google public DNS)
So it means I don’t have DNS which will resolve the domain name to IP address. Thus I need to edit
sudo nano /etc/resolv.conf
Then added the following lines:
nameserver 220.127.116.11 #Google DNS nameserver 18.104.22.168 #Google DNS nameserver 22.214.171.124 #Open DNS nameserver 126.96.36.199 #Open DNS
That’s it. No reboot required.