browse by category or date

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.

ubuntu-apt-get-update

Hmm weird.. But I can ping 8.8.8.8 (Google public DNS)

ubuntu-ping.8.8.8.8

So it means I don’t have DNS which will resolve the domain name to IP address. Thus I need to edit /etc/resolv.conf

sudo nano /etc/resolv.conf

Then added the following lines:

nameserver 8.8.8.8 #Google DNS
nameserver 8.8.4.4 #Google DNS
nameserver 208.67.222.222 #Open DNS
nameserver 208.67.220.220 #Open DNS

That’s it. No reboot required.

About Hardono

Hi, I'm Hardono. I am working as a Software Developer. I am working mostly in Windows, dealing with .NET, conversing in C#. But I know a bit of Linux, mainly because I need to keep this blog operational. I've been working in Logistics/Transport industry for more than 9 years.

No Comment

Add Your Comment