<?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: Frank Zhang</title>
    <description>The latest articles on DEV Community by Frank Zhang (@frankzhang).</description>
    <link>https://dev.to/frankzhang</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4084184%2Fbd788009-bcdc-42d7-8803-4af0a1421140.jpg</url>
      <title>DEV Community: Frank Zhang</title>
      <link>https://dev.to/frankzhang</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/frankzhang"/>
    <language>en</language>
    <item>
      <title>Why Does 9.9.9.9 Take Over 300 ms to Respond? A Real-World Network Troubleshooting Case</title>
      <dc:creator>Frank Zhang</dc:creator>
      <pubDate>Wed, 25 Nov 2026 12:07:09 +0000</pubDate>
      <link>https://dev.to/frankzhang/why-does-9999-take-over-300-ms-to-respond-a-real-world-network-troubleshooting-case-4h37</link>
      <guid>https://dev.to/frankzhang/why-does-9999-take-over-300-ms-to-respond-a-real-world-network-troubleshooting-case-4h37</guid>
      <description>&lt;p&gt;If an IP address responds to a ping, does that necessarily mean the network connection is healthy?&lt;/p&gt;

&lt;p&gt;What if a public DNS resolver is reachable, but its round-trip latency regularly exceeds 300 milliseconds? Is the problem with the local Wi-Fi, the internet service provider, or the network path to the destination?&lt;/p&gt;

&lt;p&gt;On November 25, 2026, a five-round ICMP MTR test was performed on an iPhone against Quad9's public DNS address, &lt;code&gt;9.9.9.9&lt;/code&gt;. The results revealed an interesting network diagnostic case.&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fc5wlmgzxhjtcvuxd492c.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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fc5wlmgzxhjtcvuxd492c.png" alt=" " width="800" height="1576"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 1: Actual diagnostic report. The statistics are based on responses from 9.9.9.9 at hop 12.&lt;/em&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Metric&lt;/th&gt;
&lt;th&gt;Measured result&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Average RTT&lt;/td&gt;
&lt;td&gt;328.6 ms&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Minimum RTT&lt;/td&gt;
&lt;td&gt;256.6 ms&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Maximum RTT&lt;/td&gt;
&lt;td&gt;362.0 ms&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RTT Variation&lt;/td&gt;
&lt;td&gt;27.5 ms&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Probe responses at hop 12&lt;/td&gt;
&lt;td&gt;8/10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;No Reply rate at hop 12&lt;/td&gt;
&lt;td&gt;20.0%&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The destination responded, but the round-trip latency was high, and some probes received no reply.&lt;/p&gt;

&lt;p&gt;These measurements do not mean that a DNS query necessarily takes 328.6 ms, nor do they prove that actual application traffic experiences 20% packet loss. Instead, they raise a more interesting question:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is happening along the network path to this destination?&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Internet Speed and Latency Are Two Different Things
&lt;/h2&gt;

&lt;p&gt;Internet speed tests typically measure data transfer performance between a device and a particular test server. Even a connection with high download bandwidth does not guarantee low latency to every internet service.&lt;/p&gt;

&lt;p&gt;Bandwidth determines how much data can be transferred per unit of time, while RTT (Round-Trip Time) measures how long it takes for a probe to reach its destination and for a response to return.&lt;/p&gt;

&lt;p&gt;For interactive applications such as SSH, online gaming, and remote desktop sessions, latency and connection stability are often more important than peak download speed.&lt;/p&gt;

&lt;p&gt;Think of a highway: its width and the distance you need to travel are two different things. No matter how wide the highway is, it cannot eliminate the time required to travel a long distance.&lt;/p&gt;

&lt;p&gt;No bandwidth test was performed as part of this experiment, so these measurements cannot establish the actual bandwidth of the connection.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Why Choose 9.9.9.9?
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;9.9.9.9&lt;/code&gt; is a public recursive DNS service address operated by Quad9. Quad9 uses Anycast, a networking technique that allows service nodes distributed across different regions to share the same service IP address.&lt;/p&gt;

&lt;p&gt;A single IP address does not necessarily correspond to a single physical server. The internet selects reachable paths using BGP routing and interconnection policies between network operators, rather than simply choosing the geographically closest node.&lt;/p&gt;

&lt;p&gt;As a result, users in different regions, customers of different ISPs, or even the same device switching between Wi-Fi and cellular data may reach the same destination through different network paths.&lt;/p&gt;

&lt;p&gt;However, ping alone only reveals whether the destination responds and how long the round trip takes. It cannot explain what changes along the path.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. From Ping to Traceroute to MTR
&lt;/h2&gt;

&lt;p&gt;Traceroute uses the IPv4 TTL (Time to Live) or IPv6 Hop Limit mechanism to progressively probe intermediate routers. When a packet's TTL expires, a router may return an ICMP Time Exceeded message, allowing the diagnostic tool to identify the corresponding hop.&lt;/p&gt;

&lt;p&gt;Traditional command-line tools can be used as follows:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ping 9.9.9.9
traceroute -n 9.9.9.9
mtr -n -r -c 20 9.9.9.9
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Windows users can run &lt;code&gt;tracert -d 9.9.9.9&lt;/code&gt; to inspect the network path. MTR combines hop-by-hop tracing with response statistics collected over multiple rounds, reducing the risk of drawing conclusions from a single sample.&lt;/p&gt;

&lt;p&gt;But what if the problem occurs on a smartphone's own network connection? A test performed on a computer may not follow the same path.&lt;/p&gt;

&lt;p&gt;This is where &lt;strong&gt;Visual MTR: Traceroute&lt;/strong&gt; comes in. It brings network path probing and visual analysis directly to the iPhone and iPad.&lt;/p&gt;

&lt;p&gt;The following configuration was used for this experiment:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Target: &lt;code&gt;9.9.9.9&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Protocol: ICMP&lt;/li&gt;
&lt;li&gt;Trace mode: MTR Session&lt;/li&gt;
&lt;li&gt;Rounds: 5&lt;/li&gt;
&lt;li&gt;Probes per hop: 2&lt;/li&gt;
&lt;li&gt;Max hops: 30&lt;/li&gt;
&lt;li&gt;Timeout: 1000 ms&lt;/li&gt;
&lt;/ul&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fcnfdag1vahnr3e61lwgu.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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fcnfdag1vahnr3e61lwgu.png" alt=" " width="800" height="1576"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 2: MTR test configuration.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  4. The Heatmap: Where Does High Latency Begin?
&lt;/h2&gt;

&lt;p&gt;A single traceroute makes it difficult to distinguish persistent high latency from occasional spikes. Visual MTR's Hop / Round Heatmap displays the responses from each hop across multiple rounds in a matrix.&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftgargkbwh0k6qf4j3ie6.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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftgargkbwh0k6qf4j3ie6.png" alt=" " width="800" height="1576"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 3: Hop-by-hop, round-by-round probe results. × indicates that no probe response was received for that cell; dots indicate that no data is available for the corresponding round.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Here are several representative hops from the heatmap. All RTT values are in milliseconds.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Hop&lt;/th&gt;
&lt;th&gt;R1&lt;/th&gt;
&lt;th&gt;R2&lt;/th&gt;
&lt;th&gt;R3&lt;/th&gt;
&lt;th&gt;R4&lt;/th&gt;
&lt;th&gt;R5&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;5.7&lt;/td&gt;
&lt;td&gt;17.7&lt;/td&gt;
&lt;td&gt;13.5&lt;/td&gt;
&lt;td&gt;16.4&lt;/td&gt;
&lt;td&gt;17.1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;9&lt;/td&gt;
&lt;td&gt;39.1&lt;/td&gt;
&lt;td&gt;58.6&lt;/td&gt;
&lt;td&gt;×&lt;/td&gt;
&lt;td&gt;54.0&lt;/td&gt;
&lt;td&gt;386.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;td&gt;304.0&lt;/td&gt;
&lt;td&gt;358.7&lt;/td&gt;
&lt;td&gt;365.4&lt;/td&gt;
&lt;td&gt;347.3&lt;/td&gt;
&lt;td&gt;334.5&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;11&lt;/td&gt;
&lt;td&gt;336.0&lt;/td&gt;
&lt;td&gt;384.9&lt;/td&gt;
&lt;td&gt;337.9&lt;/td&gt;
&lt;td&gt;334.5&lt;/td&gt;
&lt;td&gt;335.2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;12&lt;/td&gt;
&lt;td&gt;336.3&lt;/td&gt;
&lt;td&gt;334.6&lt;/td&gt;
&lt;td&gt;×&lt;/td&gt;
&lt;td&gt;334.4&lt;/td&gt;
&lt;td&gt;309.3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;13&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;336.8&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The first hop shows relatively low latency. Hop 9 responds within a few dozen milliseconds in some rounds, but its RTT varies considerably. At hop 10, RTT exceeds 300 ms in all five rounds, and subsequent responses generally remain at similarly high levels.&lt;/p&gt;

&lt;p&gt;This suggests that further investigation should focus on the path around hops 9 and 10, while additional testing could establish whether the high RTT persists over longer periods.&lt;/p&gt;

&lt;p&gt;However, hop-by-hop RTT includes the return path of the probe response and device processing time. Subtracting the RTT values of adjacent hops does not reveal the exact one-way latency of the link between them, nor does this evidence establish that the device at hop 10 is faulty.&lt;/p&gt;

&lt;p&gt;Long-distance transmission, routing decisions, and congestion are all possible explanations that require further verification.&lt;/p&gt;

&lt;h3&gt;
  
  
  Does an Unresponsive Intermediate Hop Mean Packet Loss?
&lt;/h3&gt;

&lt;p&gt;The heatmap shows no probe replies from hop 2 or hops 4 through 7, yet later hops and the destination still respond.&lt;/p&gt;

&lt;p&gt;This is one of the most commonly misunderstood aspects of network troubleshooting. Some routers rate-limit ICMP control messages or do not respond to such probes at all, while continuing to forward application traffic normally.&lt;/p&gt;

&lt;p&gt;An unresponsive intermediate hop is therefore not sufficient evidence of forwarding packet loss. Similarly, the reported 20% No Reply rate at hop 12 describes only the ICMP probe responses included in those statistics. In round 3, a response from the destination IP was also observed at hop 13.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. ASN: Who Operates These Networks?
&lt;/h2&gt;

&lt;p&gt;An IP address identifies a network interface, but it tells us little about the organization behind it. To understand network ownership along a path, we need ASN information.&lt;/p&gt;

&lt;p&gt;An ASN (Autonomous System Number) identifies an autonomous system operating under a common routing policy. Mapping IP addresses to ASNs helps identify network organizations and potential boundaries between networks.&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fy7bt8ofb1imy20nx5qze.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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fy7bt8ofb1imy20nx5qze.png" alt=" " width="800" height="1576"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 4: The ASN Report identifies the destination network while leaving unmapped responders marked as unknown.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;In this report, the destination responses at hops 12 and 13 are mapped to &lt;code&gt;AS19281&lt;/code&gt; (&lt;code&gt;QUAD9-AS-1&lt;/code&gt;). The reported average RTT is 328.6 ms at hop 12 and 336.8 ms at hop 13. Hops 10 and 11 are labeled &lt;strong&gt;Unmapped responder&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The report identifies the network associated with the destination IP, but the available screenshots do not establish which network operators are associated with hops 10 and 11. It would therefore be premature to blame Quad9 for the high latency or claim that a specific interconnection between operators caused it.&lt;/p&gt;

&lt;p&gt;Uncertainty is itself part of network troubleshooting: draw conclusions where the evidence supports them, and leave the rest open for further investigation. Hop-by-hop ASN mapping is also not equivalent to the BGP AS_PATH attribute.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. The 3D Globe: Where Does the Traffic Actually Go?
&lt;/h2&gt;

&lt;p&gt;Once we have IP addresses and ASN information, we can also examine the estimated geographical distribution of responding network nodes.&lt;/p&gt;

&lt;p&gt;Visual MTR's 3D Globe Report displays responding hops with available IP geolocation data on an interactive globe.&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fig7ox4qpejs02m0urrk6.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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fig7ox4qpejs02m0urrk6.png" alt=" " width="800" height="1576"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 5: Geographical visualization of the fifth round, with five geolocated hops and seven unknown hops.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;In this report, the destination IP is geolocated to Berkeley, California, United States. Given how Anycast works, however, this does not prove that the probe actually reached a physical server in Berkeley.&lt;/p&gt;

&lt;p&gt;IP geolocation databases provide estimated locations, and an Anycast IP may correspond to multiple service nodes. The lines on the globe represent logical hop order, not the physical route of fiber-optic cables. They cannot establish that traffic crossed national borders either.&lt;/p&gt;

&lt;p&gt;Nevertheless, this visualization provides another way to understand the distribution of the observed network path and offers clues for further investigation.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. What Should We Test Next?
&lt;/h2&gt;

&lt;p&gt;This ICMP test has revealed high RTT, but it has not established that the actual DNS service is experiencing problems.&lt;/p&gt;

&lt;p&gt;Three follow-up experiments would help narrow down the cause:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Repeat the test at different times of day to determine whether the high latency persists.&lt;/li&gt;
&lt;li&gt;Test the same destination over Wi-Fi and cellular data using the same probe protocol, then compare the paths and RTT measurements.&lt;/li&gt;
&lt;li&gt;Perform an actual DNS query, such as &lt;code&gt;dig @9.9.9.9 example.com&lt;/code&gt;, to measure DNS service response times. TCP traceroute on port 53 or 853 can provide additional path information, but a TCP response alone does not prove that the DNS or TLS application-layer service is working correctly.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These are proposed follow-up experiments. The screenshots in this article document only one ICMP MTR Session and do not contain results from these additional tests.&lt;/p&gt;

&lt;h2&gt;
  
  
  8. From Checking Connectivity to Understanding the Network Path
&lt;/h2&gt;

&lt;p&gt;A reachable destination does not necessarily mean a healthy connection. And identifying high latency does not mean the root cause has already been found.&lt;/p&gt;

&lt;p&gt;Ping helps reveal symptoms. Traceroute helps reveal the path. MTR helps analyze changes over time. ASN information helps identify network ownership. Visual reports bring this information together as evidence that is easier to interpret.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Visual MTR: Traceroute&lt;/strong&gt; combines these capabilities on the iPhone and iPad. Single Trace and Ping are available for free, while MTR Session is a Pro feature, as shown in the screenshots.&lt;/p&gt;

&lt;p&gt;The next time a connection feels slow, consider starting with a real destination and investigating the path your traffic takes, rather than repeatedly running speed tests.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The same destination does not mean the same route. And being reachable does not mean being well connected.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://apps.apple.com/us/app/visual-mtr-traceroute/id6821332849" rel="noopener noreferrer"&gt;Visual MTR: Traceroute — App Store&lt;/a&gt;&lt;/p&gt;




</description>
      <category>networking</category>
      <category>traceroute</category>
      <category>troubleshooting</category>
      <category>ios</category>
    </item>
    <item>
      <title>Your Website Is Online. But Is Your Domain Actually Healthy?</title>
      <dc:creator>Frank Zhang</dc:creator>
      <pubDate>Mon, 23 Nov 2026 12:55:00 +0000</pubDate>
      <link>https://dev.to/frankzhang/your-website-is-online-but-is-your-domain-actually-healthy-3g2f</link>
      <guid>https://dev.to/frankzhang/your-website-is-online-but-is-your-domain-actually-healthy-3g2f</guid>
      <description>&lt;p&gt;&lt;em&gt;A practical guide to checking DNS, SSL certificates, domain expiration, and hidden configuration risks.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A website returning HTTP 200 doesn't necessarily mean everything is healthy.&lt;/p&gt;

&lt;p&gt;Your server might be running perfectly while your domain is approaching expiration. Your DNS records might contain outdated entries. Your SSL certificate could be close to expiring, or a forgotten CNAME record might point to a service you no longer control.&lt;/p&gt;

&lt;p&gt;These problems often remain invisible until something breaks.&lt;/p&gt;

&lt;p&gt;A domain health check looks beyond basic website availability. In this guide, we'll walk through a practical domain inspection using &lt;code&gt;www.apple.com&lt;/code&gt; as an example.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. What Should a Domain Health Check Include?
&lt;/h2&gt;

&lt;p&gt;Before running any diagnostics, it's worth understanding the different layers involved.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Check&lt;/th&gt;
&lt;th&gt;What it tells you&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Registration / RDAP&lt;/td&gt;
&lt;td&gt;Registrar, expiration date, domain status&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DNS&lt;/td&gt;
&lt;td&gt;A, AAAA, CNAME, NS, MX, and other records&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;HTTPS&lt;/td&gt;
&lt;td&gt;Server response and reachability&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SSL/TLS&lt;/td&gt;
&lt;td&gt;Certificate validity, expiration, and trust chain&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Email security&lt;/td&gt;
&lt;td&gt;SPF, DMARC, and mail routing configuration&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DNSSEC&lt;/td&gt;
&lt;td&gt;Whether DNS responses can be cryptographically validated&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Security audit&lt;/td&gt;
&lt;td&gt;Potential dangling CNAMEs and wildcard DNS behavior&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;A successful result in one category doesn't guarantee success in another.&lt;/p&gt;

&lt;p&gt;For example, a website may load normally even though its domain registration is approaching expiration.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Start With a Domain Inspection
&lt;/h2&gt;

&lt;p&gt;For this walkthrough, we'll use &lt;strong&gt;&lt;a href="https://apps.apple.com/us/app/domain-checker-dns-ssl/id6792293532" rel="noopener noreferrer"&gt;Domain Checker: DNS &amp;amp; SSL&lt;/a&gt;&lt;/strong&gt;, an iOS utility that combines common domain diagnostics in one interface.&lt;/p&gt;

&lt;p&gt;Instead of checking individual websites or running separate command-line tools, we can inspect multiple aspects of a domain together.&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F96fojrhckjewiykr7q6f.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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F96fojrhckjewiykr7q6f.png" alt=" " width="800" height="1576"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Screenshot 1 — Bulk import interface.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Open the app, navigate to &lt;strong&gt;Domains&lt;/strong&gt;, and select the bulk import option.&lt;/p&gt;

&lt;p&gt;Enter a domain or URL:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;www.apple.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For multiple domains, enter one per line:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;example.com
api.example.com
mail.example.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The import interface also supports explicit ports.&lt;/p&gt;

&lt;p&gt;Tap &lt;strong&gt;Parse import&lt;/strong&gt; to review the recognized entries before saving them.&lt;/p&gt;

&lt;p&gt;In our example, &lt;code&gt;www.apple.com&lt;/code&gt; is recognized with HTTPS port &lt;code&gt;443&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;After saving, select the domain to open its details.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Reading the Domain Health Report
&lt;/h2&gt;

&lt;p&gt;The domain details page brings together the standard inspection results.&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnp7jc0l5n4cplrxrfb9j.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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnp7jc0l5n4cplrxrfb9j.png" alt=" " width="800" height="1576"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Screenshot 2 — Domain details and inspection settings.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The example is configured as a company website with domain inspection enabled.&lt;/p&gt;

&lt;p&gt;The inspection covers registration, DNS, HTTPS, and TLS information.&lt;/p&gt;

&lt;p&gt;Once the local inspection finishes, its findings appear in a categorized report.&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fw3m1h6wbzjqze0al6u3m.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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fw3m1h6wbzjqze0al6u3m.png" alt=" " width="800" height="1576"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Screenshot 3 — Local inspection report.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Registration: Don't Overlook Expiration
&lt;/h3&gt;

&lt;p&gt;The registration section identifies available domain registration information, including:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Registrar&lt;/li&gt;
&lt;li&gt;Expiration date&lt;/li&gt;
&lt;li&gt;Domain status flags&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In our example, registration information is successfully retrieved for &lt;code&gt;apple.com&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Some status flags, such as &lt;code&gt;clientTransferProhibited&lt;/code&gt;, are common domain protection settings rather than immediate problems.&lt;/p&gt;

&lt;p&gt;The expiration date deserves special attention. A functioning website can still become unavailable if its domain registration expires and is not renewed.&lt;/p&gt;

&lt;h3&gt;
  
  
  DNS: More Than Just an IP Address
&lt;/h3&gt;

&lt;p&gt;DNS records describe how a domain connects to infrastructure and services.&lt;/p&gt;

&lt;p&gt;In this inspection, &lt;code&gt;www.apple.com&lt;/code&gt; resolves through a CNAME chain associated with content delivery infrastructure.&lt;/p&gt;

&lt;p&gt;This is normal for many large websites.&lt;/p&gt;

&lt;p&gt;However, DNS inspection becomes particularly useful when investigating:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Incorrect records after a migration&lt;/li&gt;
&lt;li&gt;Forgotten subdomains&lt;/li&gt;
&lt;li&gt;Unexpected DNS changes&lt;/li&gt;
&lt;li&gt;Broken CNAME targets&lt;/li&gt;
&lt;li&gt;Inconsistent IPv4 and IPv6 configurations&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One important detail: an MX record is not necessarily required for a domain that does not receive email. Missing MX records should be interpreted according to the domain's intended purpose.&lt;/p&gt;

&lt;h3&gt;
  
  
  HTTPS: Does the Server Respond?
&lt;/h3&gt;

&lt;p&gt;The example report shows:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;HTTPS response
HTTP 200 using HEAD
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This confirms that the tested endpoint returned a successful response to the HEAD request.&lt;/p&gt;

&lt;p&gt;However, an HTTP 200 response alone does not verify the full website content, application behavior, or certificate security.&lt;/p&gt;

&lt;p&gt;That's why HTTPS and TLS should be inspected separately.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Going Further With Advanced DNS Diagnostics
&lt;/h2&gt;

&lt;p&gt;Basic checks help identify common configuration problems. More advanced diagnostics can provide additional insight into DNS behavior and potential security risks.&lt;/p&gt;

&lt;p&gt;Domain Checker includes four categories under &lt;strong&gt;PRO Diagnostics&lt;/strong&gt;.&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjuiduos5kfwo38ptb39s.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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjuiduos5kfwo38ptb39s.png" alt=" " width="800" height="1576"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Screenshot 4 — PRO Diagnostics tool selection.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  DNS Comparison
&lt;/h3&gt;

&lt;p&gt;Compare DNS responses across different public resolvers.&lt;/p&gt;

&lt;p&gt;This can help investigate inconsistent DNS answers after changes. Differences are not automatically failures, however: CDN routing, GeoDNS, and resolver location can legitimately affect results.&lt;/p&gt;

&lt;h3&gt;
  
  
  DNSSEC Trust Chain
&lt;/h3&gt;

&lt;p&gt;Examine DNSSEC-related records and signature validation.&lt;/p&gt;

&lt;p&gt;DNSSEC provides a way to authenticate DNS data, helping protect against certain forms of DNS response manipulation. It does not encrypt DNS traffic.&lt;/p&gt;

&lt;h3&gt;
  
  
  Lifecycle &amp;amp; Calendar
&lt;/h3&gt;

&lt;p&gt;Review domain lifecycle information and incorporate important expiration dates into a maintenance schedule.&lt;/p&gt;

&lt;h3&gt;
  
  
  Domain Security Audits
&lt;/h3&gt;

&lt;p&gt;Look for potentially unsafe DNS configurations, including dangling CNAME targets and wildcard resolution behavior.&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhcoenufiqwty1tuipndb.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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhcoenufiqwty1tuipndb.png" alt=" " width="800" height="1576"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Screenshot 5 — Domain security audit results.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Our example displays a CNAME chain associated with Apple's infrastructure.&lt;/p&gt;

&lt;p&gt;The security report also includes an important qualification:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;No NXDOMAIN target was observed in this check. This does not certify takeover protection.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This distinction matters.&lt;/p&gt;

&lt;p&gt;A DNS target resolving successfully does not automatically prove that the associated service is securely owned or configured.&lt;/p&gt;

&lt;p&gt;Security diagnostics provide evidence for investigation, not an absolute guarantee.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Local Checks or Cloud Monitoring?
&lt;/h2&gt;

&lt;p&gt;Not every domain needs continuous monitoring.&lt;/p&gt;

&lt;p&gt;For personal projects, development environments, and occasional maintenance, manual inspections may be sufficient.&lt;/p&gt;

&lt;p&gt;Domain Checker offers local inspection, while network requests are still necessary to query external DNS, registration, and web services.&lt;/p&gt;

&lt;p&gt;For domains that require ongoing attention, the app also offers optional cloud inspection with daily hosted checks and push alerts for important changes, as shown in the domain details interface.&lt;/p&gt;

&lt;p&gt;Cloud monitoring must be explicitly enabled where available.&lt;/p&gt;

&lt;p&gt;The distinction is simple:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Local inspection helps answer: "What is the condition of this domain right now?"&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cloud monitoring helps answer: "Has something important changed since the last check?"&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  6. A Simple Domain Maintenance Routine
&lt;/h2&gt;

&lt;p&gt;You don't need to perform every advanced diagnostic daily.&lt;/p&gt;

&lt;p&gt;A practical maintenance routine might look like this:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Frequency&lt;/th&gt;
&lt;th&gt;Recommended checks&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;After DNS changes&lt;/td&gt;
&lt;td&gt;DNS resolution and HTTPS&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Weekly&lt;/td&gt;
&lt;td&gt;Domain health and unexpected changes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Monthly&lt;/td&gt;
&lt;td&gt;Registration, certificates, and mail security&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Before a migration&lt;/td&gt;
&lt;td&gt;DNS comparison and configuration review&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Periodically&lt;/td&gt;
&lt;td&gt;DNSSEC and security hygiene audits&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;For anyone managing several websites, APIs, or customer domains, having these results in one place makes the review process easier.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final Thoughts
&lt;/h2&gt;

&lt;p&gt;Domain health is not just about whether a website loads.&lt;/p&gt;

&lt;p&gt;Registration, DNS, HTTPS, TLS, and security configurations are separate layers. A problem in any one of them can eventually affect reliability or security.&lt;/p&gt;

&lt;p&gt;The goal of routine inspection is to discover potential issues before they become outages.&lt;/p&gt;

&lt;p&gt;For those who prefer checking domain infrastructure from an iPhone or iPad, &lt;strong&gt;&lt;a href="https://apps.apple.com/us/app/domain-checker-dns-ssl/id6792293532" rel="noopener noreferrer"&gt;Domain Checker: DNS &amp;amp; SSL&lt;/a&gt;&lt;/strong&gt; provides a convenient way to organize domains, run local inspections, and explore more advanced diagnostics when needed.&lt;/p&gt;

&lt;p&gt;A few minutes of preventive checking can save considerably more time during an unexpected incident.&lt;/p&gt;

</description>
      <category>dns</category>
      <category>webdev</category>
      <category>security</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Why Your Smart Plug Shows Up as Just an IP Address</title>
      <dc:creator>Frank Zhang</dc:creator>
      <pubDate>Sun, 22 Nov 2026 01:48:16 +0000</pubDate>
      <link>https://dev.to/frankzhang/why-your-smart-plug-shows-up-as-just-an-ip-address-277i</link>
      <guid>https://dev.to/frankzhang/why-your-smart-plug-shows-up-as-just-an-ip-address-277i</guid>
      <description>&lt;p&gt;You turn on a lamp through a smart plug from your phone, and it works. Then you open a network scanner to see what's on your Wi-Fi. The laptop is listed, and so are the phone and the router. The plug either isn't there or appears as a bare IP address with no name.&lt;/p&gt;

&lt;p&gt;It's online and doing its job, but the scanner can't tell you what it is. Being connected to a network and being recognizable on it are two different things.&lt;/p&gt;

&lt;h2&gt;
  
  
  More devices than most of us can name
&lt;/h2&gt;

