<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Alexandros Kourtis</title>
    <description>The latest articles on DEV Community by Alexandros Kourtis (@alexkourtis).</description>
    <link>https://dev.to/alexkourtis</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F699167%2F229f986f-8cc0-42d6-9f6a-4d35e2915eca.jpg</url>
      <title>DEV Community: Alexandros Kourtis</title>
      <link>https://dev.to/alexkourtis</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/alexkourtis"/>
    <language>en</language>
    <item>
      <title>What is DNS and how does it work?</title>
      <dc:creator>Alexandros Kourtis</dc:creator>
      <pubDate>Tue, 21 Feb 2023 07:09:24 +0000</pubDate>
      <link>https://dev.to/alexkourtis/what-is-dns-and-how-does-it-work-18f7</link>
      <guid>https://dev.to/alexkourtis/what-is-dns-and-how-does-it-work-18f7</guid>
      <description>&lt;h3&gt;
  
  
  What is DNS and how does it work?
&lt;/h3&gt;

&lt;h4&gt;
  
  
  Basic description
&lt;/h4&gt;

&lt;p&gt;DNS, which stands for Domain Name System, is a system that translates human-readable domain names, such as example.com, into IP addresses, which are used by computers to identify each other on the Internet.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmybucketkourtis.s3.eu-west-3.amazonaws.com%2Fgeneral%2Fdns-blog-img01.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmybucketkourtis.s3.eu-west-3.amazonaws.com%2Fgeneral%2Fdns-blog-img01.png" alt="dnsimage" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  The DNS system is composed of several components, including:
&lt;/h4&gt;

&lt;ol&gt;
&lt;li&gt; DNS clients: These are typically your internet-connected devices, such as your computer, phone, or tablet. When you enter a URL into your browser, it sends a DNS query to the nearest DNS resolver.&lt;/li&gt;
&lt;li&gt; DNS resolvers: These are servers that are responsible for looking up IP addresses for domain names. Your ISP or another provider typically provides the DNS resolver. It caches frequently accessed IP addresses, so the queries are resolved more quickly, which saves time and reduces network traffic.&lt;/li&gt;
&lt;li&gt; Root servers: These are the core of the DNS system, and they maintain a database of top-level domain (TLD) servers. They are responsible for handling requests for TLD servers.&lt;/li&gt;
&lt;li&gt; TLD servers: These servers are responsible for resolving queries for domain names with specific top-level domains, such as .com, .net, or .org.&lt;/li&gt;
&lt;li&gt; Authoritative servers: These servers are responsible for holding the IP addresses for domain names.&lt;/li&gt;
&lt;/ol&gt;

&lt;h4&gt;
  
  
  Detailed functionality
&lt;/h4&gt;

&lt;p&gt;When you type a domain name into your web browser, the browser sends a DNS query to the nearest DNS resolver, which then forwards the request to the root server. The root server responds with the location of the TLD server for the top-level domain of the requested domain name.&lt;br&gt;
The DNS resolver then contacts the TLD server and requests the IP address for the requested domain name. The TLD server responds with the location of the authoritative server responsible for the requested domain name.&lt;br&gt;
The DNS resolver then contacts the authoritative server and requests the IP address for the requested domain name. If the authoritative server has the IP address in its database, it responds with the IP address, which the DNS resolver then returns to the DNS client.&lt;br&gt;
Finally, the DNS client uses the IP address to establish a connection with the web server that hosts the requested website, and the website is loaded in the browser.&lt;/p&gt;




&lt;p&gt;Find more here: &lt;/p&gt;

&lt;p&gt;&lt;a href="https://en.wikipedia.org/wiki/Domain_Name_System" rel="noopener noreferrer"&gt;https://en.wikipedia.org/wiki/Domain_Name_System&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And here: &lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.webnic.cc/what-is-a-domain-name-server-dns-and-how-it-works/" rel="noopener noreferrer"&gt;https://www.webnic.cc/what-is-a-domain-name-server-dns-and-how-it-works/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>testing</category>
      <category>softwaredevelopment</category>
    </item>
    <item>
      <title>What is the HTTP protocol? Explained simply for noob web developers 😁</title>
      <dc:creator>Alexandros Kourtis</dc:creator>
      <pubDate>Mon, 23 Jan 2023 12:57:22 +0000</pubDate>
      <link>https://dev.to/alexkourtis/what-is-the-http-protocol-explained-simply-for-noob-web-developers-4one</link>
      <guid>https://dev.to/alexkourtis/what-is-the-http-protocol-explained-simply-for-noob-web-developers-4one</guid>
      <description>&lt;h4&gt;
  
  
  The HTTP Protocol 🤔
&lt;/h4&gt;

