Skip to content

Instantly share code, notes, and snippets.

@silvae86
Created December 16, 2016 13:06
Show Gist options
  • Save silvae86/7b2f6bf3e92a85cf9194ba667e4f9221 to your computer and use it in GitHub Desktop.
Save silvae86/7b2f6bf3e92a85cf9194ba667e4f9221 to your computer and use it in GitHub Desktop.
Fix FEUP DNS in Virtual Machines
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment