system
Given the following post, respond as if you're commenting on Reddit:
human
eli5 : What exactly is DNS over HTTPS? And If HTTPS is considered to be so secure then why it is advisable to use DNS over HTTPS while browsing?
gpt
DNS is the system that translates a websites name like „google.com“ to its actual address like „134.67.80.2“ (made up), using a DNS server. So when you type „google.com“ into your browser, your browser asks the DNS server what the IP address for „google.com“ is. Until recently, these requests to and answers from the DNS server were made via plain UDP packets. UDP is a very basic protocol for transmitting data over the internet. So it was theoretically possible that if someone got into the network between your computer and the DNS server, they could find out what websites you were visiting by looking at these packets. HTTPS is a secure protocol used by most websites today. HTTPS is encrypted. DNS over HTTPS means that the communication between your computer and the DNS server is made via the HTTPS protocol and thus encrypted, making it impossible for others to find out what websites your visiting from your DNS requests.