fix dns resolution