How to have a 'private' DNS?

Extracted from debian-list
Tip provided by Rene Hojbjerg Larsen
> Here's my (somewhat strange) situation, I hope someone can help.
>
> I have a 2.0 box configured as a DNS for our intranet.  Said Debian box
> has 2 NIC's in it, one for the public side (internet) and one for our
> provate side (intranet.)  I was wondering (mainly) how to make the DNS
> only answer queries from the private side, not the public side also.

Just put a "listen-on" directive in your /etc/named.conf (assuming you are
running bind 8).  I use

        listen-on {
                192.168.0/24;
                127/8;
        };

You will of course need to modify this for your setup.  Check the
documentation in the bind-doc package for details.

Follow-up :
| Previous | Next | Index of category | Main Index | Submit |


Appears in section(s) : security net
Tip recorded : 07-11-1998 20:53:28
HTML page last changed : 27-07-1999 20:08:58