&lt;p&gt;Home networks have grown quietly over the years. TVs, cameras, printers, speakers, streaming boxes, a NAS, and a handful of smart plugs all share the same Wi-Fi. It's common to have 20 or 30 connected devices and not be able to name every one.&lt;/p&gt;

&lt;p&gt;That's normal, but it makes one situation awkward. When an unfamiliar entry shows up in your router's device list, it's hard to tell whether it's the new speaker, an old tablet, or something else.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a plain scanner leaves out
&lt;/h2&gt;

&lt;p&gt;Most basic scanners show you what responded, and for smart home gear that often means a list of addresses and not much else. Working out what each entry actually is gets left to you.&lt;/p&gt;

&lt;h2&gt;
  
  
  What WiFi Health Check does
&lt;/h2&gt;

&lt;p&gt;WiFi Health Check is an iPhone and iPad app from OpsHome. Although your iPhone connects through Wi-Fi, the app discovers devices across your accessible local network — including both wired and wireless equipment. It goes beyond IP addresses by identifying device types, recognizing supported hardware, and organizing scan results. It also distinguishes network environments using identifiers such as SSID and BSSID, helping you track devices and changes across different networks.&lt;/p&gt;

&lt;p&gt;We're continuously expanding WiFi Health Check's device recognition capabilities, covering more manufacturers, device categories, and hardware models. The goal is to turn unfamiliar network addresses into a clearer, more useful picture of your connected environment.&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F447632baxetjv2l3djth.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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F447632baxetjv2l3djth.png" alt=" " width="800" height="1576"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  When it comes in handy
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;You just set up a new plug, camera or printer and want to confirm it's on your network.&lt;/li&gt;
&lt;li&gt;Your router lists a device you don't recognize, and you want a lead before worrying about it.&lt;/li&gt;
&lt;li&gt;A NAS or printer stops responding, and you want to see what's still reachable.&lt;/li&gt;
&lt;li&gt;You replaced your router and want to compare the network before and after.&lt;/li&gt;
&lt;li&gt;You run a home lab and want a quick inventory of what's on it.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Privacy
&lt;/h2&gt;

&lt;p&gt;Basic scanning doesn't require an account. Results stay on your device by default, and you decide whether to share a report.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;If you're curious what's on your home Wi-Fi, WiFi Health Check is available for iPhone and iPad. Core features are free, with optional PRO features.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://apps.apple.com/us/app/wifi-health-check/id6791147190" rel="noopener noreferrer"&gt;Download WiFi Health Check on the App Store&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Developed by OpsHome — practical network tools for everyday users and IT enthusiasts.&lt;/em&gt;&lt;br&gt;
&lt;strong&gt;Note on iOS and Android:&lt;/strong&gt; &lt;em&gt;While both platforms approach network access differently, WiFi Health Check provides local network discovery across accessible wired and wireless devices on iPhone and iPad, with continuously expanding device recognition capabilities.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>networking</category>
      <category>ios</category>
      <category>smarthome</category>
      <category>homelab</category>
    </item>
    <item>
      <title>Docker --env-file vs. -e: Which One Wins?</title>
      <dc:creator>Frank Zhang</dc:creator>
      <pubDate>Wed, 18 Nov 2026 14:07:57 +0000</pubDate>
      <link>https://dev.to/frankzhang/docker-env-file-vs-e-which-one-wins-1802</link>
      <guid>https://dev.to/frankzhang/docker-env-file-vs-e-which-one-wins-1802</guid>
      <description>&lt;p&gt;It is a standard Docker pattern: keep your baseline configuration in an &lt;code&gt;.env&lt;/code&gt; file and pass &lt;code&gt;-e&lt;/code&gt; flags at runtime to tweak specific settings. When both define the same variable, which value actually makes it into the container?&lt;/p&gt;

&lt;h2&gt;
  
  
  The Short Answer
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&lt;code&gt;-e&lt;/code&gt; wins.&lt;/strong&gt; Whenever both &lt;code&gt;--env-file&lt;/code&gt; and &lt;code&gt;-e&lt;/code&gt; define the same variable, Docker prioritizes the explicit &lt;code&gt;-e&lt;/code&gt; flag—even if &lt;code&gt;--env-file&lt;/code&gt; appears later in the command.&lt;/p&gt;

&lt;p&gt;Suppose &lt;code&gt;app.env&lt;/code&gt; contains:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ini"&gt;&lt;code&gt;&lt;span class="na"&gt;APP_MODE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;development&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And you start a container with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker run --rm \
  --env-file app.env \
  -e &lt;span class="nv"&gt;APP_MODE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;production \
  alpine printenv APP_MODE
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Docker outputs:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;production
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is intentional: file-based configs act as defaults, while CLI flags act as explicit runtime overrides.&lt;/p&gt;

&lt;h2&gt;
  
  
  How Docker Loads Environment Variables
&lt;/h2&gt;

