mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1606] youtube-dl domain name resolution does not work if --external-downloader is used #1073
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#1073
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 @Ryujinra on GitHub (Oct 14, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1606
youtube-dl cannot resolve domain names unless I disable the protocol filter. Does the filter break local DNS resolvers?
UPDATE: This does not appear to be an issue with the DNS resolver, but an issue with --external-downloaders flag in youtube-dl in combination with the protocol filter.
@SkewedZeppelin commented on GitHub (Oct 14, 2017):
Which DNS resolver are you using? systemd-resolved? NetworkManager internal? NetworkManager dnsmasq?
If you're using systemd-resolved can you try building from source
@Ryujinra commented on GitHub (Oct 14, 2017):
I am using the NetworkManager. I used the AUR package to build from source and still have the issue. I should mention that I was referring to resolvers that are located on the local network and not necessarily on localhost.
@reinerh commented on GitHub (Oct 15, 2017):
Strange, for me it's working with the profile from 0.9.50.
@Ryujinra commented on GitHub (Oct 15, 2017):
I found the source of the issue. This only occurs when you use an external downloader. Try doing:
youtube-dl --external-downloader aria2c [URL]@reinerh commented on GitHub (Oct 20, 2017):
Seems to be related to aria2c. With wget and curl it's working.
@reinerh commented on GitHub (Oct 20, 2017):
Name resolution with aria2c doesn't seem to work:
@veloute commented on GitHub (Nov 15, 2018):
i ran into this problem today and found that sending the argument "--async-dns=false" to aria2 fixed the name resolution problem.
example of what i mean:
youtube-dl -f best --external-downloader aria2c --external-downloader-args "-x 16 -s 16 --async-dns=false" https://www.youtube.com/watch\?v\=xcJtL7QggTI@chiraag-nataraj commented on GitHub (May 20, 2019):
Is this still an issue?
@matu3ba commented on GitHub (Jun 21, 2019):
@chiraag-nataraj For me it works, also without --async-dns. Should be closed.