FS#44644 - [networkmanager] dns=dnsmasq stalls Firefox, Epiphany on dual stack networks
Attached to Project:
Arch Linux
Opened by John Pham (jhnphm) - Sunday, 19 April 2015, 12:02 GMT
Last edited by Toolybird (Toolybird) - Friday, 02 June 2023, 22:34 GMT
Opened by John Pham (jhnphm) - Sunday, 19 April 2015, 12:02 GMT
Last edited by Toolybird (Toolybird) - Friday, 02 June 2023, 22:34 GMT
|
Details
Description:
Often, setting dns=dnsmasq is desirable in /etc/NetworkManager/NetworkManager.conf especially when using VPNs and local DNS at the same time. Please refer to http://blog.nixpanic.net/2013/03/use-dnsmasq-for-separating-dns-queries.html . Unfortunately this seems to break IPv6 in Firefox and Epiphany, as by default NetworkManager launches dnsmasq to only listen on 127.0.0.1 . Firefox and Epiphany will attempt to do dns queries over IPv6 first, and only after some time will fallback to IPv4. Chrome is not affected. In order to fix this, a file can be created at /etc/NetworkManager/dnsmasq.d/ipv6_listen.conf with the contents listen-address=::1, which adds listening to the ipv6 loopback as well. Additional info: Tested w/ networkmanager 1.0.0-2 Steps to reproduce: Edit /etc/NetworkManager/NetworkManager.conf and add dns=dnsmasq under [main] Enable dual stack ipv6 on network dig -6 google.com stalls, as well as attempting to watch youtube on Firefox or Epiphany |
This task depends upon
Closed by Toolybird (Toolybird)
Friday, 02 June 2023, 22:34 GMT
Reason for closing: Upstream
Additional comments about closing: Old and stale. If it's still an issue, it needs to be reported upstream as per PM's comment.
Friday, 02 June 2023, 22:34 GMT
Reason for closing: Upstream
Additional comments about closing: Old and stale. If it's still an issue, it needs to be reported upstream as per PM's comment.
[EDIT] Actually, Firefox stalling is due to it's improper implementation of happy eyeballs, combined w/ youtube's broken IPV6. https://bugzilla.mozilla.org/show_bug.cgi?id=1136484
Implementing this is still required for ipv6 transport to work where it previously didn't work w/ dnsmasq disabled, but maybe documenting it in the wiki is sufficient.