It looks like your nameserver (DNS) is not set.
You will need to add a working nameserver in /etc/resolv.conf
Try using the one from your provider.
resolv.conf should look something like this
xx.xx.xx.xx should be an IP from a working nameserver
When all is done ok, you should be able to ping, and update