How to setup dns proxy on various devices

KODI

No need to do any special settings for KODI if you are using
Macedonina On Demand - with Proxy addon version 3.0 or higher.

If you are using KODI v17 or higher, make sure that "RTMP Input" and "InputStream Adaptive" plugins are enabled