-
Notifications
You must be signed in to change notification settings - Fork 266
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
chore(gui-client/linux): fix DNS #4802
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Terraform Cloud Plan Output
|
Performance Test ResultsTCP
UDP
|
pub fn get() -> Result<Vec<IpAddr>> { | ||
tracing::error!("Resolvers module not yet implemented for Linux, returning empty Vec"); | ||
Ok(Vec::default()) | ||
firezone_headless_client::imp::get_system_default_resolvers_systemd_resolved() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think all desktop systems we support will have systemd and probably systemd-resolved, so I made this the only option here for when the GUI retrieves the system resolvers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep! Makes sense. "Install systemd-resolved" is a valid requirement I think.
pub fn get() -> Result<Vec<IpAddr>> { | ||
tracing::error!("Resolvers module not yet implemented for Linux, returning empty Vec"); | ||
Ok(Vec::default()) | ||
firezone_headless_client::imp::get_system_default_resolvers_systemd_resolved() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep! Makes sense. "Install systemd-resolved" is a valid requirement I think.
Make the GUI use systemd-resolved to retrieve the system's resolvers. This allows the IPC service to set up sentinels for those resolvers and control the system's DNS.
Closes #3812