Changeset 10382 in hybrid for branches


Ignore:
Timestamp:
Apr 7, 2012, 4:03:43 PM (13 years ago)
Author:
rick
Message:

Named/Bind configuration for hybrid setup.

Location:
branches/releng-9.0/nanobsd/files/etc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-9.0/nanobsd/files/etc/namedb/named.conf

    r10381 r10382  
    2020// For named to be accessible to the network, comment this option, specify
    2121// the proper IP address, or delete this option.
    22         listen-on       { 127.0.0.1; };
     22//      listen-on       { 127.0.0.1; };
    2323
    2424// If you have IPv6 enabled on this system, uncomment this option for
     
    5353// set named_auto_forward=yes in /etc/rc.conf.  You can also enable
    5454// named_auto_forward_only (the effect of which is described above).
    55 //      include "/etc/namedb/auto_forward.conf";
     55        include "/etc/namedb/auto_forward.conf";
    5656
    5757        /*
     
    136136// Private Use Networks (RFCs 1918, 5735 and 6303)
    137137zone "10.in-addr.arpa"     { type master; file "/etc/namedb/master/empty.db"; };
    138 zone "16.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    139 zone "17.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    140 zone "18.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    141 zone "19.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    142 zone "20.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    143 zone "21.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    144 zone "22.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    145 zone "23.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    146 zone "24.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    147 zone "25.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    148 zone "26.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    149 zone "27.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    150 zone "28.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    151 zone "29.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    152 zone "30.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    153 zone "31.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     138//zone "16.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     139//zone "17.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     140//zone "18.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     141//zone "19.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     142//zone "20.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     143//zone "21.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     144//zone "22.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     145//zone "23.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     146//zone "24.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     147//zone "25.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     148//zone "26.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     149//zone "27.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     150//zone "28.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     151//zone "29.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     152//zone "30.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     153//zone "31.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    154154zone "168.192.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    155155
     
    293293};
    294294*/
     295
     296zone "16.172.in-addr.arpa" {
     297  type slave;
     298  file "/etc/namedb/slave/16.172.in-addr.arpa";
     299  masters { 172.16.4.46; };
     300};
     301zone "17.172.in-addr.arpa" {
     302  type slave;
     303  file "/etc/namedb/slave/17.172.in-addr.arpa";
     304  masters { 172.16.4.46; };
     305};
     306zone "18.172.in-addr.arpa" {
     307  type slave;
     308  file "/etc/namedb/slave/18.172.in-addr.arpa";
     309  masters { 172.16.4.46; };
     310};
     311zone "19.172.in-addr.arpa" {
     312  type slave;
     313  file "/etc/namedb/slave/19.172.in-addr.arpa";
     314  masters { 172.16.4.46; };
     315};
     316zone "20.172.in-addr.arpa" {
     317  type slave;
     318  file "/etc/namedb/slave/20.172.in-addr.arpa";
     319  masters { 172.16.4.46; };
     320};
     321zone "21.172.in-addr.arpa" {
     322  type slave;
     323  file "/etc/namedb/slave/21.172.in-addr.arpa";
     324  masters { 172.16.4.46; };
     325};
     326zone "22.172.in-addr.arpa" {
     327  type slave;
     328  file "/etc/namedb/slave/22.172.in-addr.arpa";
     329  masters { 172.16.4.46; };
     330};
     331zone "23.172.in-addr.arpa" {
     332  type slave;
     333  file "/etc/namedb/slave/23.172.in-addr.arpa";
     334  masters { 172.16.4.46; };
     335};
     336zone "24.172.in-addr.arpa" {
     337  type slave;
     338  file "/etc/namedb/slave/24.172.in-addr.arpa";
     339  masters { 172.16.4.46; };
     340};
     341zone "25.172.in-addr.arpa" {
     342  type slave;
     343  file "/etc/namedb/slave/25.172.in-addr.arpa";
     344  masters { 172.16.4.46; };
     345};
     346zone "26.172.in-addr.arpa" {
     347  type slave;
     348  file "/etc/namedb/slave/26.172.in-addr.arpa";
     349  masters { 172.16.4.46; };
     350};
     351zone "27.172.in-addr.arpa" {
     352  type slave;
     353  file "/etc/namedb/slave/27.172.in-addr.arpa";
     354  masters { 172.16.4.46; };
     355};
     356zone "28.172.in-addr.arpa" {
     357  type slave;
     358  file "/etc/namedb/slave/27.172.in-addr.arpa";
     359  masters { 172.16.4.46; };
     360};
     361zone "29.172.in-addr.arpa" {
     362  type slave;
     363  file "/etc/namedb/slave/28.172.in-addr.arpa";
     364  masters { 172.16.4.46; };
     365};
     366zone "30.172.in-addr.arpa" {
     367  type slave;
     368  file "/etc/namedb/slave/30.172.in-addr.arpa";
     369  masters { 172.16.4.46; };
     370};
     371zone "31.172.in-addr.arpa" {
     372  type slave;
     373  file "/etc/namedb/slave/31.172.in-addr.arpa";
     374  masters { 172.16.4.46; };
     375};
     376zone "wleiden.net" {
     377  type slave;
     378  file "/etc/namedb/slave/wleiden.net";
     379  masters { 172.16.4.46; };
     380};
  • branches/releng-9.0/nanobsd/files/etc/rc.conf

    r10241 r10382  
    4444# Also some low-memory footprint dns resolver
    4545dnsmasq_enable="YES"
     46named_auto_forward="YES"
     47named_enable="NO"
    4648
    4749## WL ports extentions
Note: See TracChangeset for help on using the changeset viewer.