Computer networks such as the internet rely on Domain Name Service (DNS) lookups. This is usually done on remote central servers, but can also be used locally.
There are two classes for doing network lookups—QDnsLookup and QHostInfo. QHostInfo will provide simple IP address lookups for a hostname. It is really just looking up an IP address using a hostname. Let's look at how we can use this.