Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt Local DNS Mapping
DannyDe last edited by
I wish to try to apply dns mapping within my application.
I want it to act in the same as if I edited the \etc\hosts file to add in an IP and DNS.
Hi and welcome to devnet,
AFAIK, it's not possible on a "per application" basis. Qt's network stack uses what the OS provides.