[v9_11] Check DNAME resolution via itself

(cherry picked from commit cbdea694)

Closes #2540 (closed)

Merge request reports