Skip to content

Commit 6be2412

Browse files
author
Ritwick DSouza
committed
[raspbian] Simplify dnsmasq configuration in docs
1 parent 3bdfdfc commit 6be2412

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

docs/source/backends/raspbian.rst

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -438,18 +438,8 @@ file needs to be used. It is advisable to create a copy of the original ``dnsmas
438438
After creating the backup, delete the original file and create a new file ``/etc/dnsmasq.conf``
439439
Setup 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

0 commit comments

Comments
 (0)