Created
          February 14, 2019 21:06 
        
      - 
      
- 
        Save rms1000watt/c6496e0ed0311baacafeaa58bc487730 to your computer and use it in GitHub Desktop. 
    AWS Ubuntu No DNS resolution fix
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | echo "supersede domain-name-servers 8.8.8.8, 9.9.9.9;" | sudo tee -a /etc/dhcp/dhclient.conf &> /dev/null | |
| sudo ifdown eth0 && sudo ifup eth0 | |
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment