Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jul 2002 07:55:54 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        BSD Freak <bsd-freak@mbox.com.au>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Making bind listen only to loopback interface
Message-ID:  <20020724065554.GB88546@happy-idiot-talk.infracaninophi>
In-Reply-To: <5fff3c6016c0.6016c05fff3c@mbox.com.au>
References:  <5fff3c6016c0.6016c05fff3c@mbox.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 24, 2002 at 08:47:10AM +1000, BSD Freak wrote:

> Is there any quick and easy way to make BIND (the version shipped
> with 4.5-R and later) listen only the the loopback interface address
> (ie 127.0.0.1) instead of all available addresses?

Yes.  You can add a `listen-on' statement to the options section of
named.conf:

    options {

        [...]

        listen-on {
           127.0.0.1;
        };

        [...]
    };

The named.conf(5) man page has the full details.

	Cheers,

	Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
Tel: +44 1628 476614                                  Marlow
Fax: +44 0870 0522645                                 Bucks., SL7 1TH UK

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020724065554.GB88546>