-
Notifications
You must be signed in to change notification settings - Fork 2
/
dnsmasq.custom.conf
38 lines (30 loc) · 985 Bytes
/
dnsmasq.custom.conf
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
interface=wlan0
dhcp-range=wlan0,192.168.12.2,192.168.12.50,12h
# Gateway
dhcp-option=3,192.168.12.1
# DNS
dhcp-option=6,192.168.12.1
# WINS
# Windows clients and Samba.
# dhcp-option=19,0 # option ip-forwarding off
dhcp-option=44,192.168.12.1 # set netbios-over-TCP/IP nameserver(s) aka WINS server(s)
dhcp-option=45,192.168.12.1 # netbios datagram distribution server
dhcp-option=46,8 # netbios node type
dhcp-authoritative
# Never forward plain names (without a dot or domain part)
#domain-needed
# Never forward addresses in the non-routed address spaces.
bogus-priv
# Filter useless windows-originated DNS requests
# which can trigger dial-on-demand links needlessly.
filterwin2k
# Set this (and domain: see below) if you want to have a domain
# automatically added to simple names in a hosts-file.
expand-hosts
# Transfer .onion request to TOR
#server=/onion/192.168.12.1#9053
server=127.0.0.1#9053
# Do not read any recolv file
no-resolv
# Log queries
#log-queries