The USA Linux Users Group Paste Bin

  • el
  • pt
  • This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

    The USA Linux Users Group Paste Bin

    Posted by BrionS on Wed 20th Sep 17:08
    download | new post

    1. ###
    2. # /etc/bind/named.conf.options
    3. ###
    4. options {
    5.         directory "/var/cache/bind/";
    6.  
    7.         // If there is a firewall between you and nameservers you want
    8.         // to talk to, you might need to uncomment the query-source
    9.         // directive below.  Previous versions of BIND always asked
    10.         // questions using port 53, but BIND 8.1 and later use an unprivileged
    11.         // port by default.
    12.  
    13.         // query-source address * port 53;
    14.  
    15.         // If your ISP provided one or more IP addresses for stable
    16.         // nameservers, you probably want to use them as forwarders.
    17.         // Uncomment the following block, and insert the addresses replacing
    18.         // the all-0's placeholder.
    19.  
    20.         forwarders {
    21.                 24.92.226.9;
    22.                 24.92.226.102;
    23.         };
    24.  
    25.         auth-nxdomain no;    # conform to RFC1035
    26. };
    27.  
    28. ------------------------------------------------
    29.  
    30. ###
    31. # /etc/bind/named.conf.local
    32. ###
    33. //
    34. // Do any local configuration here
    35. //
    36.  
    37. // Consider adding the 1918 zones here, if they are not used in your
    38. // organization
    39. include "/etc/bind/zones.rfc1918";
    40.  
    41. zone "11.0.10.in-addr.arpa" {
    42.         type master;
    43.         file "/etc/bind/db.10";
    44. };
    45.  
    46. zone "home.net" {
    47.         type master;
    48.         notify no;
    49.         file "/etc/bind/db.home.net";
    50. };
    51.  
    52. ------------------------------------------------
    53.  
    54. ###
    55. # /etc/bind/named.conf
    56. ###
    57. // This is the primary configuration file for the BIND DNS server named.
    58. //
    59. // Please read /usr/share/doc/bind9/README.Debian.gz for information on the
    60. // structure of BIND configuration files in Debian, *BEFORE* you customize
    61. // this configuration file.
    62. //
    63. // If you are just adding zones, please do that in /etc/bind/named.conf.local
    64.  
    65. include "/etc/bind/named.conf.options";
    66.  
    67. // prime the server with knowledge of the root servers
    68. zone "." {
    69.         type hint;
    70.         file "/etc/bind/db.root";
    71. };
    72.  
    73. // be authoritative for the localhost forward and reverse zones, and for
    74. // broadcast zones as per RFC 1912
    75.  
    76. zone "localhost" {
    77.         type master;
    78.         file "/etc/bind/db.local";
    79. };
    80.  
    81. zone "127.in-addr.arpa" {
    82.         type master;
    83.         file "/etc/bind/db.127";
    84. };
    85.  
    86. zone "0.in-addr.arpa" {
    87.         type master;
    88.         file "/etc/bind/db.0";
    89. };
    90.  
    91. zone "255.in-addr.arpa" {
    92.         type master;
    93.         file "/etc/bind/db.255";
    94. };
    95.  
    96. // zone "com" { type delegation-only; };
    97. // zone "net" { type delegation-only; };
    98.  
    99. // From the release notes:
    100. //  Because many of our users are uncomfortable receiving undelegated answers
    101. //  from root or top level domains, other than a few for whom that behaviour
    102. //  has been trusted and expected for quite some length of time, we have now
    103. //  introduced the "root-delegations-only" feature which applies delegation-only//  logic to all top level domains, and to the root domain.  An exception list
    104. //  should be specified, including "MUSEUM" and "DE", and any other top level
    105. //  domains from whom undelegated responses are expected and trusted.
    106. // root-delegation-only exclude { "DE"; "MUSEUM"; };
    107.  
    108. include "/etc/bind/named.conf.local";
    109.  
    110. ------------------------------------------------
    111.  
    112. ###
    113. # /etc/bind/db.10
    114. ###
    115. ;
    116. ; BIND reverse data file for private network
    117. ;
    118. $TTL    604800
    119. @       IN      SOA     ns.home.net. root.home.net. (
    120.                               1         ; Serial
    121.                          604800         ; Refresh
    122.                           86400         ; Retry
    123.                         2419200         ; Expire
    124.                          604800 )       ; Negative Cache TTL
    125.  
    126.                 NS      ns.home.net.
    127.  
    128. 114             PTR     orion.home.net.
    129. 201             PTR     whitestar.home.net.
    130. 207             PTR     virgo.home.net.
    131. 100             PTR     lightyear.home.net.
    132.  
    133. ------------------------------------------------
    134.  
    135. ###
    136. # /etc/bind/db.home.net
    137. ###
    138. ; BIND reverse data file for home.net zone
    139. ;
    140. $TTL    86400
    141. @       IN      SOA     ns.home.net. root.home.net. (
    142.                               1         ; Serial
    143.                          604800         ; Refresh
    144.                           86400         ; Retry
    145.                         2419200         ; Expire
    146.                           86400         ; Negative Cache TTL
    147. )
    148.  
    149.                 NS      ns.home.net.
    150. ;       IN      A       10.0.11.114
    151. ;       IN      MX      10  pop-server.rochester.rr.com.
    152.  
    153. ;
    154. ; Host addresses
    155. ;
    156. localhost       A       127.0.0.1
    157. orion           A       10.0.11.114
    158. whitestar       A       10.0.11.201
    159. virgo           A       10.0.11.207
    160. lightyear       A       10.0.11.100
    161. ;
    162. ; Aliases
    163. ;
    164. ns              CNAME   orion
    165.  
    166. ------------------------------------------------
    167.  
    168. ###
    169. # /etc/bind/zones.rfc1918
    170. ###
    171. //zone "10.in-addr.arpa"      { type master; file "/etc/bind/db.empty"; };
    172.  
    173. zone "16.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
    174. zone "17.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
    175. zone "18.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
    176. zone "19.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
    177. zone "20.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
    178. zone "21.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
    179. zone "22.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
    180. zone "23.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
    181. zone "24.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
    182. zone "25.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
    183. zone "26.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
    184. zone "27.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
    185. zone "28.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
    186. zone "29.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
    187. zone "30.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
    188. zone "31.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
    189.  
    190. zone "168.192.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
    191.  
    192. ------------------------------------------------
    193.  
    194. ###
    195. # /etc/resolv.conf (on the ns host)
    196. ###
    197. domain home.net
    198. nameserver 127.0.0.1
    199.  
    200. ------------------------------------------------
    201.  
    202. ###
    203. # /etc/resolv.conf (on the non-ns hosts)
    204. ###
    205. ### BEGIN INFO
    206. #
    207. # Modified_by:  NetworkManager
    208. # Process:      /usr/bin/NetworkManager
    209. # Process_id:   25288
    210. #
    211. ### END INFO
    212.  
    213. search home.net rochester.rr.com
    214.  
    215.  
    216. nameserver 10.0.11.114
    217. nameserver 24.92.226.9
    218. nameserver 24.92.226.102
    219.  
    220. ------------------------------------------------
    221.  
    222. ###
    223. # /etc/init.d/sysklogd (modified lines)
    224. ###
    225. # Options for start/restart the daemons
    226. #   For remote UDP logging use SYSLOGD="-r"
    227. #
    228. SYSLOGD="-a /var/lib/named/dev/log"
    229.  
    230. ------------------------------------------------
    231.  
    232. ###
    233. # /etc/default/bind9
    234. ###
    235. OPTIONS="-u bind -t /var/lib/named"

    Submit a correction or amendment below. (click here to make a fresh posting)
    After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

    Use syntax highlighting

    To highlight particular lines, prefix each line with @@


    Remember my settings