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

dnsmasq not binding to penguin container's external IP #13

Open
cbeley opened this issue Apr 14, 2022 · 0 comments
Open

dnsmasq not binding to penguin container's external IP #13

cbeley opened this issue Apr 14, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@cbeley
Copy link
Owner

cbeley commented Apr 14, 2022

A helpful reader found what may be a new issue with my write-up at https://chrisbeley.com/software-engineering/how-to-apply-chromeos's-linux-container's-etchosts-outside-of-the-container-in-chrome . This would also require some changes to beleyenv to fix.

TODO:

  • Investigate what changed/verify the fix.
  • Update beleyenv
  • Update the blog post and include a changelog at the bottom noting this change.

Issue sent:

I encountered some problems with this on the latest ChromeOS that you might be interested in. Presumably things have changed with crostini since you wrote that article,
I experienced the below issue on Buster and Bullseye (Version 100.0.4896.82 (Official Build) (64-bit))

The problem was essentially that the ip address returned by "dig +short penguin.lxd" is not the IP address which dnsmasq binds on by default.

The extra step required to make things work after installing dnsmasq is:

1. edit /etc/dnsmasq.conf as root
2. uncomment #listen_address and set it to the IP returned by "dig +short penguin.lxd"
3. sudo systemctl restart dnsmasq
@cbeley cbeley changed the title dnsmasq not binding to penguin containers external IP dnsmasq not binding to penguin container's external IP Apr 14, 2022
@cbeley cbeley added the bug Something isn't working label May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant