====== Vibemosphere DNS Server ====== DNS server: zones with all record types (import / export of zone files), zones created from web site directories (www.example.com -> zone example.com, host www -> localhost), forwarding. ^ Id | ''dns'' | ^ Role | ''admin'' - needed for the page and the REST API (administrators always may) | ^ Page | **Plugins > Open** (overlay with an X at the top right) or ''/plugins/dns/'' | ^ REST | ''/api/plugins/dns/...'' and, for callers with the role, ''/plugins/dns/...'' | ===== Open the configuration ===== In the administration open **Plugins**, select the row of this plug-in and press **Open**. The page opens in an overlay dialog: close it with the **X** at the top right, with Esc or by clicking outside; //Open in a new tab// next to the title shows it full size. {{vibecat:plugin-dns.png?900|Vibemosphere DNS Server: the plug-in page in its overlay dialog}} ===== Step by step ===== - Press **New zone**: name (''example.test''), TTL, primary name server and the responsible mail address; SOA values have defaults. - Open the zone and add records (A, AAAA, CNAME, MX, TXT, SRV ...). Import an existing zone file or export one as JSON / zone file. - Optionally add a **site directory** (''www.example.com'' becomes zone ''example.com'' with host ''www'' -> localhost) and set up forwarding for names that are not in your zones. ===== The page in detail ===== {{vibecat:plugin-dns-full.png?900|dns: first tab, Zones}} ===== Tabs ===== The page is divided into the tabs **Zones**, **Web site directories**, **Tools**, **Settings**. ==== Web site directories ==== {{vibecat:plugin-dns-tab2.png?900|dns: tab Web site directories}} ==== Tools ==== {{vibecat:plugin-dns-tab3.png?900|dns: tab Tools}} ==== Settings ==== {{vibecat:plugin-dns-tab4.png?900|dns: tab Settings}} ==== Dialog: Address ==== {{vibecat:plugin-dns-dialog.png?900|Vibemosphere DNS Server: the dialog of "Address"}} ===== Fields and columns ===== ^ Label ^ Meaning ^ | Name | @ = the zone, www, *.apps | | Type | | | TTL (s) | Empty = the TTL of the zone | | Comment | | | Zone | example.com | | Records | | | Serial | Raised automatically at every change | | Served | | | Primary name server | ns1 (= ns1..) or ns1.example.net. | | Name servers | One per line; empty = ns1 | | Responsible mailbox | hostmaster@example.com | | Refresh (s) | | | Retry (s) | | | Expire (s) | | | Negative TTL (s) | | | Directory | The parent of the web site directories, e.g. C:\\inetpub or %USERPROFILE%\\sites | | Address | IPv4 / IPv6 address the host names point to; several separated by commas (empty = 127.0.0.1) | | Active | | | Zone name (empty = $ORIGIN of the file) | | | File | | | Listen on (address) | | | Port | | | Default TTL (s) | | | Scan the web site directories every (s) | | | Forwarders (one per line, IP[:port]) | | | Domains with two-part endings (one per line) | | | Write the zone files to this folder after every change | | | Host name | Column of a table | | Host | Column of a table | | Time | Column of a table | | Client | Column of a table | | Result | Column of a table | | Answered by | Column of a table | | ms | Column of a table | ===== Actions ===== * **Start** * **Stop** * **Restart** * **Import** * **Export all zone files (ZIP)** * **Ask** * **Save** * **Export** * **Adopt** * **Rescan directories** ===== Notes from the page ===== * Names inside a zone are relative: www , @ (the zone itself), *.apps (wildcard). In the data, a name that ends with a dot is absolute ( mail.example.com. ); without a dot it belongs to the zone ( mail ). Zones marked auto come from the web site directories; Adopt turns their records into records of your own. * Every sub-directory whose name is a host name ( www.xxx.com , shop.xxx.com , intranet.local ) becomes an address record. The zone is the domain ( xxx.com ), the host the rest ( www ). The directories are scanned regularly. * A new address or port restarts the server. Port 53 needs that nothing else uses it. ===== Reference ===== This plug-in has no separate documentation page; the sections above describe its page. The REST API follows the pattern ''/api/plugins/dns/...'' (see [[vibecat:plugins:start|plug-in overview]]). [[vibecat:plugins:start|All plug-ins]]