Spoofing DNS
If you don't have root (I do but didn't want to change /etc/resolv.conf for this) and you want to override DNS choices (spoof testing or such) I present you:
$ echo "foo www.google.com" >> ~/.hosts $ HOSTALIASES=~/.hosts $ wget foo
man hostname(7)