I was also having this problem.
1) Change the encrypted code that comes standard (
close qrcode)
2) Modify the encrypted code in hik connect also
3)restart Dvr
4) Re-read Qrcode with hik conection
5)When hik connect detects the DVR will appear the option of setting the DNS in blue (click on...