<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>DNS on Barn</title>
    <link>https://barn.pgsty.com/tags/dns/</link>
    <description>Recent content in DNS on Barn</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    
    
    
      <lastBuildDate>Wed, 11 Nov 2026 00:00:00 +0800</lastBuildDate>
    
    
      <atom:link href="https://barn.pgsty.com/tags/dns/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
        <title>Pigsty host setup: fixed names and CA trust</title>
        <link>https://barn.pgsty.com/blog/design/pigsty-host-setup/</link>
        <pubDate>Wed, 11 Nov 2026 00:00:00 +0800</pubDate>
        
        <guid>https://barn.pgsty.com/blog/design/pigsty-host-setup/</guid>
        <description>&lt;p&gt;&lt;strong&gt;Recommend one optional host setup operation: install a fixed set of Pigsty names and trust the lab&amp;rsquo;s public root CA certificate.&lt;/strong&gt; Keep one entry address, defaulting to &lt;code&gt;10.10.10.10&lt;/code&gt;, and reuse the same CA across ordinary lab rebuilds. With unchanged names, address and CA trust, setup is a no-op and needs no elevation. This gives the common lab a mostly one-time host integration step.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Status — 2026-11-11: proposal, not implemented.&lt;/strong&gt; This narrows the first delivery from the earlier &lt;a href=&#34;https://barn.pgsty.com/blog/design/pigsty-host-dns/&#34;&gt;full host-DNS design&lt;/a&gt;. General inventory extraction, dynamic node/PG/VIP publication, split DNS and a resident DNS service remain optional future work. Their implementation is not a prerequisite for this fixed profile. This review changed documentation only; it did not read a CA private key, install trust, modify system hosts or operate VMs.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Host DNS and domain resolution for Pigsty on Barn</title>
        <link>https://barn.pgsty.com/blog/design/pigsty-host-dns/</link>
        <pubDate>Tue, 10 Nov 2026 00:00:00 +0800</pubDate>
        
        <guid>https://barn.pgsty.com/blog/design/pigsty-host-dns/</guid>
        <description>&lt;div class=&#34;td-callout td-callout--note&#34; role=&#34;note&#34;&gt;&#xA;  &lt;div class=&#34;td-callout__title&#34;&gt;&lt;i class=&#34;td-callout__icon fa-solid fa-circle-info&#34; aria-hidden=&#34;true&#34;&gt;&lt;/i&gt;&lt;span class=&#34;td-callout__label&#34;&gt;Note&lt;/span&gt;&lt;/div&gt;&#xA;  &lt;div class=&#34;td-callout__body&#34;&gt;&#xA;&lt;p&gt;&lt;strong&gt;Scope narrowed on 2026-11-11:&lt;/strong&gt; the first delivery is now &lt;a href=&#34;https://barn.pgsty.com/blog/design/pigsty-host-setup/&#34;&gt;fixed core names and Pigsty CA trust&lt;/a&gt;. This page retains the broader exporter and resolver research; its general inventory and split-DNS work is optional expansion, not a prerequisite for the fixed profile.&lt;/p&gt;&#xA;  &lt;/div&gt;&#xA;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;Recommend explicit, opt-in managed hosts publication first.&lt;/strong&gt; Pigsty computes the names and service targets; Barn previews and installs one neutral address/name snapshot through its existing helper. This is worthwhile for opening portals, addressing nodes and connecting to database or VIP names in a static Linux lab. Fixed addresses make repeated synchronization cheap: unchanged records need no privileged operation. &lt;strong&gt;Root is still required for every actual system hosts change, including removal.&lt;/strong&gt; Setup does not grant perpetual update permission, and a cached or passwordless sudo authorization eliminates a password prompt, not privilege. Keep per-command authorization; consider suffix forwarding when a stable guest DNS endpoint and a complete namespace exist. A host daemon needs demonstrated demand beyond these two options.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Replacing Vagrant with Barn in Pigsty: resources, names, and migration work</title>
        <link>https://barn.pgsty.com/blog/design/pigsty-barn-migration/</link>
        <pubDate>Tue, 10 Nov 2026 00:00:00 +0800</pubDate>
        
        <guid>https://barn.pgsty.com/blog/design/pigsty-barn-migration/</guid>
        <description>&lt;p&gt;Pigsty can use one inventory for Barn and Ansible. The migration needs to preserve topology selection, image matrices, resource scaling, fixed addresses, and SSH workflows while replacing the old scripts&amp;rsquo; implicit addressing, naming, and destruction behavior.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Status (2026-11-10):&lt;/strong&gt; &lt;code&gt;vm_scale&lt;/code&gt;, the 1-vCPU / 2-GiB defaults, &lt;code&gt;vm_hosts&lt;/code&gt;, &lt;code&gt;barn hosts install -f&lt;/code&gt;, and Pigsty&amp;rsquo;s &lt;code&gt;bin/sandbox-dns&lt;/code&gt; are implemented in the local working trees and have passed the offline checks below. They are unreleased. Pigsty&amp;rsquo;s Makefile still uses Vagrant; the second half of this article describes the remaining work. Released Barn 1.1.0 actually defaults to 2 vCPU / 4 GiB when parsing an inventory and does not support these additions.&lt;/p&gt;</description>
      </item>
    
  </channel>
</rss>
