[package] dnsmasq: add and enable DNS rebind protections
[openwrt.git] / package / dnsmasq / files / dnsmasq.conf
1 # Change the following lines if you want dnsmasq to serve SRV
2 # records.
3 # You may add multiple srv-host lines.
4 # The fields are <name>,<target>,<port>,<priority>,<weight>
5
6 # A SRV record sending LDAP for the example.com domain to
7 # ldapserver.example.com port 289
8 #srv-host=_ldap._tcp.example.com,ldapserver.example.com,389
9
10 # Two SRV records for LDAP, each with different priorities
11 #srv-host=_ldap._tcp.example.com,ldapserver.example.com,389,1
12 #srv-host=_ldap._tcp.example.com,ldapserver.example.com,389,2
13
14 # A SRV record indicating that there is no LDAP server for the domain
15 # example.com
16 #srv-host=_ldap._tcp.example.com
17
18 # The following line shows how to make dnsmasq serve an arbitrary PTR
19 # record. This is useful for DNS-SD.
20 # The fields are <name>,<target>
21 #ptr-record=_http._tcp.dns-sd-services,"New Employee Page._http._tcp.dns-sd-services"
22
23 # Change the following lines to enable dnsmasq to serve TXT records.
24 # These are used for things like SPF and zeroconf.
25 # The fields are <name>,<text>,<text>...
26
27 #Example SPF.
28 #txt-record=example.com,"v=spf1 a -all"
29
30 #Example zeroconf
31 #txt-record=_http._tcp.example.com,name=value,paper=A4
32
33 # Provide an alias for a "local" DNS name. Note that this _only_ works
34 # for targets which are names from DHCP or /etc/hosts. Give host
35 # "bert" another name, bertrand
36 # The fields are <cname>,<target>
37 #cname=bertand,bert
This page took 0.048817 seconds and 5 git commands to generate.