File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -438,18 +438,8 @@ file needs to be used. It is advisable to create a copy of the original ``dnsmas
438438After creating the backup, delete the original file and create a new file ``/etc/dnsmasq.conf ``
439439Setup your DNS and DHCP server. Below is an example configuration file::
440440
441- # User interface wlan0
441+ # Use interface wlan0
442442 interface=wlan0
443- # Specify the address to listen on
444- listen-address=172.128.1.1
445- # Bind only the interfaces it is listening on
446- bind-interfaces
447- # Forward DNS requests to Google DNS
448- server=8.8.8.8
449- # Never forward plain names (without a dot or domain part)
450- domain-needed
451- # Never forward addresses in the non-routed address spaces
452- bogus-priv
453443 # Assign IP addresses between 172.128.1.50 and 172.128.1.150 with a 12 hour lease time
454444 dhcp-range=172.128.1.50,172.128.1.150,12h
455445
You can’t perform that action at this time.
0 commit comments