altered logic to resolve DNS alias too
altered logic to resolve DNS alias too

kozloski/dbatools,sqlpadawan/dbatools,dsolodow/dbatools,wsmelton/dbatools,alevyinroc/dbatools,Splaxi/dbatools,SirCaptainMitch/dbatools