Using IPv6 by default with wget

October 31st, 2007 by Samuel Tardieu

I was surprised to see that wget chose to use IPv4 over IPv6 when downloading a file. It looks like it is on purpose (I would call it a bad design choice). You can tell wget to prefer IPv6 over IPv4 by putting the following line
prefer-family = IPv6

in either /etc/wgetrc (system wide) or $HOME/.wgetrc (user […]


Creative Commons License