Changeset 7382 in genesis for tools/iris


Ignore:
Timestamp:
Jan 21, 2010, 3:24:43 PM (15 years ago)
Author:
huub
Message:

dnsmasq.conf de bogus-priv optie eruit; resolv.conf alleen proxies als nameservers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/iris/wleiden.pl

    r7148 r7382  
    7373    "dhcp-fqdn \n" .
    7474    "domain=dhcp.$nodename.$domain. \n" .
    75     "bogus-priv \n" .
    7675    "domain-needed \n" .
    7776    "expand-hosts \n" .
     
    285284  "# Try local (cache) first \n" .
    286285  "nameserver 127.0.0.1\n" .
    287   "# Direct neighboors\n" .
    288286  "\n";
    289287
    290   foreach my $if (sort keys %config) {
    291     if( exists $POINT_TO_POINT{$if} ) {
    292       foreach my $ip ($POINT_TO_POINT{$if}) {
    293         $output .= "nameserver $ip # $DESC{$if}\n";
    294       };
    295     };
    296   };
    297 
    298288  $output .=
    299   "\n" .
    300   "# Last resort/backup remote nameservers \n" .
     289  "# proxies are also nameservers \n" .
    301290  "nameserver 172.17.8.68    # proxy1\n" .
    302291  "nameserver 172.17.143.4   # proxy2\n" .
    303292  "nameserver 172.20.128.98  # proxy3\n" .
    304293  "nameserver 172.16.2.254   # proxy4\n" .
    305   "nameserver 172.19.168.66  # proxy5\n";
     294  "nameserver 172.19.168.66  # proxy5\n" .
     295  "nameserver 172.16.3.146   # proxy6\n" .
     296  "nameserver 172.17.16.66   # proxy62\n" .
     297  "nameserver 172.22.0.66    # proxy_zwaluw\n";
    306298
    307299  return($output);
Note: See TracChangeset for help on using the changeset viewer.