support local dns redirect