Adding config to set localhost as default dns resolver.