New core dns resolver api support.