&lt;p&gt;Docker gives you three main ways to pass environment variables into a container:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Dockerfile &lt;code&gt;ENV&lt;/code&gt;:&lt;/strong&gt; Bakes default values directly into the image (&lt;code&gt;ENV APP_MODE=development&lt;/code&gt;). Every container started from that image inherits them unless overridden at runtime.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;--env-file&lt;/code&gt;:&lt;/strong&gt; Loads bulk key-value pairs from a file on the host (&lt;code&gt;docker run --env-file app.env ...&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;-e&lt;/code&gt; (or &lt;code&gt;--env&lt;/code&gt;):&lt;/strong&gt; Sets or overrides individual variables directly on the command line (&lt;code&gt;docker run -e APP_MODE=production ...&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Testing the Precedence Rules
&lt;/h2&gt;

&lt;p&gt;Create a sample &lt;code&gt;app.env&lt;/code&gt; file with three variables:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cat &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; app.env &lt;span class="o"&gt;&amp;lt;&amp;lt;&lt;/span&gt;&lt;span class="s1"&gt;'EOF'&lt;/span&gt;
&lt;span class="nv"&gt;APP_MODE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;development
&lt;span class="nv"&gt;LOG_LEVEL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;info
&lt;span class="nv"&gt;APP_PORT&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;8080
EOF
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now run a container using that file while overriding two of the variables with &lt;code&gt;-e&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker run --rm \
  --env-file app.env \
  -e &lt;span class="nv"&gt;APP_MODE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;production \
  -e &lt;span class="nv"&gt;LOG_LEVEL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;warning \
  alpine sh -c &lt;span class="s1"&gt;'printenv APP_MODE LOG_LEVEL APP_PORT'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Output:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;production
warning
8080
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Variable&lt;/th&gt;
&lt;th&gt;&lt;code&gt;app.env&lt;/code&gt;&lt;/th&gt;
&lt;th&gt;
&lt;code&gt;-e&lt;/code&gt; Flag&lt;/th&gt;
&lt;th&gt;Final Value in Container&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;APP_MODE&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;development&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;production&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;&lt;code&gt;production&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;LOG_LEVEL&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;info&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;warning&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;&lt;code&gt;warning&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;APP_PORT&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;8080&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;em&gt;(not set)&lt;/em&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;8080&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Docker keeps anything left untouched in the file and swaps out only the keys explicitly passed via &lt;code&gt;-e&lt;/code&gt;.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Watch out for bare &lt;code&gt;-e&lt;/code&gt; flags:&lt;/strong&gt; &lt;code&gt;-e APP_MODE=production&lt;/code&gt; assigns an explicit value, whereas &lt;code&gt;-e APP_MODE&lt;/code&gt; (with no &lt;code&gt;=&lt;/code&gt;) tells Docker to pull the variable from your host shell. If &lt;code&gt;APP_MODE&lt;/code&gt; isn't exported in your current shell session, it remains unset inside the container—and won't override &lt;code&gt;--env-file&lt;/code&gt;.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  The Precedence Hierarchy
&lt;/h2&gt;

&lt;p&gt;For standard &lt;code&gt;docker run&lt;/code&gt; commands, explicit assignments resolve in this order:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Priority&lt;/th&gt;
&lt;th&gt;Source&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;1 (Highest)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;docker run -e KEY=value&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;2&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;docker run --env-file&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;3 (Lowest)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Dockerfile &lt;code&gt;ENV&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;If you pass multiple &lt;code&gt;--env-file&lt;/code&gt; flags in a single command, Docker evaluates them in order—later files override earlier ones—and &lt;code&gt;-e KEY=value&lt;/code&gt; still overrides all of them.&lt;/p&gt;

&lt;h2&gt;
  
  
  How Docker Compose Differs
&lt;/h2&gt;

&lt;p&gt;Docker Compose follows the same general rule—the &lt;code&gt;environment&lt;/code&gt; block overrides &lt;code&gt;env_file&lt;/code&gt;—but adds a few layers that frequently trip people up.&lt;/p&gt;

&lt;p&gt;Given &lt;code&gt;app.env&lt;/code&gt; with &lt;code&gt;APP_MODE=development&lt;/code&gt; and this &lt;code&gt;compose.yml&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;services&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;app&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;image&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;alpine:latest&lt;/span&gt;
    &lt;span class="na"&gt;env_file&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;./app.env&lt;/span&gt;
    &lt;span class="na"&gt;environment&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;APP_MODE&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;production&lt;/span&gt;
    &lt;span class="na"&gt;command&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"printenv"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"APP_MODE"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Running &lt;code&gt;docker compose run --rm app&lt;/code&gt; outputs &lt;code&gt;production&lt;/code&gt; because &lt;code&gt;environment&lt;/code&gt; takes precedence over &lt;code&gt;env_file&lt;/code&gt; (and &lt;code&gt;docker compose run -e&lt;/code&gt; overrides both).&lt;/p&gt;

&lt;p&gt;Keep two Compose-specific behaviors in mind:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;.env&lt;/code&gt; vs. &lt;code&gt;env_file&lt;/code&gt;:&lt;/strong&gt; A project-level &lt;code&gt;.env&lt;/code&gt; file in your working directory is used for variable interpolation inside &lt;code&gt;compose.yml&lt;/code&gt; (such as &lt;code&gt;APP_MODE: ${APP_MODE}&lt;/code&gt;). Unlike &lt;code&gt;env_file&lt;/code&gt;, it does &lt;strong&gt;not&lt;/strong&gt; automatically inject all of its variables into your containers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Interpolation:&lt;/strong&gt; Compose supports &lt;code&gt;${VAR}&lt;/code&gt; variable interpolation inside files loaded via &lt;code&gt;env_file&lt;/code&gt;. Plain &lt;code&gt;docker run --env-file&lt;/code&gt; does not—it passes strings literally.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  A Common Production Gotcha
&lt;/h2&gt;

&lt;p&gt;Imagine an app deployed via a systemd unit or CI script like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker run -d \
  --name webapp \
  --env-file production.env \
  -e &lt;span class="nv"&gt;DEBUG&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt; \
  mycompany/webapp:latest
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Inside &lt;code&gt;production.env&lt;/code&gt;, everything looks right:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ini"&gt;&lt;code&gt;&lt;span class="na"&gt;APP_MODE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;production&lt;/span&gt;
&lt;span class="na"&gt;DEBUG&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;
&lt;span class="na"&gt;LOG_LEVEL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;warning&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;An engineer checks &lt;code&gt;production.env&lt;/code&gt;, sees &lt;code&gt;DEBUG=false&lt;/code&gt;, and assumes debug mode is off. Meanwhile, the container is running with &lt;code&gt;DEBUG=true&lt;/code&gt; because of the stray flag in the launch command. Editing or redeploying &lt;code&gt;production.env&lt;/code&gt; won't fix the issue until that &lt;code&gt;-e DEBUG=true&lt;/code&gt; flag is removed from the run command—and remember, Docker does not reload environment variables into existing containers; you have to recreate the container for changes to take effect.&lt;/p&gt;

&lt;h3&gt;
  
  
  Checking What the Container Actually Received
&lt;/h3&gt;

&lt;p&gt;Before digging into application code, verify the container's runtime environment directly:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Check a single variable&lt;/span&gt;
docker &lt;span class="nb"&gt;exec&lt;/span&gt; webapp printenv DEBUG

&lt;span class="c"&gt;# List all environment variables configured on the container&lt;/span&gt;
docker inspect webapp --format &lt;span class="s1"&gt;'{{range .Config.Env}}{{println .}}{{end}}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;(Note: &lt;code&gt;docker inspect&lt;/code&gt; prints secrets and tokens in plain text—avoid pasting unfiltered output into tickets or shared logs.)&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Practical Guidelines
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Keep baseline config in files; reserve &lt;code&gt;-e&lt;/code&gt; for temporary overrides:&lt;/strong&gt; Store stable configuration in &lt;code&gt;.env&lt;/code&gt; files, and use &lt;code&gt;-e&lt;/code&gt; for one-off local testing or quick log-level changes. Make sure temporary debug flags don't make it into permanent deployment scripts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Don't treat &lt;code&gt;.env&lt;/code&gt; files as secret stores:&lt;/strong&gt; Environment variables are easily visible via &lt;code&gt;docker inspect&lt;/code&gt; to anyone with Docker daemon access. Use Docker Secrets or a dedicated secrets manager for database passwords, tokens, and API keys.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Verify resolved configs before debugging:&lt;/strong&gt; When Compose configurations get layered, run &lt;code&gt;docker compose config&lt;/code&gt; to inspect the final merged environment before starting your containers.&lt;/li&gt;
&lt;/ul&gt;




</description>
      <category>docker</category>
      <category>devops</category>
      <category>tutorial</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Docker Compose volumes: four mix-ups that can cost you data</title>
      <dc:creator>Frank Zhang</dc:creator>
      <pubDate>Tue, 10 Nov 2026 04:17:13 +0000</pubDate>
      <link>https://dev.to/frankzhang/docker-compose-volumes-four-mix-ups-that-can-cost-you-data-3d94</link>
      <guid>https://dev.to/frankzhang/docker-compose-volumes-four-mix-ups-that-can-cost-you-data-3d94</guid>
      <description>&lt;p&gt;Most people learn early on that &lt;code&gt;docker compose down&lt;/code&gt; followed by &lt;code&gt;up&lt;/code&gt; keeps the database. Fewer can say why, and that gap is where data gets lost: someone copies &lt;code&gt;down -v&lt;/code&gt; from a tutorial, or assumes &lt;code&gt;:ro&lt;/code&gt; protects a volume from everything.&lt;/p&gt;

&lt;p&gt;Here's a short quiz. Which of these are true?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A.&lt;/strong&gt; A volume declared under top-level &lt;code&gt;volumes:&lt;/code&gt; but not mounted by any service makes &lt;code&gt;docker compose up&lt;/code&gt; fail.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;B.&lt;/strong&gt; Adding &lt;code&gt;:ro&lt;/code&gt; to a service's volume mount makes it read-only inside that container.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;C.&lt;/strong&gt; With &lt;code&gt;external: true&lt;/code&gt;, Compose looks for an existing volume instead of creating one.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;D.&lt;/strong&gt; A named volume that a service references and that is declared at the top level gets created automatically, using the default driver.&lt;/p&gt;

&lt;p&gt;B, C and D are true. A is false. The rest of this post goes through why.&lt;/p&gt;

&lt;h2&gt;
  
  
  Declaring is not mounting
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;services&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;app&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;image&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;alpine:3.21&lt;/span&gt;
    &lt;span class="na"&gt;command&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;sleep 3600&lt;/span&gt;

&lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;app_data&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is valid. &lt;code&gt;app_data&lt;/code&gt; is defined, but nothing uses it, and &lt;code&gt;up&lt;/code&gt; doesn't complain. To actually get it into a container you need a service-level mount:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;services&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;app&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;image&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;alpine:3.21&lt;/span&gt;
    &lt;span class="na"&gt;command&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;sleep 3600&lt;/span&gt;
    &lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;app_data:/data&lt;/span&gt;

&lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;app_data&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The top-level block defines the volume (and its driver, name, options). The service-level entry attaches it to a path in one container. They're separate steps, and a typo in either one gives you a very different result than you expected.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;code&gt;:ro&lt;/code&gt; belongs to the mount
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;app_data:/data:ro&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's source, destination, and mode. The default mode is &lt;code&gt;rw&lt;/code&gt;. The long syntax says the same thing:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;volume&lt;/span&gt;
    &lt;span class="na"&gt;source&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;app_data&lt;/span&gt;
    &lt;span class="na"&gt;target&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;/data&lt;/span&gt;
    &lt;span class="na"&gt;read_only&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;What &lt;code&gt;:ro&lt;/code&gt; blocks is writes through that one mount. Another container can still mount the same volume read-write, and anyone with access to the Docker host can still change the data underneath. A reporting container that reads exports it shouldn't touch is a good use. A data-protection mechanism it is not.&lt;/p&gt;

&lt;p&gt;It's also easy to confuse with the service-level &lt;code&gt;read_only: true&lt;/code&gt;, which makes the container's root filesystem read-only. Different setting, different problem.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;code&gt;external: true&lt;/code&gt; hands over lifecycle
&lt;/h2&gt;

&lt;p&gt;Say an admin created the volume beforehand:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker volume create shared_app_data
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;and the Compose file points at it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;app_data&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;external&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
    &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;shared_app_data&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Compose now expects &lt;code&gt;shared_app_data&lt;/code&gt; to exist. If it doesn't, &lt;code&gt;up&lt;/code&gt; fails; it won't quietly create an empty one. Compose also won't remove it. Without &lt;code&gt;name:&lt;/code&gt;, it looks for a volume called &lt;code&gt;app_data&lt;/code&gt; exactly as written, with no project prefix.&lt;/p&gt;

&lt;p&gt;"External" here has nothing to do with network storage. The volume can live on the same host. The word is about who owns creation and deletion.&lt;/p&gt;

&lt;h2&gt;
  
  
  Normal named volumes just get created
&lt;/h2&gt;

&lt;p&gt;For an ordinary Compose-managed volume you don't run &lt;code&gt;docker volume create&lt;/code&gt;. &lt;code&gt;docker compose up -d&lt;/code&gt; makes it if it's missing, using the &lt;code&gt;local&lt;/code&gt; driver by default. The name is prefixed with the project name, so key &lt;code&gt;app_data&lt;/code&gt; in a project called &lt;code&gt;demo&lt;/code&gt; becomes &lt;code&gt;demo_app_data&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker volume ls
docker volume inspect demo_app_data
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  &lt;code&gt;down&lt;/code&gt; vs &lt;code&gt;down -v&lt;/code&gt;
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Command&lt;/th&gt;
&lt;th&gt;Containers&lt;/th&gt;
&lt;th&gt;Managed named volumes&lt;/th&gt;
&lt;th&gt;External volumes&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;stop&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;stopped&lt;/td&gt;
&lt;td&gt;kept&lt;/td&gt;
&lt;td&gt;kept&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;down&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;removed&lt;/td&gt;
&lt;td&gt;kept&lt;/td&gt;
&lt;td&gt;kept&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;down -v&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;removed&lt;/td&gt;
&lt;td&gt;removed&lt;/td&gt;
&lt;td&gt;kept&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;up -d --build&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;recreated as needed&lt;/td&gt;
&lt;td&gt;reused&lt;/td&gt;
&lt;td&gt;reused&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;code&gt;down -v&lt;/code&gt; removes named volumes declared in the Compose file plus anonymous volumes attached to the containers. It won't touch bind-mounted host directories, and it can fail on a volume that's still in use.&lt;/p&gt;

&lt;p&gt;Anonymous volumes have a quirk. A plain &lt;code&gt;down&lt;/code&gt; leaves them on disk, but since they have no stable name in the Compose file, the next &lt;code&gt;up&lt;/code&gt; creates new ones instead of reattaching the old. They're kept, but not reused, and they pile up.&lt;/p&gt;

&lt;p&gt;So when someone asks why the database is still there after a rebuild: rebuilding an image doesn't touch volumes. And when someone's data vanished after &lt;code&gt;down -v&lt;/code&gt;: that flag asked for exactly that.&lt;/p&gt;

&lt;h2&gt;
  
  
  A lab you can run
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;volume-lab&lt;/span&gt;

&lt;span class="na"&gt;services&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;writer&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;image&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;alpine:3.21&lt;/span&gt;
    &lt;span class="na"&gt;command&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;sh -c 'date &amp;gt;&amp;gt; /data/events.log &amp;amp;&amp;amp; sleep 3600'&lt;/span&gt;
    &lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;app_data:/data&lt;/span&gt;

  &lt;span class="na"&gt;reader&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;image&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;alpine:3.21&lt;/span&gt;
    &lt;span class="na"&gt;command&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;sleep 3600&lt;/span&gt;
    &lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;app_data:/data:ro&lt;/span&gt;

&lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;app_data&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker compose up -d
&lt;span class="c"&gt;# give the writer a second to create the file, then:&lt;/span&gt;
docker compose &lt;span class="nb"&gt;exec&lt;/span&gt; reader cat /data/events.log
docker compose &lt;span class="nb"&gt;exec&lt;/span&gt; reader sh -c &lt;span class="s1"&gt;'echo test &amp;gt;&amp;gt; /data/events.log'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The last command should fail with a read-only filesystem error. Now recreate the containers:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker compose down
docker compose up -d
docker compose &lt;span class="nb"&gt;exec&lt;/span&gt; reader cat /data/events.log
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The log now has two timestamps, because the volume outlived the containers. Check it with &lt;code&gt;docker volume inspect volume-lab_app_data&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Only run &lt;code&gt;docker compose down -v&lt;/code&gt; here if you want to wipe the lab. Don't paste it into a production directory without checking which volumes it will hit.&lt;/p&gt;

&lt;h2&gt;
  
  
  Before you deploy something stateful
&lt;/h2&gt;

&lt;p&gt;Check four things:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Is the volume declared where Compose expects it?&lt;/li&gt;
&lt;li&gt;Which services mount it, and at which paths?&lt;/li&gt;
&lt;li&gt;Does each service really need write access?&lt;/li&gt;
&lt;li&gt;Does Compose own this volume, or is it external?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;And remember that a volume isn't a backup. It survives container replacement, but not corruption, a mistaken &lt;code&gt;docker volume rm&lt;/code&gt;, or a dead disk. Keep backups, and test restoring them.&lt;/p&gt;

</description>
      <category>docker</category>
      <category>devops</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Synology Ransomware Warning: You Can't Patch a NAS You Haven't Found</title>
      <dc:creator>Frank Zhang</dc:creator>
      <pubDate>Thu, 05 Nov 2026 11:59:21 +0000</pubDate>
      <link>https://dev.to/frankzhang/synology-ransomware-warning-you-cant-patch-a-nas-you-havent-found-15do</link>
      <guid>https://dev.to/frankzhang/synology-ransomware-warning-you-cant-patch-a-nas-you-havent-found-15do</guid>
      <description>&lt;p&gt;How to find every Synology NAS on your network, see which DSM version it reports, and check whether that release is still supported.&lt;/p&gt;

&lt;p&gt;In October 2026, Synology issued a warning: attackers are targeting NAS devices running outdated DiskStation Manager (DSM). The exploited vulnerability was patched back in December 2024 (SA-24:20), and the ransomware, called C3RB3R, encrypts files and demands a ransom. Other security vendors point to several different DSM vulnerabilities as the entry point, so the safest approach is simple: bring DSM fully up to date.&lt;/p&gt;

&lt;p&gt;But before doing that, there's a prerequisite: you need to know exactly which devices you have.&lt;/p&gt;

&lt;h2&gt;
  
  
  Do you remember how many NAS you have?
&lt;/h2&gt;

&lt;p&gt;Storage devices in homelabs and small offices tend to pile up: the main Synology, an older DiskStation for backups, one in another room, and one you said you'd unplug but never did. Some may not have been logged into for a year, and older models can't all run the latest DSM. Some models top out at DSM 7.4, so "the latest version" depends on the model.&lt;/p&gt;

&lt;p&gt;Checking by hand means finding each device's IP, logging in to DSM, and opening the software info page. That's fine for one device, but across a whole network it becomes an inventory job.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's the most convenient way? Scan first
&lt;/h2&gt;

&lt;p&gt;WiFi Health Check is an iPhone app that scans the Wi-Fi network you're connected to and lists the devices on it. Many Synology NAS units announce themselves over multicast discovery protocols, and when one does, the app can read the model and DSM build the NAS reports about itself, for example a DS920+ running DSM 7.1-42962.&lt;/p&gt;

&lt;p&gt;If a NAS doesn't announce itself (multicast discovery is disabled, or the device sits behind VLAN isolation), you'll see a Synology device with the model or version marked "unknown." That's a prompt to check inside DSM. It's a low-probability event, unless your Synology NAS is very old.&lt;/p&gt;

&lt;p&gt;For versions it can read, the app also shows whether that DSM release is still within Synology's published support window. Under Synology's lifecycle policy, DSM 7.2 maintenance ended in December 2025, extended support for DSM 7.1 on eligible hardware ended in June 2025, and DSM 7.4, released in June 2026, is maintained through June 2028. Devices running on a branch that's out of support will have to rely on other means of protection.&lt;/p&gt;

&lt;p&gt;An example of a practical workflow: first, run a scan, and you'll get an overall report and a list. Fully identified devices appear in it, and your Synology devices are among them. For those that meet the detection conditions, you can go straight to the Synology detail page in the app and view the lifecycle card and recommendations. For those that don't meet the conditions, you'll get a separate-style Synology list, but the specific version numbers need to be looked up manually.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxfsp5d0zliitrk10kwyc.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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxfsp5d0zliitrk10kwyc.png" alt="Before" width="800" height="1576"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This last step is critical. Once you have the product identification report, the next step is to apply patch updates and security hardening as needed. That's the purpose of the scan: to let you know where you stand ahead of time. WiFi Health Check is a discovery and diagnostic tool; Synology's updates and security protections are the steps that follow.&lt;/p&gt;

&lt;h2&gt;
  
  
  Then check the basics
&lt;/h2&gt;

&lt;p&gt;Once you know what's on your network:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Install the latest DSM security updates, and turn on automatic updates if possible.&lt;/li&gt;
&lt;li&gt;Don't expose the DSM management interface to the internet.&lt;/li&gt;
&lt;li&gt;Disable the default administrator account and enable two-factor authentication.&lt;/li&gt;
&lt;li&gt;Run Synology's Security Advisor.&lt;/li&gt;
&lt;li&gt;Keep at least one verified backup that ransomware can't reach.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The recent PHP2Shell advisories (SA-26:13) involve specific PHP-based packages. Synology's ransomware warning points to SA-24:20, so please treat the two as separate issues.&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fg3p9nslmifzk33yr4pf6.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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fg3p9nslmifzk33yr4pf6.png" alt="After" width="800" height="1576"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For a homelab or small office, this is enough to answer a basic question: what's on my network, and which of it needs attention? Windows, Mac, Ubuntu? The product lifecycles of all these systems can be correctly identified.&lt;/p&gt;

&lt;p&gt;Next, if you want to know which cameras or NVRs exist on your network, you can also use WiFi Health Check.&lt;/p&gt;

&lt;p&gt;As for the tiers of information and reports, this is a boundary worth knowing: it separates the FREE tier from the PRO tier. It's a tier of information density, not a technical ceiling, and you're free to choose.&lt;/p&gt;

&lt;p&gt;APPStore: &lt;a href="https://apps.apple.com/app/wifi-health-check/id6791147190" rel="noopener noreferrer"&gt;https://apps.apple.com/app/wifi-health-check/id6791147190&lt;/a&gt;&lt;/p&gt;

</description>
      <category>synology</category>
      <category>dsm</category>
      <category>wifihealthcheck</category>
      <category>security</category>
    </item>
    <item>
      <title>Why Run a PHP Probe on Your NAS When Monitoring Can Run in a Container?</title>
      <dc:creator>Frank Zhang</dc:creator>
      <pubDate>Mon, 02 Nov 2026 03:59:54 +0000</pubDate>
      <link>https://dev.to/frankzhang/why-run-a-php-probe-on-your-nas-when-monitoring-can-run-in-a-container-1mfm</link>
      <guid>https://dev.to/frankzhang/why-run-a-php-probe-on-your-nas-when-monitoring-can-run-in-a-container-1mfm</guid>
      <description>&lt;p&gt;In October 2026, the C3RB3R ransomware began hitting Synology devices that were exposed to the internet and running outdated DSM. According to reports, the attackers exploited already-disclosed DSM vulnerabilities, encrypted files, and demanded a ransom.&lt;/p&gt;

&lt;p&gt;The news brought back something I've never quite understood. Many homelab users monitor their NAS by installing PHP on it, setting up a web server, dropping a probe script into the site directory, and letting an external platform pull data over HTTP. Why not run a separate Docker container that reports outward on its own?&lt;/p&gt;

&lt;p&gt;PHP probes have their reasons: they're simple, light, and easy to deploy. But from a maintenance and network-boundary standpoint, the two approaches differ more than you'd expect.&lt;/p&gt;

&lt;h2&gt;
  
  
  PHP probes: easy to start, tied to the host
&lt;/h2&gt;

&lt;p&gt;The typical flow looks like this: enable PHP on the NAS, configure Nginx or Apache, drop the probe file into the site directory, and have the monitoring platform poll that URL on a schedule.&lt;/p&gt;

&lt;p&gt;It's popular for good reasons. You upload one file and it works. Resource usage is low, Docker isn't required, and it runs on older NAS models and most Linux environments. If all you want is CPU, memory, and disk usage, that's enough.&lt;/p&gt;

&lt;p&gt;The trouble comes later. Because the probe serves data over HTTP, you can't avoid a few questions. Is the endpoint reachable from the internet? Is there reliable authentication? Is PHP kept up to date? Does the web service account have more privileges than it needs? Can the script read files it shouldn't? Once the probe lives in the NAS's web environment, it becomes one more component you have to maintain.&lt;/p&gt;

&lt;h2&gt;
  
  
  The real problem is version fragmentation
&lt;/h2&gt;

&lt;p&gt;Real homelabs are rarely a tidy collection of fully updated systems.&lt;/p&gt;

&lt;p&gt;Some older models can't move to the latest major DSM version. Some people worry that upgrading will break third-party packages or databases, so they leave a stable system alone. Others simply never get into the habit of checking for updates. To be clear, being unable to upgrade to the latest major version doesn't mean there are no security updates. Synology still ships fixes for some older releases, and whether one exists depends on your model, DSM branch, and the security advisories.&lt;/p&gt;

&lt;p&gt;PHP has the same issue. Different models and packages ship different PHP versions, with 7.x and several 8.x branches side by side, different extensions, and different Web Station, Nginx, and Apache configurations. PHP's official support policy is two years of active support followed by two years of security fixes, and then nothing. You can leave the probe script untouched and still end up on a runtime that's long out of support.&lt;/p&gt;

&lt;p&gt;Synology's recent PHP2Shell advisory is an example. It affects specific PHP versions and the packages that depend on PHP, such as Web Station, WordPress, and phpMyAdmin. Several PHP branches received fixes. PHP 7.3, which is end-of-life, did not.&lt;/p&gt;

&lt;p&gt;One point needs stressing: PHP2Shell and C3RB3R are separate incidents, and nothing here says a PHP probe was the entry point for the ransomware. My point is narrower. Security maintenance can't stop at the operating system. The applications and runtimes on top of it need the same attention.&lt;/p&gt;

&lt;h2&gt;
  
  
  Docker probes: give monitoring its own runtime
&lt;/h2&gt;

&lt;p&gt;The alternative is to run the monitoring agent in a container, so it carries its own runtime and only makes outbound connections.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;       NAS / Linux Server
       ┌──────────────────────┐
       │                      │
       │  DSM / File Services │
       │                      │
       │  Docker Engine       │
       │    ┌──────────────┐  │
       │    │ Docker Probe │  │
       │    │              │  │
       │    │ System Check │  │
       │    │ Asset Probe  │  │
       │    └──────┬───────┘  │
       │           │          │
       └───────────┼──────────┘
                   │
              Outbound Only
                   │
                   ▼
          OpsHome NOC Backend
                   │
          ┌────────┴─────────┐
          │                  │
        iOS App         NOC Console
                            Web
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Independent runtime.&lt;/strong&gt; Dependencies are baked into the image, so it doesn't matter whether the host has PHP, and you don't have to set up a web environment just for the probe. Two NAS units on different DSM versions can run the same image as long as both support containers. The compatibility problems caused by PHP versions, extensions, and web server configs largely go away.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Outbound only, no new entry points.&lt;/strong&gt; The local agent connects to the monitoring platform, so you don't open an inbound port for the probe, you don't expose the NAS admin interface to the platform, and you don't leave a probe page reachable from the internet. The NAS's existing network boundary stays as it was. Outbound doesn't mean free of security requirements, though. Agent authentication, encrypted transport, credential management, and control over destination addresses are all still needed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Independent lifecycle.&lt;/strong&gt; Updating the probe doesn't touch the NAS's PHP. You can pin the image version, restart or redeploy the agent on its own when something breaks at the application layer, and use container resource limits to cap what it takes from the host.&lt;/p&gt;

&lt;p&gt;A caveat so nobody misreads this: Docker is not a virtual machine and not an absolute sandbox. Containers share the host kernel. Run one in privileged mode, mount too many directories, or expose the Docker socket, and most of the isolation value is gone. Least privilege still applies.&lt;/p&gt;

&lt;h2&gt;
  
  
  Side-by-side comparison
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;PHP file probe&lt;/th&gt;
&lt;th&gt;Docker probe&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Runtime&lt;/td&gt;
&lt;td&gt;NAS PHP / web environment&lt;/td&gt;
&lt;td&gt;Separate container&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;PHP dependency&lt;/td&gt;
&lt;td&gt;Usually required&lt;/td&gt;
&lt;td&gt;No dependency on host PHP&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Web server&lt;/td&gt;
&lt;td&gt;Usually required&lt;/td&gt;
&lt;td&gt;Not needed by the probe itself&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Dependency management&lt;/td&gt;
&lt;td&gt;Affected by the host environment&lt;/td&gt;
&lt;td&gt;Managed inside the image&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Updates&lt;/td&gt;
&lt;td&gt;May involve several components&lt;/td&gt;
&lt;td&gt;Can be updated independently&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Consistency&lt;/td&gt;
&lt;td&gt;Varies by NAS model&lt;/td&gt;
&lt;td&gt;Largely consistent on supported platforms&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Inbound services&lt;/td&gt;
&lt;td&gt;Depends on the access architecture&lt;/td&gt;
&lt;td&gt;No new inbound port in outbound mode&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Permission boundary&lt;/td&gt;
&lt;td&gt;Web service account and script privileges&lt;/td&gt;
&lt;td&gt;Container privileges and mount policy&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Resource control&lt;/td&gt;
&lt;td&gt;Relies on host process management&lt;/td&gt;
&lt;td&gt;Container resource limits available&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The table doesn't claim PHP is inherently insecure or Docker inherently safe. A well-configured PHP probe that's only reachable from the LAN is perfectly adequate for plenty of people. What differs is whether the runtime is separate, whether the access boundary is clear, and how much effort maintenance takes later.&lt;/p&gt;

&lt;h2&gt;
  
  
  How we approach it in OpsHome NOC
&lt;/h2&gt;

&lt;p&gt;If all you need is resource usage on one NAS, a simple probe is enough. Once the targets grow to include servers, virtual machines, network devices, domains, and public services, you need a unified platform. OpsHome NOC splits monitoring into two kinds.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Public services&lt;/strong&gt; are checked directly from outside by the platform: HTTP/HTTPS availability, TCP connectivity, SSL certificate expiry, and domain status. These targets don't need a probe installed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Private assets&lt;/strong&gt; such as Synology, Proxmox VE, ESXi, and Ubuntu/Linux servers are collected by a local Docker Probe and reported over an outbound connection, so you don't have to open management ports to the internet for remote monitoring. If an older NAS can't run Docker, don't fight it. Run the Probe on a supported Linux host on the same network and let it do the collection.&lt;/p&gt;

&lt;p&gt;Viewing happens in two places. The iOS app is for checking status and incidents wherever you are. NOC Console Web is a read-only central view with Overview, Matrix, Assets, Incidents, and Account pages. It can sit on an office monitor or a server-room wall display, and nothing about it requires opening a device's admin interface to the display. It's separate from Status Pages: Status Pages show public service status to outside visitors, while Console Web shows private assets to administrators.&lt;/p&gt;

&lt;h2&gt;
  
  
  Monitoring is not ransomware protection
&lt;/h2&gt;

&lt;p&gt;Neither a PHP probe nor a Docker probe replaces the NAS's own security measures. OpsHome NOC is not antivirus software and not a backup system.&lt;/p&gt;

&lt;p&gt;The basics still apply. Install DSM and package security updates promptly. Don't expose management ports to the internet. Use strong passwords and multi-factor authentication. Turn off services and ports you don't use. Review access logs regularly. Enable snapshots and keep offline backups, and actually test that you can restore from them. Monitoring helps you notice service failures and dropped connections sooner, but it won't stop an attack from happening.&lt;/p&gt;

&lt;h2&gt;
  
  
  Wrapping up
&lt;/h2&gt;

&lt;p&gt;PHP probes still have a place. For simple setups with tight resources, a correctly configured script solves the problem. But if you're monitoring many targets over the long term and want one place to manage and view them remotely, it's worth rethinking the deployment: keep inbound entry points to a minimum, put the probe in its own container, use outbound connections for private assets, and keep monitoring separate from device administration.&lt;/p&gt;

&lt;p&gt;A NAS exists to store data, and a monitoring platform exists to show you what's going on. Ideally neither drags the other down.&lt;/p&gt;




&lt;h2&gt;
  
  
  Further reading
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.synology.com/en-global/security/advisory" rel="noopener noreferrer"&gt;Synology Product Security Advisories&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://noc.opshome.run/" rel="noopener noreferrer"&gt;OpsHome NOC&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.itsc.cuhk.edu.hk/all-it/information-security/information-security-alerts/ransomware-c3rb3r-ransomware-targeting-synology-nas-devices/" rel="noopener noreferrer"&gt;C3RB3R Ransomware Targeting Synology NAS Devices&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>php</category>
      <category>docker</category>
      <category>nas</category>
      <category>security</category>
    </item>
    <item>
      <title>Why Does Docker Compose Keep Your Data After `down`?</title>
      <dc:creator>Frank Zhang</dc:creator>
      <pubDate>Sat, 31 Oct 2026 23:21:19 +0000</pubDate>
      <link>https://dev.to/frankzhang/why-does-docker-compose-keep-your-data-after-down-32f5</link>
      <guid>https://dev.to/frankzhang/why-does-docker-compose-keep-your-data-after-down-32f5</guid>
      <description>&lt;p&gt;&lt;em&gt;How Docker volume lifecycles work, why &lt;code&gt;--volumes&lt;/code&gt; is dangerous, and how to protect persistent data.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;You remove and rebuild your Compose app:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker compose down
docker compose up &lt;span class="nt"&gt;-d&lt;/span&gt; &lt;span class="nt"&gt;--build&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The containers are brand new, the image is rebuilt, and yet your database, accounts, and settings are all still there.&lt;/p&gt;

&lt;p&gt;Is Docker failing to clean up? No. This is exactly how persistent storage is designed to work.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Containers and volumes have different lifecycles
&lt;/h2&gt;

&lt;p&gt;A container is disposable. A volume is built to outlive it.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;services&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;app&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;image&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;alpine:3.20&lt;/span&gt;
    &lt;span class="na"&gt;command&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;sleep"&lt;/span&gt;&lt;span class="pi"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;infinity"&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;
    &lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;app-data:/data&lt;/span&gt;

&lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;app-data&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here &lt;code&gt;app-data&lt;/code&gt; is a &lt;strong&gt;named volume&lt;/strong&gt;. Compose creates it and mounts it at &lt;code&gt;/data&lt;/code&gt;. When the container is removed, the volume stays on the Docker host.&lt;/p&gt;

&lt;p&gt;This is what makes databases, uploads, and configuration survive upgrades.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. What does &lt;code&gt;docker compose down&lt;/code&gt; remove?
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;&lt;code&gt;docker compose down&lt;/code&gt;&lt;/th&gt;
&lt;th&gt;&lt;code&gt;docker compose down --volumes&lt;/code&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Containers&lt;/td&gt;
&lt;td&gt;Removed&lt;/td&gt;
&lt;td&gt;Removed&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Compose-managed networks&lt;/td&gt;
&lt;td&gt;Removed&lt;/td&gt;
&lt;td&gt;Removed&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Named volumes (declared in top-level &lt;code&gt;volumes&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Kept&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Removed&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Anonymous volumes&lt;/td&gt;
&lt;td&gt;Kept (not reattached by the next &lt;code&gt;up&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Removed&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;external: true&lt;/code&gt; volumes&lt;/td&gt;
&lt;td&gt;Kept&lt;/td&gt;
&lt;td&gt;Kept&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Host bind mounts&lt;/td&gt;
&lt;td&gt;Kept&lt;/td&gt;
&lt;td&gt;Kept&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Both commands remove containers. The only difference is whether Compose also deletes its persistent storage.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Warning:&lt;/strong&gt; &lt;code&gt;down --volumes&lt;/code&gt; (or &lt;code&gt;-v&lt;/code&gt;) permanently deletes that data.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  3. Verify it yourself
&lt;/h2&gt;

&lt;p&gt;Start the app and write a file into the volume:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker compose up &lt;span class="nt"&gt;-d&lt;/span&gt;
docker compose &lt;span class="nb"&gt;exec &lt;/span&gt;app sh &lt;span class="nt"&gt;-c&lt;/span&gt; &lt;span class="s1"&gt;'echo "Persistent data!" &amp;gt; /data/check.txt'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Remove and recreate the app:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker compose down
docker compose up &lt;span class="nt"&gt;-d&lt;/span&gt;
docker compose &lt;span class="nb"&gt;exec &lt;/span&gt;app &lt;span class="nb"&gt;cat&lt;/span&gt; /data/check.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Output:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Persistent data!
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now remove the volumes too:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker compose down &lt;span class="nt"&gt;--volumes&lt;/span&gt;
docker compose up &lt;span class="nt"&gt;-d&lt;/span&gt;
docker compose &lt;span class="nb"&gt;exec &lt;/span&gt;app &lt;span class="nb"&gt;cat&lt;/span&gt; /data/check.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This time you get &lt;code&gt;No such file or directory&lt;/code&gt;: the old volume was deleted and &lt;code&gt;up&lt;/code&gt; created a new, empty one.&lt;/p&gt;

&lt;p&gt;This is why rebuilding an image never resets your database. Images and volumes are separate things.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. A safer approach: &lt;code&gt;external: true&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;For data you cannot afford to lose, manage the volume outside the Compose lifecycle.&lt;/p&gt;

&lt;p&gt;Create it once:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker volume create production-data
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then reference it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;services&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;app&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;image&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;alpine:3.20&lt;/span&gt;
    &lt;span class="na"&gt;command&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;sleep"&lt;/span&gt;&lt;span class="pi"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;infinity"&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;
    &lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;app-data:/data&lt;/span&gt;

&lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;app-data&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;external&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
    &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;production-data&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With &lt;code&gt;external: true&lt;/code&gt;, Compose treats the volume as an existing resource it does not own:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;docker compose down --volumes&lt;/code&gt; will &lt;strong&gt;not&lt;/strong&gt; delete it.&lt;/li&gt;
&lt;li&gt;If the volume does not exist, &lt;code&gt;docker compose up&lt;/code&gt; fails with an error instead of silently creating an empty one. That is a feature: a typo in the name will not give you a blank database.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Note that &lt;code&gt;external: true&lt;/code&gt; protects against Compose, not against everything. &lt;code&gt;docker volume rm&lt;/code&gt; and &lt;code&gt;docker volume prune&lt;/code&gt; can still delete the volume, and it is &lt;strong&gt;not a backup&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Common commands at a glance
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Command&lt;/th&gt;
&lt;th&gt;Removes containers&lt;/th&gt;
&lt;th&gt;Removes Compose-managed named volumes&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;docker compose stop&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;docker compose down&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;docker compose up -d --build&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Recreates when needed&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;docker compose down -v&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Bind mounts (&lt;code&gt;./data:/var/lib/app&lt;/code&gt;) are a different mechanism. Compose never deletes the host directory.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Production checklist
&lt;/h2&gt;

&lt;p&gt;Before updating or removing any stateful stack:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;List volumes with &lt;code&gt;docker volume ls&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Check what each container actually mounts with &lt;code&gt;docker inspect &amp;lt;container&amp;gt;&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Keep deployment (the Compose file) and data (the volume) separate where possible.&lt;/li&gt;
&lt;li&gt;Keep independent, &lt;strong&gt;tested&lt;/strong&gt; backups of databases and application data.&lt;/li&gt;
&lt;li&gt;Never use &lt;code&gt;down -v&lt;/code&gt; as a routine update command.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Pitfall: changing the project name
&lt;/h3&gt;

&lt;p&gt;Compose prefixes managed volume names with the project name, so &lt;code&gt;app-data&lt;/code&gt; becomes &lt;code&gt;myproject_app-data&lt;/code&gt;. If you rename the project directory or set a different &lt;code&gt;-p&lt;/code&gt; / &lt;code&gt;name:&lt;/code&gt;, Compose creates a &lt;strong&gt;new, empty&lt;/strong&gt; volume and your data appears to vanish. The old volume still exists; find it with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker volume &lt;span class="nb"&gt;ls&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Mount it again by restoring the original project name, or reference it explicitly with &lt;code&gt;external: true&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final thoughts
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;A container is not your data.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Use &lt;code&gt;docker compose down&lt;/code&gt; to remove the stack and keep its volumes.&lt;/li&gt;
&lt;li&gt;Use &lt;code&gt;docker compose down -v&lt;/code&gt; only when you deliberately want to destroy Compose-managed data.&lt;/li&gt;
&lt;li&gt;Use &lt;code&gt;external: true&lt;/code&gt; when storage should have its own lifecycle.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Knowing the difference can save you from one of the most expensive mistakes in container administration: deleting production data with a single flag.&lt;/p&gt;




</description>
      <category>docker</category>
      <category>containers</category>
      <category>devops</category>
      <category>data</category>
    </item>
    <item>
      <title>Docker Compose: Reuse Existing Volumes with external: true</title>
      <dc:creator>Frank Zhang</dc:creator>
      <pubDate>Thu, 29 Oct 2026 04:55:13 +0000</pubDate>
      <link>https://dev.to/frankzhang/docker-compose-reuse-existing-volumes-with-external-true-2cl1</link>
      <guid>https://dev.to/frankzhang/docker-compose-reuse-existing-volumes-with-external-true-2cl1</guid>
      <description>&lt;h1&gt;
  
  
  Docker Compose: Reuse Existing Volumes with &lt;code&gt;external: true&lt;/code&gt;
&lt;/h1&gt;

&lt;p&gt;Have you ever deployed a Docker Compose project, only to discover that it created a new volume instead of reusing your existing data?&lt;/p&gt;

&lt;p&gt;The solution is simple: &lt;code&gt;external: true&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why does it happen?
&lt;/h2&gt;

&lt;p&gt;Consider this configuration:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;services&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;app&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;image&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;nginx:alpine&lt;/span&gt;
    &lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;app-data:/usr/share/nginx/html&lt;/span&gt;

&lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;app-data&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;By default, Docker Compose manages named volumes as project resources. Depending on the project name, it may create &lt;code&gt;website_app-data&lt;/code&gt; instead of using your existing &lt;code&gt;app-data&lt;/code&gt; volume.&lt;/p&gt;

&lt;p&gt;Your container starts, but the expected data is missing.&lt;/p&gt;

&lt;h2&gt;
  
  
  The solution
&lt;/h2&gt;

&lt;p&gt;Declare the volume as external:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;app-data&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;external&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now Compose uses the existing Docker volume named &lt;code&gt;app-data&lt;/code&gt; rather than creating a project-managed replacement.&lt;/p&gt;

&lt;p&gt;Key points:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;No automatic creation:&lt;/strong&gt; The volume must already exist.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No project-name prefix:&lt;/strong&gt; Compose uses the specified external volume name.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Independent lifecycle:&lt;/strong&gt; Compose does not manage the volume as its own resource.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If the volume doesn't exist, Compose reports an error.&lt;/p&gt;

&lt;h2&gt;
  
  
  Verify your configuration
&lt;/h2&gt;

&lt;p&gt;Create the volume if necessary:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker volume create app-data
docker volume inspect app-data
docker compose up &lt;span class="nt"&gt;-d&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If the existing volume has a different name, specify it explicitly:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;app-data&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;external&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
    &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;legacy_website_data&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This allows Compose to reference &lt;code&gt;legacy_website_data&lt;/code&gt; through the logical key &lt;code&gt;app-data&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Common mistake
&lt;/h2&gt;

&lt;p&gt;Using &lt;code&gt;name&lt;/code&gt; alone is not equivalent to &lt;code&gt;external: true&lt;/code&gt;. The &lt;code&gt;name&lt;/code&gt; property specifies the actual volume name; &lt;code&gt;external: true&lt;/code&gt; declares that the volume already exists and is managed outside the current Compose project.&lt;/p&gt;

&lt;p&gt;Remember: external volumes are not backups. They can still be deleted manually or lost through storage failure.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;When you need Docker Compose to reuse an existing named volume, use:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;app-data&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;external&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;One small configuration change can prevent unexpected volume duplication and help preserve data continuity across deployments.&lt;/p&gt;

</description>
      <category>docker</category>
      <category>devops</category>
      <category>homelab</category>
    </item>
    <item>
      <title>Monitoring a Private Homelab Without Opening a Single Inbound Port</title>
      <dc:creator>Frank Zhang</dc:creator>
      <pubDate>Wed, 28 Oct 2026 07:00:58 +0000</pubDate>
      <link>https://dev.to/frankzhang/monitoring-a-private-homelab-without-opening-a-single-inbound-port-4i38</link>
      <guid>https://dev.to/frankzhang/monitoring-a-private-homelab-without-opening-a-single-inbound-port-4i38</guid>
      <description>&lt;p&gt;&lt;em&gt;Disclosure: I'm the developer of OpsHome NOC, an iOS app and service for monitoring homelabs and small self-hosted environments.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Most monitoring tools ask for something uncomfortable: a port-forward, a VPN, or a publicly exposed management interface. For a homelab, that trade-off is usually the wrong one. This post summarizes how OpsHome NOC approaches it, based on our public security whitepaper.&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnrekdh1ub7i2ck8s4yf3.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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnrekdh1ub7i2ck8s4yf3.png" alt=" " width="800" height="440"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Outbound-only by design
&lt;/h2&gt;

&lt;p&gt;The Docker Probe runs inside a network you authorize and &lt;strong&gt;initiates outbound HTTPS connections&lt;/strong&gt;. In normal operation it needs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;no inbound firewall ports&lt;/li&gt;
&lt;li&gt;no router port forwarding&lt;/li&gt;
&lt;li&gt;no published internal management interface&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Your private infrastructure stays behind your network boundary.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Least-privilege Probe
&lt;/h2&gt;

&lt;p&gt;Permissions follow the monitoring features you enable, and the requested access is shown before deployment:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Reaches only targets you authorize&lt;/li&gt;
&lt;li&gt;Host data paths mounted &lt;strong&gt;read-only&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;No inbound service port published&lt;/li&gt;
&lt;li&gt;No remote shell, Docker Exec, or container-control feature&lt;/li&gt;
&lt;li&gt;No customer credential embedded in the published image&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  3. Credentials and transport
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Client and Probe traffic uses encrypted HTTPS&lt;/li&gt;
&lt;li&gt;Probe requests are authenticated with replay protection&lt;/li&gt;
&lt;li&gt;Supported server-side credentials are encrypted before storage&lt;/li&gt;
&lt;li&gt;iOS authentication data is protected by Apple Keychain Services&lt;/li&gt;
&lt;li&gt;Full secrets are excluded from application logs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We still recommend dedicated, least-privilege accounts for every integration.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. What data is (and isn't) kept
&lt;/h2&gt;

&lt;p&gt;Monitoring records (status, events, trends) are limited to the history window of the active plan and removed automatically when it expires. Application secrets and business-file contents are outside the telemetry scope and are not retained as monitoring records. Account deletion triggers an automated deletion process.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Don’t take our word for it. Verify it yourself
&lt;/h2&gt;

&lt;p&gt;The whitepaper ties its scan result to an exact image digest, so you can check what you're running. You can also watch the Probe's traffic yourself:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;tcpdump &lt;span class="nt"&gt;-i&lt;/span&gt; any host app.opshome.run &lt;span class="nt"&gt;-nn&lt;/span&gt; &lt;span class="nt"&gt;-A&lt;/span&gt; &lt;span class="nt"&gt;-c&lt;/span&gt; 5
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Check the digest, published ports, read-only mounts, and outbound connections against the published evidence. The service also publishes SSL Labs A+ and SecurityHeaders.com Grade A results.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Full whitepaper (document OPS-NOC-SEC-2026-V1):&lt;/strong&gt; &lt;a href="https://noc.opshome.run/security.html" rel="noopener noreferrer"&gt;https://noc.opshome.run/security.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Found a problem? The whitepaper lists a security contact, and I'd like to hear about it.&lt;/p&gt;

</description>
      <category>security</category>
      <category>docker</category>
      <category>homelab</category>
      <category>devops</category>
    </item>
    <item>
      <title>Monitoring your homelab from inside the LAN: public checks, a Docker Probe, and no port forwarding</title>
      <dc:creator>Frank Zhang</dc:creator>
      <pubDate>Wed, 28 Oct 2026 04:56:05 +0000</pubDate>
      <link>https://dev.to/frankzhang/monitoring-your-homelab-from-inside-the-lan-public-checks-a-docker-probe-and-no-port-forwarding-f5o</link>
      <guid>https://dev.to/frankzhang/monitoring-your-homelab-from-inside-the-lan-public-checks-a-docker-probe-and-no-port-forwarding-f5o</guid>
      <description>&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fyh4dtuy8dc4lsegykl9p.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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fyh4dtuy8dc4lsegykl9p.png" alt=" " width="800" height="1034"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;An IT environment doesn't have to be large to be complicated.&lt;/p&gt;

&lt;p&gt;A homelab might run Proxmox VE, Docker, a NAS, and a handful of self-hosted apps. A small office might depend on internal servers, business websites, and cloud services. An IT administrator might need to keep an eye on several hosts, many service endpoints, and infrastructure spread across different networks.&lt;/p&gt;

&lt;p&gt;The scale differs, but the daily questions are the same: Is the service up right now? Can people reach the internal app? Is the infrastructure healthy? After an outage, can I quickly see what changed? And when users can't reach a service, is there somewhere they can check its status?&lt;/p&gt;

&lt;p&gt;OpsHome NOC is a lightweight monitoring and operations platform built around those questions. It combines public service checks, private network monitoring, Docker and infrastructure integrations, incident history, a browser-based Web Console, and Status Pages for external visitors.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Whatever the size of your environment, OpsHome NOC does one thing: it lets you see the state of your services and infrastructure at a glance.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Product website: &lt;a href="https://app.opshome.run/" rel="noopener noreferrer"&gt;https://app.opshome.run/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Documentation: &lt;a href="https://docs.opshome.run/" rel="noopener noreferrer"&gt;https://docs.opshome.run/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What Is OpsHome NOC?
&lt;/h2&gt;

&lt;p&gt;OpsHome NOC is a lightweight network and infrastructure monitoring platform for homelabs, self-hosted services, home offices, small businesses, and any other setting where you need to watch network services and IT infrastructure.&lt;/p&gt;

&lt;p&gt;It is built around these capabilities:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Service monitoring:&lt;/strong&gt; Check public services, plus HTTP, HTTPS, and TCP endpoints inside private networks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Infrastructure visibility:&lt;/strong&gt; View Proxmox VE, VMware, Synology NAS, Linux, and Docker environments through integrations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Events and history:&lt;/strong&gt; Review state changes, alerts, recoveries, and event timelines.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mobile operations:&lt;/strong&gt; Check status anywhere from the iPhone app.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Browser-based operations:&lt;/strong&gt; Use the Web Console to view monitoring and infrastructure information on a larger screen.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Service status sharing:&lt;/strong&gt; Show selected service status to users, customers, or other visitors through Status Pages.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;OpsHome NOC does not try to replace dedicated log analysis, observability, or infrastructure management platforms. It adds a unified monitoring and status layer on top of the systems you already run.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Current version:&lt;/strong&gt; OpsHome NOC v1.16 (as of October 2026).&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Available metrics and features depend on the platform, connection method, permissions, and the scope of each integration. Please refer to the official documentation and your actual deployment. The sections below describe capabilities directly and do not repeat this caveat.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  1. Public Monitoring and Private Network Monitoring
&lt;/h2&gt;

&lt;p&gt;The two kinds of checks answer different questions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Public monitoring&lt;/strong&gt; verifies that websites, APIs, and other public endpoints are reachable from the outside. It suits business websites, public services, and SSL certificate checks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Private network monitoring&lt;/strong&gt; answers another question: from inside the network where the service actually runs, can it be reached? Typical scenarios include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Virtualization hosts and self-hosted apps in a homelab;&lt;/li&gt;
&lt;li&gt;File servers and internal business apps in a small office;&lt;/li&gt;
&lt;li&gt;Websites exposed through a reverse proxy whose backends stay on a private network.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Private network monitoring supports distributed deployment. As long as they belong to the same account, you can run Probes in different places, such as home, the office, a server room, or a VPS, and view them together in one place.&lt;/p&gt;

&lt;p&gt;A successful public check doesn't mean your internal apps and infrastructure are healthy. And opening management interfaces just so an external system can monitor internal services creates security risk. The two approaches complement each other, giving you both an outside view and an inside view of your services.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Docker Probe: Connecting Private Networks
&lt;/h2&gt;

&lt;p&gt;Docker Probe is the key component of private network monitoring. You deploy it on a Docker host that can reach your target services. It checks the configured services from inside the network and works with infrastructure integrations to collect data.&lt;/p&gt;

&lt;p&gt;The Probe connects to OpsHome Cloud over outbound HTTPS. In general you don't need inbound port forwarding, and you don't need to expose internal services to the internet just to monitor them from the cloud.&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Far5aoy9ba0aqr2lzxcx3.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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Far5aoy9ba0aqr2lzxcx3.png" alt=" " width="800" height="501"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Typical uses:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Checking internal HTTP and HTTPS services;&lt;/li&gt;
&lt;li&gt;Testing TCP service reachability;&lt;/li&gt;
&lt;li&gt;Monitoring Docker container status and container events;&lt;/li&gt;
&lt;li&gt;Collecting infrastructure information.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Security recommendation:&lt;/strong&gt; When deploying a Probe, mount the Docker Socket read-only, and use dedicated least-privilege accounts or API tokens for integrations such as Proxmox and Synology.&lt;/p&gt;

&lt;p&gt;Related documentation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Docker Probe installation: &lt;a href="https://docs.opshome.run/docs/docker-probe/install/" rel="noopener noreferrer"&gt;https://docs.opshome.run/docs/docker-probe/install/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Private HTTP, HTTPS, and TCP monitors: &lt;a href="https://docs.opshome.run/docs/private-monitors/http-https-tcp/" rel="noopener noreferrer"&gt;https://docs.opshome.run/docs/private-monitors/http-https-tcp/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Synology integration: &lt;a href="https://docs.opshome.run/docs/synology/add-synology/" rel="noopener noreferrer"&gt;https://docs.opshome.run/docs/synology/add-synology/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  3. Infrastructure Monitoring: More Than Checking Whether a Port Is Up
&lt;/h2&gt;

&lt;p&gt;A service that answers requests isn't necessarily running on healthy infrastructure. A virtualization host may still be reachable while its storage or virtual machines have problems. A NAS may be online while some of its resources are already abnormal. So besides availability checks, OpsHome NOC provides infrastructure information through integrations:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Proxmox VE:&lt;/strong&gt; View nodes, virtual machines, LXC containers, storage, and resource metrics. Connect with a dedicated API token and scope its permissions as needed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;VMware ESXi / vSphere:&lt;/strong&gt; View hosts, virtual machines, datastores, and resource information. The exact fields depend on your actual deployment.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Synology NAS:&lt;/strong&gt; Depending on DSM version and collection method, view system status, resources, storage, disks, and network information.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Linux and Docker:&lt;/strong&gt; Combine host information, container status, and service checks to understand the basic health of your runtime environment.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Apply the principle of least privilege to monitoring credentials, and avoid granting unnecessary administrative rights.&lt;/p&gt;

&lt;p&gt;Related documentation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Infrastructure assets: &lt;a href="https://docs.opshome.run/assets.html" rel="noopener noreferrer"&gt;https://docs.opshome.run/assets.html&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Proxmox API token guide: &lt;a href="https://docs.opshome.run/articles/proxmox-opshome-api-token-guide.html" rel="noopener noreferrer"&gt;https://docs.opshome.run/articles/proxmox-opshome-api-token-guide.html&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  4. Incident History and Troubleshooting
&lt;/h2&gt;

&lt;p&gt;The value of monitoring lies not only in spotting problems but also in keeping enough information to see how a problem unfolded.&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2tq4547vhikn6yp5o6x0.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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2tq4547vhikn6yp5o6x0.png" alt=" " width="800" height="561"&gt;&lt;/a&gt;&lt;br&gt;
OpsHome NOC provides an Incident Workspace that links events from monitors and infrastructure assets. It shows active and resolved incidents, severity, duration, affected resources, an evidence timeline, and recovery information. Combined with Docker container events, it helps you tell apart:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A public endpoint that is unreachable;&lt;/li&gt;
&lt;li&gt;A private service that failed an internal check;&lt;/li&gt;
&lt;li&gt;A container that restarted or entered an abnormal state;&lt;/li&gt;
&lt;li&gt;Infrastructure that is reporting an anomaly;&lt;/li&gt;
&lt;li&gt;A brief outage that has since recovered on its own.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For the specifics of how much history is kept, see the official documentation: &lt;a href="https://docs.opshome.run/" rel="noopener noreferrer"&gt;https://docs.opshome.run/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;These records help narrow down your investigation, but they cannot automatically diagnose every failure. Root-cause analysis still requires infrastructure management tools and application logs.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Web Console: Browser-Based Operations
&lt;/h2&gt;

&lt;p&gt;The mobile app is ideal for quick status checks and receiving alerts. The Web Console is built for viewing your whole environment on a desktop, tablet, or wall display.&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0qmag4dfik1ywbyock7m.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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0qmag4dfik1ywbyock7m.png" alt=" " width="800" height="800"&gt;&lt;/a&gt;&lt;br&gt;
Main capabilities:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Monitor matrix:&lt;/strong&gt; Public checks and private Probe targets in a single matrix, showing availability, latency, protocol, and current state at a glance.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Assets topology:&lt;/strong&gt; Compute, storage, utilization, and workloads across Synology, Proxmox, VMware, and Linux.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Incident context:&lt;/strong&gt; Start from an active risk and trace it to affected resources, evidence, and incident history.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Wall display mode:&lt;/strong&gt; Turn a browser into a long-running status board.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Experience:&lt;/strong&gt; Light and dark themes, adapted to large desktop displays, iPad, and mobile browsers.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The Web Console is read-only by design. It is for reviewing state and investigating incidents. It provides no infrastructure control and does not replace the management interfaces of Proxmox, VMware, Synology, or Docker. Sign-in uses the same Apple account as the app (Sign in with Apple), and OpsHome never receives or stores your Apple Account password.&lt;/p&gt;

&lt;p&gt;What the Web Console displays depends on your plan tier. See Section 9 for the limits of each plan.&lt;/p&gt;

&lt;p&gt;To get started, add monitors and assets in the iPhone app, then open &lt;a href="https://console.opshome.run/" rel="noopener noreferrer"&gt;https://console.opshome.run/&lt;/a&gt; in a browser. Your data syncs automatically.&lt;/p&gt;

&lt;p&gt;Learn more: &lt;a href="https://noc.opshome.run/console/" rel="noopener noreferrer"&gt;https://noc.opshome.run/console/&lt;/a&gt;&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkyd63qpayllw6ixi5t1w.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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkyd63qpayllw6ixi5t1w.png" alt=" " width="800" height="392"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Status Pages: Showing Service Status to Users and Customers
&lt;/h2&gt;

&lt;p&gt;Internal monitoring answers "how do operators understand the state of the system?" Service users have a simpler need: &lt;strong&gt;Is the service working right now, and is there a known outage?&lt;/strong&gt;&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4qlekwqvdi3c24eaycgt.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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4qlekwqvdi3c24eaycgt.png" alt=" " width="800" height="702"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A Status Page is a public-facing page. You choose which monitors to publish, and visitors can see the following without opening your monitoring dashboard:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The current online state of each service and its latest check;&lt;/li&gt;
&lt;li&gt;24-hour, 7-day, and 30-day uptime summaries;&lt;/li&gt;
&lt;li&gt;Response times;&lt;/li&gt;
&lt;li&gt;Recent incidents and recovery.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Sharing and control:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Share by link or QR code. Scanning the QR code in the OpsHome app verifies that the page was issued by OpsHome.&lt;/li&gt;
&lt;li&gt;Access code protection is supported, and sharing duration can be set from 24 hours to permanent.&lt;/li&gt;
&lt;li&gt;Public pages never expose real IPs, domains, or internal network details.&lt;/li&gt;
&lt;li&gt;You can disable or delete a Status Page at any time from the app.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Typical scenarios: a small business showing customers the status of key services; a self-hosted app operator sharing a status page with users; a homelab owner giving family a single place to check. Meanwhile, administrators keep investigating with their internal tools.&lt;/p&gt;

&lt;p&gt;You control what is public. Publish only services that are appropriate to share.&lt;/p&gt;

&lt;p&gt;Learn more: &lt;a href="https://noc.opshome.run/status-pages/" rel="noopener noreferrer"&gt;https://noc.opshome.run/status-pages/&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Three Entry Points, Three Roles
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Entry point&lt;/th&gt;
&lt;th&gt;Main audience&lt;/th&gt;
&lt;th&gt;Core purpose&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;iPhone app (iPad supported)&lt;/td&gt;
&lt;td&gt;Operators&lt;/td&gt;
&lt;td&gt;Configure monitoring, check status on the go, follow up on alerts&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Web Console&lt;/td&gt;
&lt;td&gt;Operators&lt;/td&gt;
&lt;td&gt;Read-only browser monitoring, asset viewing, wall display&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Status Pages&lt;/td&gt;
&lt;td&gt;Users, customers, and other visitors&lt;/td&gt;
&lt;td&gt;Show the service status the operator chooses to make public&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The iPhone app is available anywhere, the Web Console is for deeper observation, and Status Pages handle external communication. Together they cover the whole path from spotting a problem to understanding it to telling others.&lt;/p&gt;

&lt;h2&gt;
  
  
  8. Scope and Limits
&lt;/h2&gt;

&lt;p&gt;OpsHome NOC suits individuals, small offices, business teams, and IT administrators who want a clear view of how their services are running. How well it fits depends on your devices, integrations, and actual needs.&lt;/p&gt;

&lt;p&gt;It is not a replacement for log analysis, metrics platforms, distributed tracing, or security analytics systems, and it doesn't replace sound network segmentation, permission management, and credential protection. Its role is to add a layer of monitoring, observation, and status communication on top of your existing systems.&lt;/p&gt;

&lt;h2&gt;
  
  
  9. Getting Started
&lt;/h2&gt;

&lt;p&gt;You don't need to connect everything at once. Start with your most important services and expand from there:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Add public monitors for your key websites and APIs.&lt;/li&gt;
&lt;li&gt;Deploy a Docker Probe on a host that can reach your private network.&lt;/li&gt;
&lt;li&gt;Add Private Monitors for internal apps.&lt;/li&gt;
&lt;li&gt;Connect integrations such as Proxmox, VMware, and Synology as your environment requires.&lt;/li&gt;
&lt;li&gt;Check status and operations information in the iPhone app or the Web Console.&lt;/li&gt;
&lt;li&gt;When you need to communicate externally, set up a Status Page.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Get the App
&lt;/h3&gt;

&lt;p&gt;OpsHome NOC is a free download on the App Store (requires iOS 17.6 or later). Core monitoring works without a subscription and without a credit card:&lt;br&gt;
&lt;a href="https://apps.apple.com/us/app/opshome-noc/id6763890679" rel="noopener noreferrer"&gt;https://apps.apple.com/us/app/opshome-noc/id6763890679&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Plans
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Free&lt;/th&gt;
&lt;th&gt;Pro&lt;/th&gt;
&lt;th&gt;Studio&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Price&lt;/td&gt;
&lt;td&gt;$0&lt;/td&gt;
&lt;td&gt;$2.99/month or $24.99/year&lt;/td&gt;
&lt;td&gt;$5.99/month or $49.99/year&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Public monitor targets&lt;/td&gt;
&lt;td&gt;30&lt;/td&gt;
&lt;td&gt;100&lt;/td&gt;
&lt;td&gt;250&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Monitor types&lt;/td&gt;
&lt;td&gt;HTTP / HTTPS / TCP / SSL / ICMP&lt;/td&gt;
&lt;td&gt;All types, including UDP, DNS, Domain&lt;/td&gt;
&lt;td&gt;All types and infrastructure integrations&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Docker Probes&lt;/td&gt;
&lt;td&gt;1 (Synology)&lt;/td&gt;
&lt;td&gt;12 (multi-platform)&lt;/td&gt;
&lt;td&gt;25 (multi-platform)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Private Monitors&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;50&lt;/td&gt;
&lt;td&gt;150&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Asset sources&lt;/td&gt;
&lt;td&gt;Synology assets&lt;/td&gt;
&lt;td&gt;12 (Proxmox VE, VMware vSphere, Linux, Synology)&lt;/td&gt;
&lt;td&gt;25&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Status Pages&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;5, with 20 monitors per page&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Minimum check interval&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;3 minutes&lt;/td&gt;
&lt;td&gt;3 minutes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Telegram push alerts&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;Custom Telegram setup&lt;/td&gt;
&lt;td&gt;Custom Telegram setup&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Also included&lt;/td&gt;
&lt;td&gt;Push alerts, SSL expiry reminders&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Prices are shown in USD. Your App Store may display a different local price.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Founder Benefit:&lt;/strong&gt; Eligible early accounts registered before May 1, 2027 permanently keep 30 public monitors, 3 Synology Docker Probes, 6 Private Monitors, and 1 Status Page.&lt;/p&gt;

&lt;p&gt;Official resources:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Product website: &lt;a href="https://app.opshome.run/" rel="noopener noreferrer"&gt;https://app.opshome.run/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Web Console: &lt;a href="https://noc.opshome.run/console/" rel="noopener noreferrer"&gt;https://noc.opshome.run/console/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Status Pages: &lt;a href="https://noc.opshome.run/status-pages/" rel="noopener noreferrer"&gt;https://noc.opshome.run/status-pages/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Documentation: &lt;a href="https://docs.opshome.run/" rel="noopener noreferrer"&gt;https://docs.opshome.run/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Docker Probe installation: &lt;a href="https://docs.opshome.run/docs/docker-probe/install/" rel="noopener noreferrer"&gt;https://docs.opshome.run/docs/docker-probe/install/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Private HTTP, HTTPS, and TCP monitors: &lt;a href="https://docs.opshome.run/docs/private-monitors/http-https-tcp/" rel="noopener noreferrer"&gt;https://docs.opshome.run/docs/private-monitors/http-https-tcp/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Closing
&lt;/h2&gt;

&lt;p&gt;IT environments differ in size and purpose, but the core of monitoring is the same: know whether your services are healthy, understand the state of your infrastructure, and get useful information when something goes wrong.&lt;/p&gt;

&lt;p&gt;Through public monitoring, Docker Probe, infrastructure integrations, and incident history, OpsHome NOC helps you keep track of how your services and infrastructure are running. The iPhone app and Web Console serve operators, and Status Pages serve external visitors.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Your Infrastructure. One Glance Away.&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>networking</category>
      <category>ios</category>
      <category>monitoring</category>
    </item>
    <item>
      <title>Traceroute, Visualized: Turning Raw MTR Hops into a Route You Can Explore</title>
      <dc:creator>Frank Zhang</dc:creator>
      <pubDate>Tue, 27 Oct 2026 08:52:18 +0000</pubDate>
      <link>https://dev.to/frankzhang/traceroute-visualized-turning-raw-mtr-hops-into-a-route-you-can-explore-1dfk</link>
      <guid>https://dev.to/frankzhang/traceroute-visualized-turning-raw-mtr-hops-into-a-route-you-can-explore-1dfk</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmx32f2blgw0ulrdksg4w.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmx32f2blgw0ulrdksg4w.gif" alt=" " width="480" height="480"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A traceroute can tell you which hops responded along a network path. MTR&lt;br&gt;
goes further by repeating probes and collecting latency statistics over&lt;br&gt;
time.&lt;/p&gt;

&lt;p&gt;But raw hop data is only part of the story.&lt;/p&gt;

&lt;p&gt;When troubleshooting a network, I often want to answer several questions&lt;br&gt;
quickly:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  Which network organizations do these hops belong to?&lt;/li&gt;
&lt;li&gt;  Where does latency change along the route?&lt;/li&gt;
&lt;li&gt;  Has the path changed since the last test?&lt;/li&gt;
&lt;li&gt;  Can I understand the route without digging through a long list of IP
addresses?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These questions inspired the latest round of improvements to &lt;strong&gt;Visual&lt;br&gt;
MTR&lt;/strong&gt;, a native traceroute and network path diagnostics app for iPhone&lt;br&gt;
and iPad.&lt;/p&gt;

&lt;p&gt;The goal is not to turn network troubleshooting into a pretty animation.&lt;br&gt;
It is to make route information easier to explore while preserving the&lt;br&gt;
underlying diagnostic evidence.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Preserve the original hop order
&lt;/h2&gt;

&lt;p&gt;A network path should not lose its sequence simply because we want to&lt;br&gt;
visualize it.&lt;/p&gt;

&lt;p&gt;In the latest interface, the AS Route view uses a vertical timeline&lt;br&gt;
ordered by the original TTL sequence rather than a row of horizontally&lt;br&gt;
arranged cards.&lt;/p&gt;

&lt;p&gt;Each entry provides a compact summary, including the ASN, network&lt;br&gt;
operator, hop number, and average RTT. Expand an entry to inspect more&lt;br&gt;
detailed information, such as the hop IP address, response times, and&lt;br&gt;
estimated geographic location.&lt;/p&gt;

&lt;p&gt;This creates two useful levels of detail:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;At a glance:&lt;/strong&gt; Follow the sequence of network organizations and
compare latency along the path.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;On demand:&lt;/strong&gt; Drill down into individual hops without losing their
position in the original trace.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There is an important distinction here: an ASN-oriented view derived&lt;br&gt;
from observed hops is not the same as a complete BGP AS_PATH. It is a&lt;br&gt;
way to organize the evidence collected by the traceroute, not a claim to&lt;br&gt;
reconstruct every routing decision made by the network.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Separate live results from deeper analysis
&lt;/h2&gt;

&lt;p&gt;A diagnostic tool becomes harder to use when every result, chart, and&lt;br&gt;
saved report competes for attention.&lt;/p&gt;

&lt;p&gt;Visual MTR now separates the workflow into three areas.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Current Test&lt;/strong&gt; - Live Hops - Trace Report&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Advanced Analysis&lt;/strong&gt; - MTR Analysis - Globe Report - Route Diff&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Test Archive&lt;/strong&gt; - Test History&lt;/p&gt;

&lt;p&gt;The distinction is intentional.&lt;/p&gt;

&lt;p&gt;Live results help answer what is happening in the current test. Advanced&lt;br&gt;
analysis helps investigate patterns or compare routes. The archive makes&lt;br&gt;
it easier to revisit previous measurements.&lt;/p&gt;

&lt;p&gt;Instead of treating every screen as another version of the same report,&lt;br&gt;
each area has a specific job.&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fk0vxmwsqlztme2v2ndni.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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fk0vxmwsqlztme2v2ndni.png" alt=" " width="800" height="1576"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Look at latency over multiple rounds
&lt;/h2&gt;

&lt;p&gt;A single traceroute is a snapshot. Network conditions can change between&lt;br&gt;
measurements, and one unusually high RTT does not necessarily indicate&lt;br&gt;
persistent congestion.&lt;/p&gt;

&lt;p&gt;Multi-round MTR provides a more useful basis for comparison.&lt;/p&gt;

&lt;p&gt;Visual MTR's Pro analysis includes independent statistics for individual&lt;br&gt;
rounds, alongside aggregated results. RTT summaries, trends, and&lt;br&gt;
hop-by-round heatmaps help reveal whether a delay is persistent,&lt;br&gt;
intermittent, or limited to a particular measurement period.&lt;/p&gt;

&lt;p&gt;This changes the questions we can ask.&lt;/p&gt;

&lt;p&gt;Rather than looking only at the average, we can investigate:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  Does latency remain elevated across multiple rounds?&lt;/li&gt;
&lt;li&gt;  Does the variation appear consistently at the same hop?&lt;/li&gt;
&lt;li&gt;  Are individual rounds behaving differently from the overall result?&lt;/li&gt;
&lt;li&gt;  Does a change in the route coincide with a change in observed
latency?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These views do not automatically identify the root cause. They make it&lt;br&gt;
easier to determine which part of the path deserves further&lt;br&gt;
investigation.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Compare routes instead of relying on memory
&lt;/h2&gt;

&lt;p&gt;Two traces to the same destination may not look identical.&lt;/p&gt;

&lt;p&gt;A later test can reveal a different sequence of responding hops, changes&lt;br&gt;
in observed network organizations, or differences in latency&lt;br&gt;
measurements.&lt;/p&gt;

&lt;p&gt;The Route Diff view helps make those changes easier to investigate.&lt;/p&gt;

&lt;p&gt;Instead of manually comparing two long reports, you can use the&lt;br&gt;
comparison workflow to focus on what changed and then return to the&lt;br&gt;
relevant hop-level details.&lt;/p&gt;

&lt;p&gt;This is especially useful when investigating intermittent connectivity,&lt;br&gt;
changes after network maintenance, or differences between tests taken at&lt;br&gt;
different times.&lt;/p&gt;

&lt;p&gt;A route difference is evidence, not a diagnosis. Routing policies, load&lt;br&gt;
balancing, transient conditions, and probe-response behavior can all&lt;br&gt;
affect what a trace shows. The next step is to correlate the observed&lt;br&gt;
change with the actual connectivity problem.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Explore the route on a 3D globe
&lt;/h2&gt;

&lt;p&gt;The new Globe Report provides another way to inspect a route.&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnnlmpbhels62s1ve3gg8.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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnnlmpbhels62s1ve3gg8.png" alt=" " width="800" height="1576"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Rather than presenting only a list of hops, it places geographically&lt;br&gt;
locatable hops on an interactive 3D globe. You can rotate and zoom the&lt;br&gt;
globe, select points, and reset the view to explore the displayed route.&lt;/p&gt;

&lt;p&gt;The visualization is designed to complement the original trace, not&lt;br&gt;
replace it.&lt;/p&gt;

&lt;p&gt;There are two important implementation details.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;First, hop order must remain meaningful.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The globe uses a single selected trace round with usable geographic&lt;br&gt;
information. It does not combine hops from different rounds into a&lt;br&gt;
synthetic route. This avoids presenting a visually complete path that&lt;br&gt;
was never observed in any individual round.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Second, geographic information has limits.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;IP geolocation provides estimates, not verified physical router&lt;br&gt;
coordinates. The displayed connections represent logical hop order; they&lt;br&gt;
are not verified physical cable routes.&lt;/p&gt;

&lt;p&gt;A globe view is useful for understanding the broad geographic context of&lt;br&gt;
a path. Exact latency measurements and the original hop sequence remain&lt;br&gt;
essential for technical analysis.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Network diagnostics that fit in your pocket
&lt;/h2&gt;

&lt;p&gt;Visual MTR is designed for situations where opening a laptop is&lt;br&gt;
inconvenient or impossible.&lt;/p&gt;

&lt;p&gt;The app provides native IPv4 and IPv6 tracing, per-hop response&lt;br&gt;
information, offline ASN lookup, and configurable DNS settings.&lt;/p&gt;

&lt;p&gt;Pro extends the workflow with multi-round MTR, advanced visual analysis,&lt;br&gt;
the 3D Globe Report, Route Diff, and PDF, JSON, and text report exports.&lt;br&gt;
Saved diagnostic history also makes it easier to revisit previous tests.&lt;/p&gt;

&lt;p&gt;The app uses a free core workflow with a one-time Pro in-app purchase&lt;br&gt;
rather than a subscription.&lt;/p&gt;

&lt;p&gt;The objective is straightforward: make it possible to start with a&lt;br&gt;
simple trace and move into deeper analysis when the problem warrants it,&lt;br&gt;
without forcing every user to navigate the same level of complexity.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Visualization should clarify evidence, not overstate it
&lt;/h2&gt;

&lt;p&gt;A good network visualization should make technical information easier to&lt;br&gt;
understand without suggesting more certainty than the measurements&lt;br&gt;
support.&lt;/p&gt;

&lt;p&gt;For traceroute and MTR, that means keeping a few principles in mind:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  A hop that does not respond to probes is not automatically dropping
forwarded traffic.&lt;/li&gt;
&lt;li&gt;  An ASN summary does not reveal the complete BGP routing state.&lt;/li&gt;
&lt;li&gt;  An estimated IP location is not the physical location of a router.&lt;/li&gt;
&lt;li&gt;  A difference between two traces does not, by itself, prove the cause
of an incident.&lt;/li&gt;
&lt;li&gt;  A visual route should remain traceable to the measurements from
which it was derived.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These constraints are not limitations to hide. They are part of building&lt;br&gt;
a diagnostic tool that network engineers can trust.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try Visual MTR
&lt;/h2&gt;

&lt;p&gt;Visual MTR brings native route tracing and visual network path analysis&lt;br&gt;
to iPhone and iPad.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;App Store:&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://apps.apple.com/app/visual-mtr-traceroute/id6821332849" rel="noopener noreferrer"&gt;https://apps.apple.com/app/visual-mtr-traceroute/id6821332849&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The product is still evolving, but the direction is clear: preserve the&lt;br&gt;
original measurements, organize the route intelligently, and give users&lt;br&gt;
better ways to investigate what they see.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;If you troubleshoot networks on a mobile device, which view would help&lt;br&gt;
you most: an ordered hop timeline, multi-round latency analysis, route&lt;br&gt;
comparison, or a 3D globe?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I'd be interested to hear how other network engineers approach route&lt;br&gt;
analysis when they are away from their usual workstation.&lt;/p&gt;

</description>
      <category>networking</category>
      <category>devops</category>
      <category>troubleshooting</category>
      <category>ios</category>
    </item>
  </channel>
</rss>
