Named na konkrétní IP adrese

Petr Snajdr snajdr na firma.seznam.cz
Čtvrtek Srpen 12 15:24:11 CEST 1999


On Thu, 12 Aug 1999, Bohuslav Coufal wrote:

> Potřeboval by jsem rozběhnout NAMED na konkrétní IP adrese.
> 
> Mám stroj se dvěma eth. kartama a rád by jsem měl jinak
> nakonfigurovaného nameda pro každý segment. Už jste to někdo zkoušel?
> Podle dokumentace to vypadá jako nemožná věc.

options {
         ..
         listen-on { 123.123.123.123; };
};

Z dokumentace bindu (/usr/doc/bind v Debianu 2.1, verze 8.1.x):

   The interfaces and ports that the server will answer queries from may        
   be specified using the listen-on option. listen-on takes an optional         
   port, and an [18]address_match_list. The server will listen on all           
   interfaces allowed by the address match list. If a port is not               
   specified, port 53 will be used.                                             
                                                                                
   Multiple listen-on statements are allowed. For example,                      
    listen-on { 5.6.7.8; };                                                     
    listen-on port 1234 { !1.2.3.4; 1.2/16; };                                  
                                                                                
   If no listen-on is specified, the server will listen on port 53 on all       
   interfaces.          


--

S pozdravem
   Petr Snajdr

Seznam Ceskeho Internetu: http://www.seznam.cz/
Magazin pro kazdeho: http://www.novinky.cz/
Seznam Dnes: http://dnes.seznam.cz/
Navody, recenze, technika: 
http://www.novinky.cz/Index/TechDesk/ 
------------------------------------------------------
Zacit se dnes ucit Perl je jako koupit si listek na Titanic






Další informace o konferenci Linux