~ubuntu-branches/ubuntu/quantal/maradns/quantal

« back to all changes in this revision

Viewing changes to doc/pt_br/source/example_recursive_mararc

  • Committer: Package Import Robot
  • Author(s): Iain Lane
  • Date: 2012-01-12 23:35:38 UTC
  • mto: This revision was merged to the branch mainline in revision 26.
  • Revision ID: package-import@ubuntu.com-20120112233538-5jkaqrh9nbqtf1ey
Tags: upstream-2.0.04+really1.4.09
ImportĀ upstreamĀ versionĀ 2.0.04+really1.4.09

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Example simplified mararc file.  
 
2
# This only shows a subset of MaraDNS' features needed to be an
 
3
# recursive name server.  Look at 
 
4
# doc/detailed/example_full_mararc for an example showing most of the features 
 
5
# that MaraDNS has.
 
6
 
 
7
# Note that any line starting with a '#' character is a comment, which 
 
8
# means the line is ignored by the MaraDNS parser.  Comments are used to
 
9
# put human-readable notes in the file.
 
10
 
 
11
# The address this DNS server runs on.  If you want to bind 
 
12
# to multiple addresses, separate them with a comma like this:
 
13
# "10.1.2.3, 10.1.2.4, 127.0.0.1"
 
14
ipv4_bind_addresses = "127.0.0.1"
 
15
# The directory with all of the zone files
 
16
chroot_dir = "/etc/maradns"
 
17
 
 
18
# Recursive ACL: Who is allowd to perform recursive queries.  
 
19
 
 
20
# With the following line, anyone with an IP starting with the number
 
21
# "10" can perform recursive queries 
 
22
recursive_acl = "10.0.0.0/8"
 
23
 
 
24
# Some other examples, which we have commented out (placed a '#' in front
 
25
# of to disable)
 
26
 
 
27
# With the following line, anyone with an IP starting with the numbers
 
28
# "172.16" can perform recursive queries
 
29
#recursive_acl = "172.16.0.0/16"
 
30
 
 
31
# With the following line, anyone with an IP starting with the numbers
 
32
# "192.168.1" can perform recursive queries
 
33
#recursive_acl = "192.168.1.0/24"
 
34
 
 
35
# With the following line, anyone on the internet can perform recursive
 
36
# queries
 
37
#recursive_acl = "0.0.0.0/0"
 
38
 
 
39
# With the following line, both anyone with an IP starting with the number
 
40
# "10", and an ip starting with the numbers "172.16" can perform recursive
 
41
# queries
 
42
#recursive_acl = "172.16.0.0/0"
 
43