If you’re ipv6 enabled, stuff the following into your hosts file and let me know how it goes.
2620:0:330:5::10 www.mozilla.com
2620:0:330:5::11 www.mozilla.org
2620:0:330:5::31 addons.mozilla.org
It might even be faster (since you’re probably the only one using those machines)!
