I was wrong, netstat was not giving me my wan address, it was some other external address. I found that the best solution is to just use dyndns page: http://checkip.dyndns.org or in the ddclient config add this line: use=web, web=http://checkip.dyndns.org