<mxfile host="Electron" version="29.6.1">
  <diagram name="2 Hostname route" id="page-1">
    <mxGraphModel dx="1600" dy="1200" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1700" pageHeight="1200" math="0" shadow="0">
      <root>
        <mxCell id="0" />
        <mxCell id="1" parent="0" />
        <mxCell id="title" value="S31-02 Hostname route: how the name becomes the destination (variant D)" style="text;html=1;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=24;fontColor=#16191F;fillColor=none;strokeColor=none;spacing=4;fontStyle=1;fontFamily=Helvetica;" vertex="1" parent="1"><mxGeometry x="20" y="10" width="1400" height="34" as="geometry" /></mxCell>
        <mxCell id="subtitle" value="Seven steps, the same numbers as in section 5 of the page. The address that Deniz&#x27;s Client gets in step 3 is a token IP, not the address of lnx-ops01." style="text;html=1;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;fontColor=#16191F;fillColor=none;strokeColor=none;spacing=4;fontFamily=Helvetica;" vertex="1" parent="1"><mxGeometry x="20" y="44" width="1400" height="40" as="geometry" /></mxCell>
        <mxCell id="sep" value="" style="line;strokeWidth=2;html=1;strokeColor=#FF9900;fontFamily=Helvetica;" vertex="1" parent="1"><mxGeometry x="20" y="86" width="1400" height="6" as="geometry" /></mxCell>
        <mxCell id="f-home" value="Remote user · home network" style="rounded=0;whiteSpace=wrap;html=1;container=1;pointerEvents=0;collapsible=0;recursiveResize=0;fillColor=light-dark(#5A6C860D,#5A6C860D);fillStyle=auto;strokeColor=#5A6C86;strokeWidth=1.5;verticalAlign=top;align=left;spacingRight=8;spacingLeft=8;spacingTop=2;fontColor=#5A6C86;fontStyle=1;fontSize=12;fontFamily=Helvetica;" vertex="1" parent="1"><mxGeometry x="20" y="140" width="280" height="330" as="geometry" /></mxCell>
        <mxCell id="pcd" value="&lt;b&gt;pc-deniz&lt;/b&gt; · Mesh IP 100.96.0.10&lt;br&gt;Cloudflare One Client&lt;br&gt;local DNS proxy&lt;br&gt;&lt;b&gt;1&lt;/b&gt; ssh deniz.kaya@lnx-ops01.example.internaldomain" style="rounded=1;arcSize=6;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#232F3E;align=left;verticalAlign=middle;spacingLeft=52;spacingRight=4;fontSize=10;fontColor=#16191F;fontFamily=Helvetica;" vertex="1" parent="1"><mxGeometry x="32" y="190" width="256" height="120" as="geometry" /></mxCell>
        <mxCell id="pcd-icon" value="" style="sketch=0;shape=image;cfIcon=warp-client;aspect=fixed;imageAspect=0;html=1;" vertex="1" parent="1"><mxGeometry x="38" y="230.0" width="40" height="40" as="geometry" /></mxCell>
        <mxCell id="cf" value="Cloudflare global network" style="cfBoundary=1;rounded=0;whiteSpace=wrap;html=1;container=1;pointerEvents=0;collapsible=0;recursiveResize=0;fillColor=light-dark(#F380200D,#F380200D);fillStyle=auto;strokeColor=#F38020;strokeWidth=1.5;verticalAlign=top;align=left;spacingRight=8;spacingLeft=32;spacingTop=2;fontColor=#F38020;fontStyle=1;fontSize=12;fontFamily=Helvetica;" vertex="1" parent="1"><mxGeometry x="390" y="140" width="360" height="330" as="geometry" /></mxCell>
        <mxCell id="cf-logo" value="" style="sketch=0;shape=image;cfIcon=cloudflare;aspect=fixed;imageAspect=0;html=1;" vertex="1" parent="1"><mxGeometry x="394" y="142" width="24" height="24" as="geometry" /></mxCell>
        <mxCell id="dns" value="&lt;b&gt;Gateway DNS resolver&lt;/b&gt;&lt;br&gt;hostname route for lnx-ops01.example.internaldomain&lt;br&gt;→ initial resolved IP" style="rounded=1;arcSize=6;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#232F3E;align=left;verticalAlign=middle;spacingLeft=52;spacingRight=4;fontSize=10;fontColor=#16191F;fontFamily=Helvetica;" vertex="1" parent="1"><mxGeometry x="405" y="180" width="330" height="72" as="geometry" /></mxCell>
        <mxCell id="dns-icon" value="" style="sketch=0;shape=image;cfIcon=gateway;aspect=fixed;imageAspect=0;html=1;" vertex="1" parent="1"><mxGeometry x="411" y="196.0" width="40" height="40" as="geometry" /></mxCell>
        <mxCell id="gw" value="&lt;b&gt;Gateway&lt;/b&gt;&lt;br&gt;policy allow-it-admins-lnx-ops01&lt;br&gt;hostname route → mesh-dc&lt;br&gt;rewrite dst 172.64.128.17 → 10.50.50.35" style="rounded=1;arcSize=6;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#232F3E;align=left;verticalAlign=middle;spacingLeft=52;spacingRight=4;fontSize=10;fontColor=#16191F;fontFamily=Helvetica;" vertex="1" parent="1"><mxGeometry x="405" y="330" width="330" height="100" as="geometry" /></mxCell>
        <mxCell id="gw-icon" value="" style="sketch=0;shape=image;cfIcon=gateway;aspect=fixed;imageAspect=0;html=1;" vertex="1" parent="1"><mxGeometry x="411" y="360.0" width="40" height="40" as="geometry" /></mxCell>
        <mxCell id="dc" value="Örnek Holding DC · VLAN 50 · 10.50.50.0/24" style="rounded=0;whiteSpace=wrap;html=1;container=1;pointerEvents=0;collapsible=0;recursiveResize=0;fillColor=light-dark(#147EBA0D,#147EBA0D);fillStyle=auto;strokeColor=#147EBA;strokeWidth=1.5;verticalAlign=top;align=left;spacingRight=8;spacingLeft=8;spacingTop=2;fontColor=#147EBA;fontStyle=1;fontSize=12;fontFamily=Helvetica;" vertex="1" parent="1"><mxGeometry x="880" y="140" width="520" height="330" as="geometry" /></mxCell>
        <mxCell id="r1" value="&lt;b&gt;mesh-dc-01&lt;/b&gt; · 10.50.50.72&lt;br&gt;Active replica of mesh-dc&lt;br&gt;resolver: /etc/resolv.conf&lt;br&gt;(fallback /etc/hosts)" style="rounded=1;arcSize=6;whiteSpace=wrap;html=1;fillColor=#FFF7EE;strokeColor=#F38020;align=center;verticalAlign=middle;spacingLeft=6;spacingRight=4;fontSize=10;fontColor=#16191F;fontFamily=Helvetica;" vertex="1" parent="1"><mxGeometry x="900" y="330" width="210" height="100" as="geometry" /></mxCell>
        <mxCell id="dc1" value="&lt;b&gt;dc01&lt;/b&gt; 10.50.50.10 · &lt;b&gt;dc02&lt;/b&gt; 10.50.50.11&lt;br&gt;A record lnx-ops01 → 10.50.50.35" style="rounded=1;arcSize=6;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#232F3E;align=center;verticalAlign=middle;spacingLeft=6;spacingRight=4;fontSize=10;fontColor=#16191F;fontFamily=Helvetica;" vertex="1" parent="1"><mxGeometry x="1200" y="180" width="190" height="72" as="geometry" /></mxCell>
        <mxCell id="lnx" value="&lt;b&gt;lnx-ops01&lt;/b&gt;&lt;br&gt;10.50.50.35:22&lt;br&gt;reply path: source&lt;br&gt;undocumented (see section 5)" style="rounded=1;arcSize=6;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#232F3E;align=center;verticalAlign=middle;spacingLeft=6;spacingRight=4;fontSize=10;fontColor=#16191F;fontFamily=Helvetica;" vertex="1" parent="1"><mxGeometry x="1200" y="330" width="190" height="100" as="geometry" /></mxCell>
        <mxCell id="e2" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;strokeColor=#D86613;strokeWidth=2;fontFamily=Helvetica;endArrow=block;endFill=1;exitX=1;exitY=0.1;exitDx=0;exitDy=0;entryX=0;entryY=0.3056;entryDx=0;entryDy=0;" edge="1" parent="1" source="pcd" target="dns"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell>
        <mxCell id="e2-l" value="&lt;b&gt;2&lt;/b&gt; N4 query&lt;br&gt;(DoH in tunnel)" style="text;html=1;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=10;fontColor=#D86613;fillColor=none;strokeColor=none;spacing=4;fontFamily=Helvetica;" vertex="1" parent="1"><mxGeometry x="296" y="150" width="96" height="50" as="geometry" /></mxCell>
        <mxCell id="e3" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;strokeColor=#D86613;strokeWidth=2;fontFamily=Helvetica;endArrow=block;endFill=1;dashed=1;dashPattern=4 3;exitX=0;exitY=0.8056;exitDx=0;exitDy=0;entryX=1;entryY=0.4;entryDx=0;entryDy=0;" edge="1" parent="1" source="dns" target="pcd"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell>
        <mxCell id="e3-l" value="&lt;b&gt;3&lt;/b&gt; answer&lt;br&gt;172.64.128.17&lt;br&gt;(token IP)" style="text;html=1;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=10;fontColor=#D86613;fillColor=none;strokeColor=none;spacing=4;fontFamily=Helvetica;" vertex="1" parent="1"><mxGeometry x="296" y="242" width="96" height="52" as="geometry" /></mxCell>
        <mxCell id="e4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;strokeColor=#D86613;strokeWidth=2;fontFamily=Helvetica;endArrow=block;endFill=1;exitX=1;exitY=0.9;exitDx=0;exitDy=0;entryX=0;entryY=0.4;entryDx=0;entryDy=0;" edge="1" parent="1" source="pcd" target="gw"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="340" y="298" /><mxPoint x="340" y="370" /></Array></mxGeometry></mxCell>
        <mxCell id="e4-l" value="&lt;b&gt;4&lt;/b&gt; N1 packet to&lt;br&gt;172.64.128.17:22" style="text;html=1;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=10;fontColor=#D86613;fillColor=none;strokeColor=none;spacing=4;fontFamily=Helvetica;" vertex="1" parent="1"><mxGeometry x="296" y="375" width="96" height="64" as="geometry" /></mxCell>
        <mxCell id="e5" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;strokeColor=#D86613;strokeWidth=2;fontFamily=Helvetica;endArrow=open;endFill=0;dashed=1;dashPattern=1 3;exitX=1;exitY=0.35;exitDx=0;exitDy=0;entryX=0;entryY=0.35;entryDx=0;entryDy=0;" edge="1" parent="1" source="gw" target="r1"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell>
        <mxCell id="e5-l" value="&lt;b&gt;5&lt;/b&gt; allow-it-admins-lnx-ops01 Allow → hostname route → mesh-dc (MS3)" style="text;html=1;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=10;fontColor=#D86613;fillColor=none;strokeColor=none;spacing=4;fontFamily=Helvetica;" vertex="1" parent="1"><mxGeometry x="752" y="270" width="128" height="62" as="geometry" /></mxCell>
        <mxCell id="e6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;strokeColor=#D86613;strokeWidth=1;fontFamily=Helvetica;endArrow=block;endFill=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="r1" target="dc1"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="1005" y="216" /></Array></mxGeometry></mxCell>
        <mxCell id="e6-l" value="&lt;b&gt;6&lt;/b&gt; MS8 · DNS 53&lt;br&gt;node resolves lnx-ops01&lt;br&gt;→ 10.50.50.35&lt;br&gt;(see note: sources conflict)" style="text;html=1;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=10;fontColor=#D86613;fillColor=none;strokeColor=none;spacing=4;fontFamily=Helvetica;" vertex="1" parent="1"><mxGeometry x="1010" y="226" width="186" height="62" as="geometry" /></mxCell>
        <mxCell id="e7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;strokeColor=#D86613;strokeWidth=2;fontFamily=Helvetica;endArrow=block;endFill=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="r1" target="lnx"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell>
        <mxCell id="e7-l" value="&lt;b&gt;7&lt;/b&gt; MS2 ·&lt;br&gt;lnx-ops01&lt;br&gt;dst 10.50.50.35:22" style="text;html=1;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=10;fontColor=#D86613;fillColor=none;strokeColor=none;spacing=4;fontFamily=Helvetica;" vertex="1" parent="1"><mxGeometry x="1112" y="386" width="88" height="64" as="geometry" /></mxCell>
        <mxCell id="e5-l2" value="Gateway rewrites the destination (step 7 carries it)" style="text;html=1;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=10;fontColor=#5A6C86;fillColor=none;strokeColor=none;spacing=4;fontFamily=Helvetica;" vertex="1" parent="1"><mxGeometry x="752" y="375" width="128" height="60" as="geometry" /></mxCell>
        <mxCell id="cfg" value="&lt;b&gt;Prerequisites (variant D)&lt;/b&gt;&lt;br&gt;Node: Linux Client &amp;gt;= 2026.6.822.0, MASQUE&lt;br&gt;Gateway proxy: TCP, UDP (ICMP recommended for diagnostics; off here)&lt;br&gt;Split Tunnels, node AND user profile: 100.96.0.0/12, 100.64.0.0/12 in tunnel&lt;br&gt;172.64.128.0/20: routed automatically · User profile Local Domain Fallback: no example.internaldomain" style="text;html=1;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=10;fontColor=#16191F;fillColor=#FFF7EE;strokeColor=#F38020;spacing=4;fontFamily=Helvetica;" vertex="1" parent="1"><mxGeometry x="20" y="500" width="760" height="80" as="geometry" /></mxCell>
        <mxCell id="legend" value="&lt;b&gt;Legend&lt;/b&gt;&lt;br&gt;numbers: the order of the steps · solid orange: a packet or a query · dashed: the DNS answer&lt;br&gt;dotted, open arrow (5): packet inside the node&#x27;s MS1 connection&lt;br&gt;note: Mesh route page: the node resolves with its host resolver; Client architecture page: the Client sends host DNS to its own proxy" style="text;html=1;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=10;fontColor=#5A6C86;fillColor=none;strokeColor=none;spacing=4;fontFamily=Helvetica;" vertex="1" parent="1"><mxGeometry x="800" y="500" width="600" height="92" as="geometry" /></mxCell>
      </root>
    </mxGraphModel>
  </diagram>
</mxfile>
