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

LX Ubuntu 20.04 dnsmasq issue #1046

Open
living7ikelarry opened this issue May 20, 2022 · 2 comments
Open

LX Ubuntu 20.04 dnsmasq issue #1046

living7ikelarry opened this issue May 20, 2022 · 2 comments

Comments

@living7ikelarry
Copy link

Hi, I've been trying to use pihole in ubuntu lx zone. It uses dnsmasq to handle the requests and block ad domains. I have figured out how to get it listening on port 53, but now my issue is that I keep getting this error in log and then it crashes.

It receives the first dns request upon starting and crashes with this error:

May 20 07:46:35 dnsmasq[301529]: netlink returns error: Unknown error -122

I also noticed in pihole status I have this message:

Cannot open netlink socket: Protocol not supported

So I assume its related. I honestly don't know a lot about lx zones (just started using smartos at home trying to learn), is this a limitation of the lx zone? Or do I maybe need to edit or add something within the zone to get dns working?

Thanks

@danmcd
Copy link
Contributor

danmcd commented May 20, 2022

It would be interesting to know what netlink features pihole/dnsmasq requires. LX does not necessarily support ALL Linux kernel primitives, and netlink is a particularly invasive one w.r.t. the underlying (very different) illumos kernel.

In the worst case, you can spin up a BHYVE zone to run pihole, however.

@danmcd
Copy link
Contributor

danmcd commented May 20, 2022

p.s. Technically this sort of issue belongs in TritonDataCenter/illumos-joyent .

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

2 participants