return 0 instead for lookup wrong dns and -1 for all others