Firewall Wizards mailing list archives

Re: BIND bindings


From: "Daniel J. Gregor Jr." <dj () gregor com>
Date: Wed, 30 Sep 1998 18:25:17 -0400

Charles Kaplan wrote:
Perhaps I am just looking at this the wrong way, but can anyone think of a
way to run multiple instances of BIND on a multi homed box and have one
version of BIND bind to each interface ?

BIND 8 has a "listen-on" option.  Just run multiple instances of
`named', each with a different configuration file and have them
listen on different IP addresses.  BIND 4 may have a similar option,
and if not, you could hack it pretty easily--but why would you want
to run BIND 4 anyway???

From http://www.isc.org/bind8/options.html:
-----------------------------------------------------------------------
        Interfaces

        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 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.
-----------------------------------------------------------------------


        CUL,
        - djg



Current thread: