retry on temporary name resolution errors

I noticed this when debugging the issue fixed by f2bf2bc, temporary gaierrors should be retried IMO. Also typo fix while I was at it.

thanks!