sudo vim /etc/resolv.conf
; Ficheiro /etc/resolv.conf
;
; resolv.conf
;
; Description: The resolv.conf file lists name-value pairs that provide
; information to the BIND resolver.
;
; Syntax: domain <domainname>
; and
; nameserver <address>
;
; Caution: White space entered after the domain name is not ignored; it
; is interpreted as part of the domain name.
;
; domain <domainname> local domain name
; nameserver <address> Internet address of a name server that the
; resolver should query
;
domain fe.up.pt
nameserver 193.136.28.10
nameserver 193.136.28.24
nameserver 193.136.28.17
credits: http://paginas.fe.up.pt/~mgi97018/resolvconf.html