Unable to access archive/ or security.ubuntu.com

Our squid proxy server can no longer access the internet in AWS. When trying to apt-get update:

root@ip-172-31-76-59:/home/ubuntu# apt-get update
Err:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
 Temporary failure resolving 'security.ubuntu.com'

Trying to access cache logs but spits back "permission denied" even as root. May have to do with apparmor installed? Any assistance would be appreciated.

Asked By: bacjac38


The AppArmor installed prevented access to the DNS settings and unable to validate the settings. It was easy enough to start from scratch and rebuild a new server to resolve this issue.

Answered By: bacjac38
Categories: Answers Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.