From 6325f4dd029b4eb724083e07a3065de11929cd27 Mon Sep 17 00:00:00 2001 From: billz Date: Mon, 13 Jan 2020 09:42:05 +0000 Subject: [PATCH] Update dnsmasq with bind-dynamic. Addresses #429 --- includes/hostapd.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/hostapd.php b/includes/hostapd.php index b4c91a69..aa06ebbb 100755 --- a/includes/hostapd.php +++ b/includes/hostapd.php @@ -241,7 +241,7 @@ function SaveHostAPDConfig($wpa_array, $enc_types, $modes, $interfaces, $status) $dhcp_range = ($dhcpConfig['dhcp-range'] =='10.3.141.50,10.3.141.255,255.255.255.0,12h' || $dhcpConfig['dhcp-range'] =='') ? '192.168.50.50,192.168.50.150,12h' : $dhcpConfig['dhcp-range']; $config = 'interface=lo,uap0 # Enable uap0 interface for wireless client AP mode'.PHP_EOL; - $config.= 'bind-interfaces # Bind to the interfaces'.PHP_EOL; + $config.= 'bind-dynamic # Hybrid between --bind-interfaces and default'.PHP_EOL; $config.= 'server=8.8.8.8 # Forward DNS requests to Google DNS'.PHP_EOL; $config.= 'domain-needed # Don\'t forward short names'.PHP_EOL; $config.= 'bogus-priv # Never forward addresses in the non-routed address spaces'.PHP_EOL;