Changeset 8963 in genesis for config/iris/proxy/FreeBSD/8.0-RELEASE


Ignore:
Timestamp:
Mar 15, 2011, 9:59:31 AM (14 years ago)
Author:
rick
Message:

Make sure to query our local recursive DNS server as well, else unable to
resolve wLeiden.NET. or PTR for 172.16.0.0/12 addresses.

While we are here, do cleanup and documention.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • config/iris/proxy/FreeBSD/8.0-RELEASE/wleiden.pl

    r8782 r8963  
    328328  my $output = genHeader"#";
    329329
    330 #  $output .=
    331 #  "search wleiden.net.\n" .
    332 #  "# Try local (cache) first \n" .
    333 #  "nameserver 127.0.0.1\n" .
    334 #  "# Direct neighboors\n" .
    335 #  "\n";
    336 #
    337 #  foreach my $if (sort keys %config) {
    338 #    if( exists $POINT_TO_POINT{$if} ) {
    339 #      foreach my $ip ($POINT_TO_POINT{$if}) {
    340 #        $output .= "nameserver $ip # $DESC{$if}\n";
    341 #      };
    342 #    };
    343 #  };
    344 #
    345 #  $output .=
    346 #  "\n" .
    347 #  "# Last resort/backup remote nameservers \n" .
    348 #  "nameserver 172.17.8.68    # proxy1\n" .
    349 #  "nameserver 172.17.143.4   # proxy2\n" .
    350 #  "nameserver 172.20.128.98  # proxy3\n" .
    351 #  "nameserver 172.16.2.254   # proxy4\n" .
    352 #  "nameserver 172.19.168.66  # proxy5\n";
    353 
    354330  $output .=
    355   "nameserver 8.8.8.8 # Google\n" .
    356   "nameserver 8.8.4.4 # Google\n" .
     331  "nameserver 127.0.0.1 # Local MaraDNS NameServer\n" .
     332  "nameserver 8.8.8.8   # Google Public NameServer\n" .
     333  "nameserver 8.8.4.4   # Google Public NameServer\n" .
    357334  "search wleiden.net";
    358335
Note: See TracChangeset for help on using the changeset viewer.