/etc/nsswitch.conf :
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
Replace it with :
hosts: files dns
Restart network:
sudo /etc/init.d/networking restart
if !work , add to /etc/hosts :
91.189.88.46 ca.archive.ubuntu.com
Restart network again
---------
Check your "/etc/resolv.conf" file. It should have the name servers mentioned
nameserver 208.67.222.222
nameserver 208.67.220.220
That is all you need apart from configuring IP address on your machine.
To check if it works do the following. Type 'nslookup' and press enter:
> server
-------
ping -c2 74.125.45.100
route -nee
{Notes to self, programming, technology, linux, windows, git} U {Papers, reviews, games, coffee, tabletennis, ramblings} = {things worth saving}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment