Skip to content

Commit

Permalink
🔧 Allow DNS lookups for package repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
jemrobinson committed Sep 14, 2023
1 parent f87c529 commit a9937f0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions data_safe_haven/functions/miscellaneous.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ def allowed_dns_lookups() -> list[str]:
dns_lookups = {
"clamav": ["clamav.net", "database.clamav.net.cdn.cloudflare.net"],
"oauth": ["login.microsoftonline.com"],
"package_repositories": [
"cran.r-project.org",
"files.pythonhosted.org",
"pypi.org",
],
"private_dns": ordered_private_dns_zones(),
"ubuntu_setup": ["keyserver.ubuntu.com"],
}
Expand Down

0 comments on commit a9937f0

Please sign in to comment.