Changeset 10420 in hybrid


Ignore:
Timestamp:
Apr 10, 2012, 8:25:07 PM (13 years ago)
Author:
rick
Message:

Inititial configuration bind/named nochroot directive.

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

Legend:

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

    r10408 r10420  
    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        /*
     
    6969        */
    7070        // query-source address * port NNNNN;
    71         allow-transfer { "any"; };
    72         allow-recursion { "any"; };
    7371};
    7472
     
    138136// Private Use Networks (RFCs 1918, 5735 and 6303)
    139137zone "10.in-addr.arpa"     { type master; file "/etc/namedb/master/empty.db"; };
    140 //zone "16.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    141 //zone "17.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    142 //zone "18.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    143 //zone "19.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    144 //zone "20.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    145 //zone "21.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    146 //zone "22.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    147 //zone "23.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    148 //zone "24.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    149 //zone "25.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    150 //zone "26.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    151 //zone "27.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    152 //zone "28.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    153 //zone "29.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    154 //zone "30.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    155 //zone "31.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     138zone "16.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     139zone "17.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     140zone "18.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     141zone "19.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     142zone "20.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     143zone "21.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     144zone "22.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     145zone "23.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     146zone "24.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     147zone "25.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     148zone "26.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     149zone "27.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     150zone "28.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     151zone "29.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     152zone "30.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
     153zone "31.172.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    156154zone "168.192.in-addr.arpa" { type master; file "/etc/namedb/master/empty.db"; };
    157155
     
    295293};
    296294*/
    297 
    298 zone "16.172.in-addr.arpa" {
    299   type slave;
    300   file "/etc/namedb/slave/16.172.in-addr.arpa";
    301   masters { 172.16.4.46; };
    302 };
    303 zone "17.172.in-addr.arpa" {
    304   type slave;
    305   file "/etc/namedb/slave/17.172.in-addr.arpa";
    306   masters { 172.16.4.46; };
    307 };
    308 zone "18.172.in-addr.arpa" {
    309   type slave;
    310   file "/etc/namedb/slave/18.172.in-addr.arpa";
    311   masters { 172.16.4.46; };
    312 };
    313 zone "19.172.in-addr.arpa" {
    314   type slave;
    315   file "/etc/namedb/slave/19.172.in-addr.arpa";
    316   masters { 172.16.4.46; };
    317 };
    318 zone "20.172.in-addr.arpa" {
    319   type slave;
    320   file "/etc/namedb/slave/20.172.in-addr.arpa";
    321   masters { 172.16.4.46; };
    322 };
    323 zone "21.172.in-addr.arpa" {
    324   type slave;
    325   file "/etc/namedb/slave/21.172.in-addr.arpa";
    326   masters { 172.16.4.46; };
    327 };
    328 zone "22.172.in-addr.arpa" {
    329   type slave;
    330   file "/etc/namedb/slave/22.172.in-addr.arpa";
    331   masters { 172.16.4.46; };
    332 };
    333 zone "23.172.in-addr.arpa" {
    334   type slave;
    335   file "/etc/namedb/slave/23.172.in-addr.arpa";
    336   masters { 172.16.4.46; };
    337 };
    338 zone "24.172.in-addr.arpa" {
    339   type slave;
    340   file "/etc/namedb/slave/24.172.in-addr.arpa";
    341   masters { 172.16.4.46; };
    342 };
    343 zone "25.172.in-addr.arpa" {
    344   type slave;
    345   file "/etc/namedb/slave/25.172.in-addr.arpa";
    346   masters { 172.16.4.46; };
    347 };
    348 zone "26.172.in-addr.arpa" {
    349   type slave;
    350   file "/etc/namedb/slave/26.172.in-addr.arpa";
    351   masters { 172.16.4.46; };
    352 };
    353 zone "27.172.in-addr.arpa" {
    354   type slave;
    355   file "/etc/namedb/slave/27.172.in-addr.arpa";
    356   masters { 172.16.4.46; };
    357 };
    358 zone "28.172.in-addr.arpa" {
    359   type slave;
    360   file "/etc/namedb/slave/27.172.in-addr.arpa";
    361   masters { 172.16.4.46; };
    362 };
    363 zone "29.172.in-addr.arpa" {
    364   type slave;
    365   file "/etc/namedb/slave/28.172.in-addr.arpa";
    366   masters { 172.16.4.46; };
    367 };
    368 zone "30.172.in-addr.arpa" {
    369   type slave;
    370   file "/etc/namedb/slave/30.172.in-addr.arpa";
    371   masters { 172.16.4.46; };
    372 };
    373 zone "31.172.in-addr.arpa" {
    374   type slave;
    375   file "/etc/namedb/slave/31.172.in-addr.arpa";
    376   masters { 172.16.4.46; };
    377 };
    378 zone "wleiden.net" {
    379   type slave;
    380   file "/etc/namedb/slave/wleiden.net";
    381   masters { 172.16.4.46; };
    382 };
  • branches/releng-9.0/nanobsd/files/etc/rc.conf

    r10419 r10420  
    4545dhcpd_enable="NO"
    4646named_enable="NO"
     47named_chrootdir=""
    4748named_auto_forward="YES"
    4849
Note: See TracChangeset for help on using the changeset viewer.