mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1742] DNS over ipv6 not working #1180
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#1180
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Jan 20, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1742
As of #1722 enhancement, there is now the possibility to specify an ipv6 address for dns inside the sandbox.
The ipv6 address is correctly passed to the sandbox.
route -6 -ninside the sandbox correctly shows that our ipv6 address is indeed routed to eth0
Doing a 'dig' without specifying a dns works (at least it sends packets, and for whatever reason on my configuration the real dns can't resolve what it is asked to resolve, but that is unrelated to firejail)
... but a 'curl' or the like won't even try to resolve dns. It immediately fails with 'could not resolve host'. Wireshark shows that it is not even trying to send a dns request!
So, sure, forcing request with dig works, but there must be more to make dns over ipv6 work transparently in a sandbox that just accepting an ipv6 address!
@netblue30 commented on GitHub (Jan 23, 2018):
Inside the sandbox, take a look at /etc/resolv.conf. The DNS IP should go into this file. There is no difference between IPv4 and IPv6 DNS, if one of the works the other one should also work.
@chiraag-nataraj commented on GitHub (Dec 9, 2018):
Closing since the OP has left Github. If someone thinks we should leave this open, feel free to re-open.