Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install script failing due to private DNS server requirement #1977

Open
gitarman94 opened this issue Sep 15, 2024 · 0 comments
Open

Install script failing due to private DNS server requirement #1977

gitarman94 opened this issue Sep 15, 2024 · 0 comments

Comments

@gitarman94
Copy link

I may have found an issue with the installer script? I've got protected DNS, and force all traffic on my network to go through my DNS server, all other traffic gets blocked (for security reasons). The installer script kept failing saying it couldn't find the raw.githubusercontent.com website, but apt was able to install packages just fine prior to the attempted product install. After looking at the code, I found the below...

cat <<'EOF' >/etc/systemd/resolved.conf
[Resolve]
DNS=8.8.8.8
FallbackDNS=8.8.4.4
EOF

It appears that you're manually pointing the lxc to google as a valid DNS server to resolve addresses. In my case, this broke the installer as I'm blocking google DNS (for security/tracking purposes). I was able to modify the file post failure to point at my DNS server, and then copy/paste the remainder of the script, but this code should probably default to the base system's dns server (or utilize the address that was prompted for during the setup wizard).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant