Merge "Have a new API to get private DNS mode" into sc-dev