public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH pve-docs] sdn: dhcp: document changes in default configuration of dnsmasq
@ 2023-11-24 14:56 Stefan Hanreich
  0 siblings, 0 replies; only message in thread
From: Stefan Hanreich @ 2023-11-24 14:56 UTC (permalink / raw)
  To: pve-devel

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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-24 14:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-24 14:56 [pve-devel] [PATCH pve-docs] sdn: dhcp: document changes in default configuration of dnsmasq Stefan Hanreich

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