add domain search by nsLdhName or nsIp

add domain search by nsLdhName or nsIp