[pve-devel] [PATCH pve-docs] sdn: dhcp: document changes in default configuration of dnsmasq
Stefan Hanreich
s.hanreich at proxmox.com
Fri Nov 24 15:56:15 CET 2023
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 at 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
More information about the pve-devel
mailing list