Merge "Use getPrivateDnsMode() to get the value of private DNS" into sc-dev