&lt;p&gt;It stands for Hypertext Transfer Protocol (HTTP) and it's the system that enables the transferring of data on the internet. A client, e.g. browser, connects to a web server that hosts the resources. Resources are documents such as HTML and PDF files that are identifiable by a unique identifier (URL). &lt;/p&gt;

&lt;p&gt;The HTTP protocol is a two-way communication protocol that sets up the client to make a Request and wait for the server to Respond. &lt;/p&gt;

&lt;h4&gt;
  
  
  What are the most common Request Methods?
&lt;/h4&gt;

&lt;p&gt;GET: the retrieving of information from a specified resource.&lt;/p&gt;

&lt;p&gt;POST: sends a request to the specified resource.&lt;/p&gt;

&lt;p&gt;PUT: changes the resource's representation with the payload.&lt;/p&gt;

&lt;p&gt;DELETE: This command deletes the given resource.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--taquupQJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://s3-us-west-2.amazonaws.com/assertible/blog/swagger-petstore-store-endpoints.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--taquupQJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://s3-us-west-2.amazonaws.com/assertible/blog/swagger-petstore-store-endpoints.png" alt="swagger-petstore-store-endpoints.png (775×319)" width="775" height="319"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  HTTP Messages consist of a Header &amp;amp; a Body
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--7eQX2MJs--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://images.zapier.com/storage/photos/4717d012f26dc6a4928e0d025102af7f.png%3Fformat%3Djpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--7eQX2MJs--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://images.zapier.com/storage/photos/4717d012f26dc6a4928e0d025102af7f.png%3Fformat%3Djpg" alt="https://images.zapier.com/storage/photos/4717d012f26dc6a4928e0d025102af7f.png?format=jpg" width="800" height="560"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A header and body comprise the content of a request and response.&lt;/p&gt;

&lt;p&gt;The header contains the necessary information about the request or response. Additional information might be supplied in the header to modify the request's processing.&lt;/p&gt;

&lt;p&gt;The body of an HTTP message is optional, although it is the vehicle that transports the requested data (text, files, images, etc), also called payload.&lt;/p&gt;

&lt;h4&gt;
  
  
  Status Codes for HTTP
&lt;/h4&gt;

&lt;p&gt;When a request is delivered to the web server, the web server responds with a response. A response will contain a status code as well as headers. The status code is a three-digit integer that indicates the outcome of the request. The status codes are listed below.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--7MWjwtAx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://www.infidigit.com/wp-content/uploads/2019/12/20191227_012601_0000.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--7MWjwtAx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://www.infidigit.com/wp-content/uploads/2019/12/20191227_012601_0000.png" alt="https://www.infidigit.com/wp-content/uploads/2019/12/20191227_012601_0000.png" width="880" height="1907"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;HTTP Protocol is Stateless&lt;/p&gt;

&lt;p&gt;The HTTP protocol is stateless, which means that each transaction (request and response) is independent of the others. There may be use cases where state is necessary, where cookies and sessions are two methods through which a web application can preserve state.&lt;/p&gt;

&lt;p&gt;Original:&lt;br&gt;
&lt;a href="https://dccyberclub.com/html/article.html?titleslug=what-is-the-http-protocol-explained-simply-for-noob-web-developers--"&gt;https://dccyberclub.com/html/article.html?titleslug=what-is-the-http-protocol-explained-simply-for-noob-web-developers--&lt;/a&gt;&lt;/p&gt;

&lt;h5&gt;
  
  
  Sources:
&lt;/h5&gt;

&lt;p&gt;Images are from&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="http://t3.gstatic.com/licensed-image?q=tbn:ANd9GcTCnE9BsTsJ5Cmc5upNpxuaq0CAWQJBYNcspGPTN5nm6QIHYUxuYabeIOQ9DegB8DGk"&gt;http://t3.gstatic.com/licensed-image?q=tbn:ANd9GcTCnE9BsTsJ5Cmc5upNpxuaq0CAWQJBYNcspGPTN5nm6QIHYUxuYabeIOQ9DegB8DGk&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://s3-us-west-2.amazonaws.com/assertible/blog/swagger-petstore-store-endpoints.png"&gt;https://s3-us-west-2.amazonaws.com/assertible/blog/swagger-petstore-store-endpoints.png&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://images.zapier.com/storage/photos/4717d012f26dc6a4928e0d025102af7f.png?format=jpg"&gt;https://images.zapier.com/storage/photos/4717d012f26dc6a4928e0d025102af7f.png?format=jpg&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.infidigit.com/wp-content/uploads/2019/12/20191227_012601_0000.png"&gt;https://www.infidigit.com/wp-content/uploads/2019/12/20191227_012601_0000.png&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
  </channel>
</rss>
