The parameters of a GET request are passed right in the address bar after a question mark, for example /search?q=dns. Such a request is considered safe and idempotent: it should not change the state of the server, and repeating it yields the same result. Before sending it, the browser finds the server's IP address through DNS — see the article How a browser works for more detail.
The choice of method depends on what the request does:
A simple rule: if you are retrieving data, use GET; if you are sending it, use POST.