<?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/v1.5/tags/dns/</link><description>Recent content in DNS on Barn</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Thu, 03 Dec 2026 00:00:00 +0800</lastBuildDate><atom:link href="https://barn.pgsty.com/v1.5/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/v1.5/blog/design/pigsty-host-setup/</link><pubDate>Wed, 11 Nov 2026 00:00:00 +0800</pubDate><guid>https://barn.pgsty.com/v1.5/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;&#10;&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="https://barn.pgsty.com/v1.5/blog/design/pigsty-host-dns/"&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/v1.5/blog/design/pigsty-host-dns/</link><pubDate>Tue, 10 Nov 2026 00:00:00 +0800</pubDate><guid>https://barn.pgsty.com/v1.5/blog/design/pigsty-host-dns/</guid><description>&lt;div class="td-callout td-callout--note" role="note"&gt;&#10; &lt;div class="td-callout__title"&gt;&lt;i class="td-callout__icon fa-solid fa-circle-info" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="td-callout__label"&gt;Note&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="td-callout__body"&gt;&#10;&lt;p&gt;&lt;strong&gt;Scope narrowed on 2026-11-11:&lt;/strong&gt; the first delivery is now &lt;a href="https://barn.pgsty.com/v1.5/blog/design/pigsty-host-setup/"&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;&#10; &lt;/div&gt;&#10;&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/v1.5/blog/design/pigsty-barn-migration/</link><pubDate>Tue, 10 Nov 2026 00:00:00 +0800</pubDate><guid>https://barn.pgsty.com/v1.5/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;&#10;&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>