From 60ccd0485cb29fe8f94bb276f912c4a5e8b5fad4 Mon Sep 17 00:00:00 2001 From: Martinski4GitHub <119833648+Martinski4GitHub@users.noreply.github.com> Date: Thu, 20 Nov 2025 01:02:07 -0800 Subject: [PATCH] Update README.md Updated. --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 175a38c..c132490 100644 --- a/README.md +++ b/README.md @@ -42,13 +42,16 @@ If you do not have Entware installed, you will need to use the full path: ## Changes made to dnsmasq configuration -YazDHCP adds 2 lines to dnsmasq.conf.add to configure DHCP IP address reservations: +YazDHCP adds up to 3 lines to **/jffs/configs/dnsmasq.conf.add** file to configure DHCP IP address reservations: ```sh +addn-hosts=/jffs/addons/YazDHCP.d/.hostnames #YazDHCP_hostnames# dhcp-hostsfile=/jffs/addons/YazDHCP.d/.staticlist #YazDHCP_staticlist# dhcp-optsfile=/jffs/addons/YazDHCP.d/.optionslist #YazDHCP_optionslist# ``` +**addn-hosts** contains a list of IP-address-to-Hostname mappings for DNS resolution of the specified clients. This is particularly useful for a network client whose IP address has been statically assigned on the device itself, not via a DHCP lease. + **dhcp-hostsfile** contains a list of MAC-address-to-IP-address bindings to reserve a specific DHCP IP address for a MAC address. **dhcp-optsfile** contains a list of MAC-address-to-DNS-server-address bindings to provide the specified DNS server as a DHCP option for a MAC address.