<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Pallavi bhatiya on Medium]]></title>
        <description><![CDATA[Stories by Pallavi bhatiya on Medium]]></description>
        <link>https://medium.com/@pallavibhatia1246?source=rss-1acd00a59a99------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*OU3S2Nx13zonmuyE6vaAmA.png</url>
            <title>Stories by Pallavi bhatiya on Medium</title>
            <link>https://medium.com/@pallavibhatia1246?source=rss-1acd00a59a99------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 12:10:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pallavibhatia1246/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[YouTube Buffers in Low Network Connection but Video Calls Don’t Stop]]></title>
            <link>https://medium.com/@pallavibhatia1246/youtube-buffers-in-low-network-connection-but-video-calls-dont-stop-c67c1779cb0d?source=rss-1acd00a59a99------2</link>
            <guid isPermaLink="false">https://medium.com/p/c67c1779cb0d</guid>
            <category><![CDATA[tcp]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[vc]]></category>
            <category><![CDATA[udp]]></category>
            <dc:creator><![CDATA[Pallavi bhatiya]]></dc:creator>
            <pubDate>Tue, 01 Dec 2026 09:11:14 GMT</pubDate>
            <atom:updated>2026-12-01T09:11:14.525Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f9KfAnAna8xiVnWk0sEIVQ.png" /></figure><p>Have you ever noticed something interesting?</p><p>When we’re watching a YouTube video with a slow internet connection, the video suddenly stops, and that little loading circle appears on our screen.</p><p>But when we’re on a video call with the same slow internet, something different happens. The video might become blurry, the voice might break, or the person might freeze for a second, but the call usually keeps going.</p><p>I recently found myself wondering why this happens. Both activities involve sending and receiving video over the internet, so why do they behave so differently?</p><p>Turns out, the answer lies in two important networking protocols: <strong>TCP and UDP.</strong></p><p>Let’s understand them in simple terms.</p><h3>First, what actually happens when we use the internet?</h3><p>Everything we do online, whether it’s watching a video, sending a message, or opening a website, involves data travelling across networks.</p><p>But this data isn’t usually sent as one big piece. It’s broken down into smaller units called <strong>packets</strong>.</p><p>Think of packets as small pieces of a bigger puzzle. When they reach their destination, they are used to put the information back together.</p><p>TCP and UDP are two different protocols that decide how these packets are delivered.</p><h3>1. TCP — When getting everything right matters</h3><p>We can Imagine ordering something online.</p><p>The delivery person brings your package, asks you to confirm that you’ve received it, and makes sure nothing is missing. If something gets lost along the way, they arrange to send it again.</p><p>That’s somewhat how <strong>TCP (Transmission Control Protocol)</strong> works.</p><p>TCP makes sure that:</p><ul><li>Data reaches its destination.</li><li>Packets arrive in the correct order.</li><li>Lost packets are detected and retransmitted.</li><li>The receiver gets reliable, complete data.</li></ul><p>Of course, all these checks take some time, which can introduce delays.</p><p><strong>Where is TCP used?</strong></p><ul><li>Websites</li><li>Emails</li><li>File downloads</li><li>Online payments</li><li>Traditional video streaming</li></ul><p>The main idea is simple: accuracy and reliability matter more than immediate delivery.</p><h3>2. UDP — When speed matters more than perfection</h3><p>Now imagine you’re having a phone conversation with someone.</p><p>If you miss a word because of a network issue, you don’t ask the other person to stop, go back, and repeat every word at exactly the same moment. The conversation continues.</p><p>That’s the basic idea behind <strong>UDP (User Datagram Protocol)</strong>.</p><p>UDP sends packets without waiting for individual acknowledgements or automatically retransmitting lost packets.</p><p>This means:</p><ul><li>Less communication overhead.</li><li>Lower latency in many situations.</li><li>Packets can get lost.</li><li>Packets may arrive out of order.</li></ul><p><strong>Where is UDP used?</strong></p><ul><li>Video calls</li><li>Online gaming</li><li>Voice calls</li><li>Live streaming applications</li><li>The priority here is delivering information quickly, even if a little information gets lost along the way.</li></ul><h3>So, why does YouTube buffer while video calls keep going?</h3><p>This is where things get interesting.</p><p><strong>YouTube:</strong></p><p>A YouTube video is already recorded. It doesn’t matter if I watch a particular second right now or a few seconds later.</p><p>If some data is missing, the player can wait for it to arrive before continuing playback.</p><p>That waiting time is what we experience as buffering.</p><p><strong>Video calls:</strong></p><p>A video call is happening in real time.</p><p>Imagine your friend saying something right now. If a packet containing half a second of their voice gets lost, retransmitting it a few seconds later isn’t very useful. By then, the conversation has already moved forward.</p><p>So, instead of waiting for every missing packet, real-time communication applications can continue with the information they have.</p><p>That’s why the video might become blurry, the audio might break, or a frame might freeze briefly instead of the entire call stopping.</p><h3>Why do banks and websites need TCP?</h3><p>Think about making an online payment of ₹500.</p><p>You wouldn’t want the payment information to get lost, arrive incorrectly, or be processed with missing data.</p><p>The same applies when opening websites, submitting forms, or downloading important files.</p><p>These activities need reliable data delivery. That’s why protocols such as TCP are important.</p><h3>A simple way to remember the difference</h3><p>I like thinking about it this way:</p><ul><li><strong>TCP is like sending a letter.</strong> You want it to reach the destination completely, even if it takes a little longer.</li><li><strong>UDP is like having a phone conversation.</strong> You want the conversation to keep moving, even if you occasionally miss a word.</li></ul><p>Or, in one line:</p><blockquote><em>TCP would rather be late than wrong. UDP would rather be wrong than late.</em></blockquote><h3>A small note: What about HTTP/3?</h3><p>While exploring this topic, I also came across something interesting: HTTP/3.</p><p>Traditionally, HTTP/1.1 and HTTP/2 use TCP for communication. But HTTP/3 works differently.</p><p>It uses a protocol called <strong>QUIC</strong>, which runs over UDP.</p><p>Now, this doesn’t mean QUIC simply ignores lost data. It actually provides reliability, retransmission, and other features while using UDP as its transport layer.</p><p>In simple terms, QUIC combines reliable data delivery with features designed to reduce connection delays and improve performance.</p><p>It’s a good example of how networking keeps evolving.</p><h3>Conclusion</h3><p>What started as a simple observation while watching YouTube turned into an interesting lesson about how the internet works.</p><p>Now I understand why a YouTube video might stop to buffer while a video call continues with a few glitches.</p><p>It’s not that one protocol is better than the other. They are designed for different requirements.</p><p>Sometimes, getting every single piece of data correctly matters more. At other times, receiving information immediately matters more than receiving it perfectly.</p><p>And that’s what makes networking interesting. Even something as ordinary as watching a video or making a phone call involves some clever decisions happening behind the scenes.</p><h3>Let’s keep learning. ❤️</h3><p>If this article made a confusing tech concept a little clearer, consider giving it a clap and sharing it with someone who might find it useful.</p><p><strong>What’s your take?</strong> Have you experienced, tested or learned something interesting about this topic? I’d love to hear about it in the comments.</p><p>If you’re interested in technology, software, networking, cybersecurity and the things I explore along the way, follow me for more.</p><p><strong>Let’s connect beyond here, too.</strong></p><ul><li><a href="https://www.linkedin.com/in/pallavibhatiya/">LinkedIn</a></li><li><a href="https://github.com/PallaviB2025">GitHub</a></li><li><a href="https://www.instagram.com/techwithpallaveeeeee">Instagram</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c67c1779cb0d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Terminal vs Console vs Shell vs CMD vs Bash:Why Are There So Many Names?]]></title>
            <link>https://medium.com/@pallavibhatia1246/terminal-vs-console-vs-shell-vs-cmd-vs-bash-why-are-there-so-many-names-4545a4391fc2?source=rss-1acd00a59a99------2</link>
            <guid isPermaLink="false">https://medium.com/p/4545a4391fc2</guid>
            <category><![CDATA[cmd]]></category>
            <category><![CDATA[bash]]></category>
            <category><![CDATA[curiosity]]></category>
            <category><![CDATA[terminal]]></category>
            <dc:creator><![CDATA[Pallavi bhatiya]]></dc:creator>
            <pubDate>Thu, 19 Nov 2026 16:29:47 GMT</pubDate>
            <atom:updated>2026-11-19T16:29:47.105Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IEYnNDTiqhaCfUb1PmQmPQ.png" /><figcaption>Terminal vs Console vs Shell vs CMD vs Bash:Why Are There So Many Names?</figcaption></figure><p>Terminal vs Console vs Shell vs CMD vs Bash:Why Are There So Many Names?</p><p>When I first started exploring command-line tools, I kept coming across terms like Terminal, Shell, CMD, PowerShell, Bash, and Console.</p><p>Honestly, I thought they were all different names for the same thing because they seemed to perform similar tasks.</p><p>But as I explored further, I realized that they are actually different components working together.</p><p>Let&#39;s understand what makes them different.</p><p>1. Understanding the Basics</p><p>Normally, we interact with computers using a mouse, clicking folders and buttons to perform tasks.</p><p>But there is another way to communicate with a computer: by typing commands.</p><p>For example:</p><p>- &quot;mkdir Project&quot; – Creates a folder.<br>- &quot;cd Documents&quot; – Opens the Documents directory.<br>- &quot;dir&quot; – Lists files in CMD.<br>- &quot;ls&quot; – Lists files in Bash.</p><p>This way of interacting with a computer is called a Command-Line Interface (CLI).</p><p>While exploring this, I realized that typing a command, understanding it, and executing it are different steps. That&#39;s where Terminal and Shell come in.</p><p>2. What Is a Terminal?</p><p>The first question was: Where exactly do we type these commands?</p><p>The answer is Terminal.</p><p>Think of it as a window through which we communicate with our computer. Just like WhatsApp provides an interface to send messages, a Terminal provides an interface to enter commands and see their output.</p><p>For example, Windows Terminal is an application where we can type commands.</p><p>Other examples include:</p><p>- Windows Terminal<br>- GNOME Terminal (Linux)<br>- iTerm2 (macOS)</p><p>What I understood: Terminal is where we type commands and see the results. It doesn&#39;t decide what those commands mean.</p><p>3. What Is a Shell?</p><p>Now the next question was: If Terminal doesn&#39;t understand commands, then who does?</p><p>That&#39;s where I discovered the Shell.</p><p>A Shell is a program that reads and interprets commands and requests the operating system to perform the required actions.</p><p>For example, when we type:</p><p>&quot;mkdir MyFolder&quot;</p><p>Here&#39;s what happens:</p><p>1. We type the command in the Terminal.<br>2. The Shell understands that a folder needs to be created.<br>3. It requests the operating system to perform the action.<br>4. The result appears in the Terminal.</p><p>This made one thing clear:</p><p>- Terminal: Where we type commands.<br>- Shell: What understands our commands.</p><p>4. Then What Are CMD, PowerShell, and Bash?</p><p>This was the biggest confusion for me until I discovered that CMD, PowerShell, and Bash are different types of Shells.</p><p>Just like Chrome, Firefox, and Edge are different web browsers, these are different command-line shells.</p><p>Let&#39;s understand them.</p><p>A. CMD (Command Prompt)</p><p>CMD is the traditional command-line shell of Windows.</p><p>When we open Command Prompt, we are using a program called &quot;cmd.exe&quot;.</p><p>For example:</p><p>- &quot;dir&quot; – Lists files and folders.<br>- &quot;cd Documents&quot; – Changes the current directory.<br>- &quot;mkdir Project&quot; – Creates a new folder.</p><p>B. PowerShell</p><p>PowerShell is another shell developed by Microsoft.</p><p>While exploring it, I found that it offers more advanced features for system management and automation.</p><p>For example:</p><p>- &quot;Get-Process&quot; – Displays running processes.<br>- &quot;Get-Location&quot; – Shows the current location.<br>- &quot;Get-ChildItem&quot; – Lists files and folders.</p><p>Its biggest difference is that PowerShell passes structured objects through its pipeline instead of relying primarily on plain text.</p><p>C. Bash</p><p>Bash stands for Bourne Again Shell.</p><p>It is a popular shell used in Linux and other Unix-like environments.</p><p>Some common commands are:</p><p>- &quot;pwd&quot; – Shows the current location.<br>- &quot;ls&quot; – Lists files and folders.<br>- &quot;mkdir Project&quot; – Creates a new folder.</p><p>Bash is widely used by developers for scripting, automation, and working with Linux servers.</p><p>5. CMD vs PowerShell vs Bash: What&#39;s the Difference?</p><p>After understanding them separately, comparing them side by side made things much easier.</p><p>Feature| CMD| PowerShell| Bash<br>Type| Shell| Shell| Shell<br>Common environment| Windows| Windows and cross-platform| Linux and Unix-like<br>List files| &quot;dir&quot;| &quot;Get-ChildItem&quot;| &quot;ls&quot;<br>Current location| &quot;cd&quot;| &quot;Get-Location&quot;| &quot;pwd&quot;<br>Pipeline| Text| Objects| Text streams</p><p>One interesting difference I discovered was how they share information between commands.</p><p>For example:</p><p>Bash:<br>&quot;ps aux | grep chrome&quot;</p><p>It passes text output from one command to another.</p><p>PowerShell:<br>&quot;Get-Process | Where-Object {$_.WorkingSet64 -gt 100MB}&quot;</p><p>It passes structured process objects and filters them using their properties.</p><p>That&#39;s what makes PowerShell&#39;s object-based pipeline different.</p><p>6. What Is a Console?</p><p>One term was still confusing: Console.</p><p>Historically, computers used physical devices with keyboards and screens to communicate with the computer. These were associated with the term Console.</p><p>Today, Console can refer to a computer&#39;s control interface, a text-based input/output interface, or a component such as Windows Console Host.</p><p>So, Console is not another name for CMD or PowerShell. Its meaning depends on the context.</p><p>7. How Do They All Work Together?</p><p>This was the part that finally connected everything for me.</p><p>Imagine opening Windows Terminal and selecting PowerShell.</p><p>Now type:</p><p>&quot;mkdir CollegeProject&quot;</p><p>What happens?</p><p>1. Windows Terminal: Provides the window where we type.<br>2. PowerShell: Understands the command.<br>3. Operating System: Creates the folder.<br>4. Windows Terminal: Displays the result.</p><p>Now replace PowerShell with CMD.</p><p>The Terminal can remain exactly the same, but the Shell changes!</p><p>Windows Terminal can run different shells, such as CMD, PowerShell, and Bash (through WSL, when installed).</p><p>This is the biggest difference: Terminal is the application, while CMD, PowerShell, and Bash are shells that can run inside it.</p><p>8. Quick Takeaway</p><p>After exploring all these concepts, here&#39;s the simplest way to remember them:</p><p>1. Console: A computer&#39;s control or input/output interface.<br>2. Terminal: The application where we type commands and see output.<br>3. Shell: The program that understands and interprets commands.<br>4. CMD: Traditional Windows command-line shell.<br>5. PowerShell and Bash: Other shells with their own commands and capabilities.</p><p>Remember this one sentence:</p><p>Terminal is where we type, Shell is what understands, and the Operating System performs the requested work.</p><p>9. Test Your Understanding</p><p>Before finishing, try answering these questions:</p><p>1. Is Windows Terminal a Shell or a Terminal?<br>2. Is PowerShell a Terminal or a Shell?<br>3. Can CMD and PowerShell run inside the same Windows Terminal?<br>4. Which shell uses objects in its pipeline: Bash or PowerShell?</p><p>If these questions are clear, the difference between Terminal, Console, Shell, CMD, PowerShell, and Bash should finally make sense!</p><p>Conclusion</p><p>Initially, all these terms seemed confusing because they were often used together.</p><p>But after understanding their individual roles, I realized that they are not the same thing. They are different components that work together to help us communicate with a computer.</p><p>Once the relationship between Terminal and Shell becomes clear, the confusion between CMD, PowerShell, and Bash disappears.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4545a4391fc2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How DHCP Automatically Gives an IP Address? and what is this DORA dance??]]></title>
            <link>https://medium.com/@pallavibhatia1246/how-dhcp-automatically-gives-an-ip-address-and-what-is-this-dora-dance-f72f86019765?source=rss-1acd00a59a99------2</link>
            <guid isPermaLink="false">https://medium.com/p/f72f86019765</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[dhcp]]></category>
            <category><![CDATA[curiosity]]></category>
            <dc:creator><![CDATA[Pallavi bhatiya]]></dc:creator>
            <pubDate>Sun, 01 Nov 2026 17:57:37 GMT</pubDate>
            <atom:updated>2026-11-01T17:57:37.225Z</atom:updated>
            <content:encoded><![CDATA[<p>How DHCP Automatically Gives an IP Address? and what is this DORA dance??</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QAdKP_PMEZhrKQ3_u60vtg.png" /></figure><p>Every time I connect my laptop to Wi-Fi, it gets an IP address. I don’t enter one manually, and I don’t have to figure out which address is available. I realized there’s a whole process running behind something I barely even notice.</p><p>That&#39;s where DHCP comes in.</p><p>First, why does my device even need an IP address?</p><p>IP address is the address our device uses to communicate over a network.</p><p>When I open a website, my laptop needs to send and receive data. For that communication to work, it needs an IP address.</p><p>So, what exactly is DHCP?</p><p>DHCP stands for Dynamic Host Configuration Protocol.</p><p>In simple terms, it automatically provides devices with IP addresses and other network settings, such as the default gateway and DNS servers.</p><p>Without DHCP, I’d have to configure these settings manually on every device.DHCP saves us from that hassle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4rFfF9uc-M2XZBOufXQpgQ.jpeg" /></figure><p>But how does a device automatically receives an IP address when it doesn’t even have one yet?</p><p>That&#39;s where things get interesting.</p><p>The DORA process: It’s how DHCP assigns an IP address</p><p>DHCP follows a four-step process called DORA.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vujOWWwOhE49lnd4mmz9Bg.jpeg" /></figure><p>DORA stands for:</p><p>- Discover<br>- Offer<br>- Request<br>- Acknowledge</p><p>Here&#39;s how I understand it:</p><p>my device asks for network configuration, a DHCP server offers an available address, my device requests that address, and the server confirms the assignment.</p><p>Now, let&#39;s break down what happens at each step.</p><p>1. Discover: My device looks for a DHCP server</p><p>When my laptop joins a network, it needs an IP address, but it doesn&#39;t have a valid one yet.</p><p>So, it sends a DHCP Discover message to find a DHCP server.</p><p>Because the laptop doesn&#39;t know the server&#39;s address, it initially sends a broadcast on the local network.</p><p>In a typical IPv4 DHCP exchange, the client uses &quot;0.0.0.0&quot; as its source IP and &quot;255.255.255.255&quot; as the destination IP.</p><p>Basically, my laptop is asking:</p><p>&quot;Is there a DHCP server here that can give me an IP address?&quot;</p><p>2. Offer: The server responds</p><p>The DHCP server receives the Discover message and checks which addresses it can offer from its configured address pool.</p><p>It then sends a DHCP Offer containing a proposed IP address and other configuration information.</p><p>For example, the server might offer &quot;192.168.1.25&quot;.</p><p>My laptop now has an offer, but the address hasn&#39;t been fully assigned yet.</p><p>3. Request: My device chooses an offer</p><p>My laptop sends a DHCP Request to indicate that it wants to use the offered IP address.</p><p>This message also helps DHCP servers identify which offer the client has selected, particularly when multiple servers respond.</p><p>Think of it as saying:</p><p>&quot;I&#39;d like to use the address you offered me.&quot;</p><p>4. Acknowledge: The server confirms the assignment</p><p>Finally, the DHCP server sends a DHCP Acknowledgment, commonly called DHCP ACK.</p><p>This confirms the lease and provides the configuration the client should use.</p><p>My laptop can now configure its network interface with the assigned IP address and communicate over the network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PeEsboIlrh9mgRzPGnAM9A.jpeg" /></figure><p>That&#39;s the DORA process: Discover, Offer, Request, Acknowledge.</p><p>Four messages, and my device has its network configuration without me manually entering an IP address.</p><p>But where do these broadcast messages actually go?</p><p>This was one of the things I wanted to understand better.</p><p>When my laptop broadcasts a DHCP Discover message, does every device connected to the internet receive it?</p><p>No.</p><p>The initial broadcast is confined to the local Layer 2 broadcast domain, typically the same VLAN.</p><p>A router doesn&#39;t normally forward an IPv4 limited broadcast such as &quot;255.255.255.255&quot; to other networks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e26fbngQPUxtiDx-OyIMTg.jpeg" /></figure><p>So, what happens if the DHCP server is on a different network?</p><p>That&#39;s where a DHCP relay agent comes in. It forwards DHCP requests between the client&#39;s network and a DHCP server on another network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wk9JwklFPl4ZG_4mmSn8nQ.jpeg" /></figure><p>This allows organizations to serve multiple networks without needing a separate DHCP server on every subnet.</p><p>Does my device get the same IP address every time?</p><p>Not necessarily.</p><p>DHCP generally assigns IP addresses through a lease, meaning the client can use the address for a specified period.</p><p>When the lease approaches expiration, the client can attempt to renew it.</p><p>If I disconnect from Wi-Fi and reconnect later, I might receive the same address again. But DHCP can assign a different one, depending on the server&#39;s configuration and address availability.</p><p>The important thing is that dynamic addressing doesn&#39;t mean my IP address must change every time I connect.</p><p>It means the address is managed through DHCP rather than requiring manual configuration.</p><p>If DHCP keeps reusing IP addresses, why is IPv4 running out?</p><p>This was another question I had.</p><p>IPv4 uses 32-bit addresses, providing approximately 4.3 billion possible address combinations.</p><p>That might sound like a lot, but there are far more devices and network connections than there are publicly usable IPv4 addresses.</p><p>DHCP helps manage address allocation, but it doesn&#39;t create additional IPv4 addresses.</p><p>And there&#39;s another important piece: NAT, which stands for Network Address Translation.</p><p>NAT allows multiple devices on a private network to share a public IPv4 address when communicating with external networks.</p><p>For example, my laptop, phone, and smart TV can all use private IP addresses on my home Wi-Fi while sharing the same public IPv4 address for internet access.</p><p>That&#39;s one reason a household doesn&#39;t need a separate public IPv4 address for every device.</p><p>DHCP and NAT solve different problems: DHCP manages network configuration, while NAT translates addresses between networks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*piVlhEsTQJVg1UW0hHh9rQ.jpeg" /></figure><p>What happens if DHCP fails?</p><p>If a device can&#39;t obtain a valid IP configuration, it might not be able to communicate normally on the network.</p><p>A few possible causes include:</p><p>- The DHCP server is unavailable.<br>- The address pool has no available addresses.<br>- A network or relay configuration is incorrect.<br>- The device can&#39;t communicate with the server.</p><p>On some operating systems, a device may automatically assign itself an IPv4 link-local address in the &quot;169.254.0.0/16&quot; range.</p><p>However, that doesn&#39;t mean DHCP has successfully assigned an address. Link-local addressing is intended for communication on the local link and doesn&#39;t provide normal internet connectivity by itself.</p><p>So, when a device connects to Wi-Fi but can&#39;t access the internet, DHCP is one of the things worth checking.</p><p>What I took away from learning DHCP</p><p>Before looking into DHCP, I knew my devices received IP addresses automatically. I just hadn&#39;t thought much about what made that possible.</p><p>Now, I understand that there&#39;s a process behind it.</p><p>My device discovers a DHCP server, receives an offer, requests an address, and gets confirmation through the DORA process.</p><p>I also learned that DHCP broadcasts don&#39;t travel everywhere, leases help manage address allocation, and DHCP isn&#39;t the same thing as NAT.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f72f86019765" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DNS Is Much More Than Just the Phonebook of the Internet]]></title>
            <link>https://medium.com/@pallavibhatia1246/dns-is-much-more-than-just-the-phonebook-of-the-internet-a602964ad57f?source=rss-1acd00a59a99------2</link>
            <guid isPermaLink="false">https://medium.com/p/a602964ad57f</guid>
            <category><![CDATA[computer-networking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[dns]]></category>
            <category><![CDATA[dns-servers]]></category>
            <dc:creator><![CDATA[Pallavi bhatiya]]></dc:creator>
            <pubDate>Fri, 31 Jul 2026 09:46:16 GMT</pubDate>
            <atom:updated>2026-07-31T09:46:16.882Z</atom:updated>
            <content:encoded><![CDATA[<p><em>What capturing my own DNS traffic taught me about how the Internet actually works.</em></p><p><strong>By Pallavi Bhatia</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wCqhL8iwrVm1tpUukPp58Q.png" /></figure><p>Like many students, even I always believed DNS had one simple responsibility i.e to <em>Convert a domain name into an IP address.</em></p><p>That’s the explanation I had heard in classrooms, YouTube videos, and networking tutorials. It made sense, so I never questioned it. If someone asked me what happens when I type chatgpt.com</p><p>I would say chatgpt.com → 172.xx.xx.xx and end of story.</p><p>Or at least that’s what I thought.</p><p>Recently, while learning networking, I decided to capture my own DNS traffic using Wireshark. I expected to see one request and one IP address. Instead, I discovered something much more interesting</p><p>Before opening Wireshark, I cleared my DNS cache so Windows wouldn’t answer using previously stored information. Then I started capturing packets. I applied a simple filter: dns</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gP4sGc_iKRBDDDM2LHdFDg.png" /></figure><p>Finally, I opened a few websites, including ChatGPT, Microsoft Teams, Google, and OpenAI. Within seconds, Wireshark filled with DNS packets.At first, everything looked confusing.There were queries, Responses, A Records, HTTPS Records, CNAMEs, NS Records, SOA Records.I realized DNS wasn’t doing one job but It was performing several.</p><h3>The First Thing I Saw was DNS Queries</h3><p>One of the first packets looked something like this:</p><p>Standard Query</p><p>A chatgpt.com</p><p>This packet was sent from my laptop to my configured DNS resolver.In simple words, my computer was asking:<em>“Can you tell me the IPv4 address of chatgpt.com?” . </em>This is called a <strong>DNS Query</strong>. But Nothing surprising so far.</p><h3>Then Came the Response</h3><p>A moment later, another packet appeared.</p><p>Standard Query Response</p><p>A 172.xxx.xxx.xxx</p><p>The DNS server answered with the IPv4 address.This is exactly what I originally thought DNS did. For a second, I felt like my understanding was correct.</p><p>But then I kept scrolling.And that’s when things became interesting.</p><h3>Wait… Why Are There So Many Different Record Types?</h3><p>Instead of seeing only A Records, I noticed several other records appearing repeatedly. I had never paid attention to them before.</p><p>Let’s look at what each one actually means.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4g_TMw-wFH4PQ_YRb4f0DA.png" /></figure><h3>A Record: The One We All Know</h3><p>An A Record maps a domain name to an IPv4 address. For example: chatgpt.com → 172.xx.xx.xx. This is the record your browser usually needs before it can connect to a website. This was the only part of DNS I knew before doing this experiment.</p><h3>HTTPS Record :A Surprise</h3><p>One thing that immediately caught my attention was something called an <strong>HTTPS Record </strong>. I had never seen this before.Instead of only asking <em>“What’s the IP address?” </em>my browser was also asking for HTTPS-related information. Modern browsers use these records to learn how they should connect securely. For example, whether a website supports newer protocols like HTTP/3 and QUIC.</p><p>I had always assumed browsers simply requested an IP address. Turns out they often ask for much more.</p><h3>CNAME : “Go Ask Someone Else”</h3><p>This record confused me the most. Initially, I expected every domain to directly return an IP address. Instead, I found records like this: teams.events.data.microsoft.com → CNAME teams-events-data.trafficmanager.net</p><p>At first I had no idea what this meant. After reading more, I understood that a CNAME doesn’t give you the final answer. Instead, it says: <em>“The actual destination is another hostname.”</em></p><p>That’s exactly how a CNAME works.</p><p>Website → CNAME → Another Hostname →IP Address</p><p>This approach makes it much easier for companies to move services, use CDNs, and balance traffic without changing every domain individually.</p><h3>NS Records: Who Owns This Domain?</h3><p>Another record I kept seeing was the NS Record. NS stands for <strong>Name Server</strong>. These records answer a completely different question. Instead of telling your browser where the website is located, they tell the Internet: <em>“Which DNS servers are responsible for this domain?”</em></p><p>Without these records, DNS wouldn’t know where to continue searching for answers.</p><h3>SOA Record: The Official Source</h3><p>SOA stands for <strong>Start of Authority</strong>. This was another record I had never heard of before. It contains administrative information about a DNS zone, including:</p><ul><li>Primary authoritative server</li><li>Serial number</li><li>Refresh interval</li><li>Retry interval</li><li>Expiration time</li></ul><p>In simple words, it’s like the official information sheet for that domain’s DNS configuration.</p><h3>So… Is DNS Really Just a Phonebook?</h3><p>Not anymore. Calling DNS a phonebook isn’t completely wrong.</p><p>But it’s definitely incomplete. A phonebook only stores names and phone numbers. DNS does much more.</p><ul><li>It stores different kinds of records.</li><li>It helps browsers discover services.</li><li>It supports load balancing.</li><li>It works with CDNs.</li><li>It enables modern protocols.</li><li>It caches responses.</li><li>It operates as a globally distributed hierarchical system rather than a single database.</li></ul><p>The deeper I explored, the more I realized how much engineering is hidden behind something we use every single day.</p><p>Before opening Wireshark, I thought DNS looked like this:</p><p>Domain Before opening Wireshark, I thought DNS looked like this:</p><p>Domain → IP Address</p><p>Now I think about it like this:</p><p>Browser → DNS Resolver → Multiple DNS Record Types → Caching → Authoritative Servers → IP Address → Website</p><h3>About the Author</h3><p>Hi! I’m <strong>Pallavi Bhatia</strong>, a final-year BSc IT student exploring Cybersecurity, AI Security, Networking, and Development.</p><p>I’m documenting everything I learn through real experiments, packet captures, projects, and research not because I’m an expert, but because I believe learning in public helps me understand concepts more deeply and might help someone else along the way.</p><p>If this article helped you, I’d love to connect with you on LinkedIn , X or GitHub and continue learning together.</p><ul><li><a href="https://x.com/Pallavi_bhatiya">Pallavi Bhatia (@Pallavi_bhatiya) on X</a></li><li><a href="https://www.linkedin.com/in/pallavibhatiya/">Pallavi Bhatiya - SIES College of Commerce &amp;amp; Economics - Mumbai Metropolitan Region | LinkedIn</a></li><li><a href="https://github.com/PallaviB2025">PallaviB2025 - Overview</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a602964ad57f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>