-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdnsmasq.conf
More file actions
46 lines (33 loc) · 910 Bytes
/
dnsmasq.conf
File metadata and controls
46 lines (33 loc) · 910 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# dnsmasq configuration for Evil Twin AP
# Interface to listen on (change to wlan1 if using external USB adapter)
interface=wlan1
# Bind to the interface to ensure we don't serve to other interfaces
bind-interfaces
# Set the domain for DHCP clients
domain=local
# DHCP range configuration
# Subnet: 192.168.99.0/24
# Range: 192.168.99.10 - 192.168.99.250
# Lease time: 12 hours
dhcp-range=192.168.99.10,192.168.99.250,12h
# Gateway (this machine)
dhcp-option=3,192.168.99.1
# DNS server (this machine)
dhcp-option=6,192.168.99.1
# Set the DHCP server to authoritative mode
dhcp-authoritative
# Log DHCP requests
log-dhcp
# Log queries
log-queries
# Log to specific file
log-facility=/home/kali/evil_twin_ap/logs/dnsmasq.log
# Upstream DNS servers (Google DNS)
server=8.8.8.8
server=8.8.4.4
# Disable reading /etc/resolv.conf
no-resolv
# Don't read /etc/hosts
no-hosts
# Cache size
cache-size=1000