home *** CD-ROM | disk | FTP | other *** search
/ chilidog.highland.cc.ks.us / chilidog.highland.cc.ks.us.zip / chilidog.highland.cc.ks.us / backup / bradford.20100913.bsc-siteConfiguration.tar.gz / bradford.20100913.bsc-siteConfiguration.tar / bsc / siteConfiguration / .factory.named.conf.2009-06-24-10-30-51 < prev    next >
Text File  |  2009-01-20  |  9KB  |  335 lines

  1. //////////////////////////////////////////////////
  2. // This file is for NS500's ONLY!
  3. // If this is an NS1200 then edit the dhcpd.conf
  4. // on the NS8200.
  5. //////////////////////////////////////////////////
  6. //
  7. // Access Control Lists lookup variables examples
  8. // See the "ACL" Section below
  9. //
  10. // 192.168.26.2 Registration Interface
  11. // 192.168.26.0 Registration Network
  12. // /24 Registration Network Mask
  13. //
  14. // 192.168.27.2 Remediation Interface
  15. // 192.168.27.0 Remediation Network
  16. // /24 Remediation Network Mask
  17. //
  18. // 192.168.28.2 Authentication Interface
  19. // 192.168.28.0 Authentication Network
  20. // /24 Authentication Network Mask
  21. //
  22. // 192.168.29.2 Dead End Interface
  23. // 192.168.29.0 Dead End Network
  24. // /24 Dead End Network Mask
  25. //
  26. // 192.168.30.2 Hub Interface
  27. // 192.168.30.0 Hub Network
  28. // /24 Hub Network Mask
  29. //
  30. // 192.168.31.2 VPN Interface
  31. // 192.168.31.0 VPN Network
  32. // /24 VPN Network Mask
  33. //
  34. // 192.168.32.2 Isolation Interface
  35. // 192.168.32.0 Isolation Network
  36. // /24 Isolation Network Mask
  37. //
  38. // /32 Network Mask to Identify a single IP
  39. //
  40. // 192.168.10.10 IP Address of a Production DNS
  41. //
  42. // 192.168.10.33 The Primary Interface of the CMRC
  43. //
  44. // 127.0.0.1 Primary loopback address of the CMRC
  45. // For additional loopback configurations see /etc/sysconfig/network/ReadMe_loopback
  46. // 127.0.0.2 Additional loopback address to support additional "view"
  47. // 127.0.0.3 Additional loopback address to support additional "view"
  48. // 127.0.0.4 Additional loopback address to support additional "view"
  49. // 127.0.0.5 Additional loopback address to support additional "view"
  50. //
  51. //////////////////////////////////////////////////////////////
  52.  
  53. include "/bsc/siteConfiguration/rndc.key";
  54.  
  55. controls {
  56.   inet 127.0.0.1 allow { localhost; } keys { rndc-key; };
  57. };
  58.  
  59.  
  60. logging {
  61.  
  62.         /////////////////////////////////////////////////////////////////
  63.         // activate logging
  64.         // Use this log file to trouble shoot client DNS issue.
  65.         // the file is /var/named/named.log
  66.         // Uncomment the line "severity debug ;" to get more logging.
  67.         // Remember to restart DNS when making changes in the named.conf
  68.         // When finished debugging remember to put a comment back
  69.         // in the "severity debug ;" line.
  70.         /////////////////////////////////////////////////////////////////
  71.  
  72.         channel "logs" {
  73.                 file "/var/lib/named/bsc/siteConfiguration/named/named.log" versions 3 size 5m;
  74.         //      severity debug ;
  75.                 print-time yes;
  76.                 print-category yes;
  77.         };
  78.  
  79.         category queries {
  80.                 "logs";
  81.         };
  82.  
  83.         category resolver {
  84.                 "logs";
  85.         };
  86.  
  87.         category client {
  88.                 "logs";
  89.         };
  90.  
  91. };
  92.  
  93. //////////////////////////////////////////////////
  94. // Access Control Lists for lookup variables
  95. // Set these IP's to match the appropriate networks
  96. //////////////////////////////////////////////////
  97.  
  98. acl "reg"       { 172.16.45.2/32; 172.16.45.0/24; };
  99. acl "rem"       { 172.16.46.2/32; 172.16.46.0/24; };
  100. acl "auth"      { 172.16.47.2/32; 172.16.47.0/24; };
  101. acl "de"        { 172.16.48.2/32; 172.16.48.0/24; };
  102. acl "hub"        { 172.16.48.2/32; 172.16.48.0/24; };
  103. acl "vpn"       { 192.168.31.2/32; 192.168.31.0/24; };
  104. acl "isol"      { 192.168.32.2/32; 192.168.32.0/24; };
  105. acl "me-reg"    { 127.0.0.1/32; };
  106. acl "me-rem"    { 127.0.0.2/32; };
  107. acl "me-auth"   { 127.0.0.3/32; };
  108. acl "me-hub"    { 127.0.0.4/32; };
  109. acl "me-vpn"    { 127.0.0.5/32; };
  110. acl "me-isol"   { 127.0.0.6/32; };
  111.  
  112. //////////////////////////////////////////////////////////////
  113. // There should be nothing changed below this line
  114. //////////////////////////////////////////////////////////////
  115.  
  116. options {
  117.  
  118.         // The directory statement defines the name server┤s
  119.         // working directory
  120.         directory "/bsc/siteConfiguration/named";
  121.         pid-file "/var/run/named/named.pid";
  122.         recursion yes;
  123.  
  124.         listen-on-v6 { any; };
  125.         notify no;
  126. };
  127.  
  128. view "registration" {
  129.       // This should match our registration network.
  130.       allow-recursion { reg; };
  131.       match-clients { reg; };
  132.  
  133.       // The file /var/named/zones.common is where to add
  134.       // DNS zones that the clients can lookup
  135.       include "zones.common";
  136.       include "zones.reg";
  137.  
  138.       // This forwards all others requests to us at PassThru-reg.
  139.         zone "." {
  140.         type forward;
  141.         forwarders { 127.0.0.1; };
  142.                 };
  143. };
  144.  
  145.       // All others resolve to
  146. view "PassThru-reg" {
  147.         //This should match our own forward requests.
  148.         match-clients { me-reg; };
  149.         zone "." {
  150.               type master;
  151.               file "root.hint.reg";
  152.       };
  153. };
  154.  
  155. view "remediation" {
  156.       // This should match our remediation network.
  157.       allow-recursion { rem; };
  158.       match-clients { rem; };
  159.  
  160.       // The file /var/named/zones.common is where to add
  161.       // DNS zones that the clients can lookup
  162.       include "zones.common";
  163.       include "zones.rem";
  164.  
  165.       // This forwards all others requests to us at PassThru-rem.
  166.         zone "." {
  167.         type forward;
  168.         forwarders { 127.0.0.2; };
  169.                 };
  170. };
  171.  
  172.       // All others resolve to
  173. view "PassThru-rem" {
  174.         //This should match our own forward requests.
  175.         match-clients { me-rem; };
  176.         zone "." {
  177.               type master;
  178.               file "root.hint.rem";
  179.       };
  180. };
  181.  
  182. view "deadEnd" {
  183. //    This should match our DeadEnd network.
  184.       allow-recursion { de; };
  185.       match-clients { de; };
  186.  
  187.       zone "." {
  188.               type master;
  189.               file "root.hint.de";
  190.       };
  191. };
  192.  
  193. view "authentication" {
  194.       // This should match our authentication network.
  195.       allow-recursion { auth; };
  196.       match-clients { auth; };
  197.  
  198.  
  199.       // The file /var/named/zones.common is where to add
  200.       // DNS zones that the clients can lookup
  201.       include "zones.common";
  202.       include "zones.auth";
  203.  
  204.       // This forwards all others requests to us at PassThru-auth.
  205.         zone "." {
  206.         type forward;
  207.         forwarders { 127.0.0.3; };
  208.                 };
  209. };
  210.  
  211.       // All others resolve to
  212. view "PassThru-auth" {
  213.         //This should match our own forward requests.
  214.         match-clients { me-auth; };
  215.         zone "." {
  216.               type master;
  217.               file "root.hint.auth";
  218.       };
  219. };
  220.  
  221. view "Hub" {
  222.       // This should match our Hub network.
  223.       allow-recursion { hub; };
  224.       match-clients { hub; };
  225.  
  226.  
  227.       // The file /var/named/zones.common is where to add
  228.       // DNS zones that the clients can lookup
  229.       include "zones.common";
  230.       include "zones.hub";
  231.  
  232.       // This forwards all others requests to us at PassThru-hub.
  233.         zone "." {
  234.         type forward;
  235.         forwarders { 127.0.0.4; };
  236.                 };
  237. };
  238.  
  239.       // All others resolve to
  240. view "PassThru-hub" {
  241.         //This should match our own forward requests.
  242.         match-clients { me-hub; };
  243.         zone "." {
  244.               type master;
  245.               file "root.hint.hub";
  246.       };
  247. };
  248.  
  249. view "VPN" {
  250. //    This should match our VPN network.
  251.       allow-recursion { vpn; };
  252.       match-clients { vpn; };
  253.  
  254.  
  255. //    The file /var/named/zones.common is where to add
  256. //    DNS zones that the clients can lookup
  257.       include "zones.common";
  258.       include "zones.vpn";
  259.  
  260.       // This forwards all others requests to us at PassThru-vpn.
  261.         zone "." {
  262.         type forward;
  263.         forwarders { 127.0.0.5; };
  264.                 };
  265. };
  266.  
  267.       // All others resolve to
  268. view "PassThru-VPN" {
  269.         //This should match our own forward requests.
  270.         match-clients { me-vpn; };
  271.         zone "." {
  272.               type master;
  273.               file "root.hint.vpn";
  274.       };
  275. };
  276.  
  277. //view "deadend" {
  278. // //    This should match our deadend network.
  279. //      allow-recursion { deadend; };
  280. //      match-clients { deadend; };
  281. //
  282. //
  283. // //    The file /var/named/zones.common is where to add
  284. // //    DNS zones that the clients can lookup
  285. //      include "zones.common";
  286. //      include "zones.de";
  287. //
  288. //      // This forwards all others requests to us at PassThru-vpn.
  289. //        zone "." {
  290. //        type forward;
  291. //        forwarders { 127.0.0.6; };
  292. //                };
  293. //};
  294. //
  295. //      // All others resolve to
  296. //view "PassThru-deadend" {
  297. //        //This should match our own forward requests.
  298. //        match-clients { me-de; };
  299. //        zone "." {
  300. //              type master;
  301. //              file "root.hint.de";
  302. //      };
  303. //};
  304.  
  305.  
  306. view "Isol" {
  307.       // This should match our Isolation network.
  308.       allow-recursion { isol; };
  309.       match-clients { isol; };
  310.  
  311.  
  312.       // The file /var/named/zones.common is where to add
  313.       // DNS zones that the clients can lookup
  314.       include "zones.common";
  315.       include "zones.isol";
  316.  
  317.       // This forwards all others requests to us at PassThru-isol.
  318.         zone "." {
  319.         type forward;
  320.         forwarders { 127.0.0.6; };
  321.                 };
  322. };
  323.  
  324.       // All others resolve to
  325. view "PassThru-isol" {
  326.         //This should match our own forward requests.
  327.         match-clients { me-isol; };
  328.         zone "." {
  329.               type master;
  330.               file "root.hint.isol";
  331.       };
  332. };
  333.  
  334.  
  335.