DNS-Abfrage
Zeigt, wie man einen Hostnamen mit QDnsLookup abfragt.
Dieses Beispiel verwendet QDnsLookup, um zu zeigen, wie man einen Hostnamen abfragt und die Ergebnisse in der Befehlszeile ausgibt. Außerdem wird gezeigt, wie man mit QCommandLineParser Befehlszeilenargumente auswerten kann.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.