public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Stefan Hanreich <s.hanreich@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH pve-docs] sdn: dhcp: document changes in default configuration of dnsmasq
Date: Fri, 24 Nov 2023 15:56:15 +0100	[thread overview]
Message-ID: <20231124145615.332941-1-s.hanreich@proxmox.com> (raw)

The layout of the configuration folder has changed before release,
update the documentation to reflect those changes.

Also add a tip about automatic name resolution to the documentation.

Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
---
 pvesdn.adoc | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/pvesdn.adoc b/pvesdn.adoc
index fdc6ea7..5c25a3e 100644
--- a/pvesdn.adoc
+++ b/pvesdn.adoc
@@ -675,12 +675,10 @@ folder `/etc/dnsmasq.d/<zone>`:
 `00-default.conf`::
 This contains the default global configuration for a dnsmasq instance.
 
-`10-<zone>-<subnet_cidr>.conf`::
-This file configures specific options for a subnet, such as the DNS server that
-should get configured via DHCP.
-
-`10-<zone>-<subnet_cidr>.ranges.conf`::
-This file configures the DHCP ranges for the dnsmasq instance.
+`10-<zone>.conf`::
+This file configures specific options for a VNet, such as the DNS server that
+should get configured via DHCP. It also configures the different Subnets
+included in a VNet as well as their DHCP ranges.
 
 `ethers`::
 This file contains the MAC-address and IP mappings from the IPAM plugin. In
@@ -702,6 +700,11 @@ For more information please consult the documentation of
 xref:pvesdn_ipam_plugin_pveipam[the PVE IPAM plugin]. Changing DHCP leases is
 currently not supported for the other IPAM plugins.
 
+TIP: The default configuration of dnsmasq automatically provides name
+resolution for the hostnames of the guests. It should be automatically set as
+DNS server for the guests via DHCP, so you can reach other guests in the simple
+zone via their hostname.
+
 [[pvesdn_setup_examples]]
 Examples
 --------
-- 
2.39.2




                 reply	other threads:[~2023-11-24 14:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231124145615.332941-1-s.hanreich@proxmox.com \
    --to=s.hanreich@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal