rust: fix noc-dns-sync warnings

Merged Dmitry Volodin requested to merge noc-fix-dnssync-warn into master

Merge request reports