Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 2003 15:57:40 -0800 (PST)
From:      "nate" <freebsd@aphroland.org>
To:        <freebsd-questions@freebsd.org>
Subject:   Re: how to make bind listen only to 127.0.0.1
Message-ID:  <36803.10.10.10.7.1041897460.squirrel@webmail.linuxpowered.net>
In-Reply-To: <web-701099@mcesr.etat.lu>
References:  <web-701099@mcesr.etat.lu>

next in thread | previous in thread | raw e-mail | index | archive | help
Wiroth Didier said:
> Hey,
> I would like to run bind as a caching only server (v 8.3.3
> from 4.7-release). I would also like that it only listens
> on port 127.0.0.1, but how? I tried this entry in
> named.conf, but it didn't work:
> query-source address 127.0.0.1 port 53;


in named.conf:

	listen-on { 127.0.0.1; };

I've been using this configuration(I also have it bind to another IP) for
a couple years with success. I have another copy of BIND listening on yet
another IP as well..

nate




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?36803.10.10.10.7.1041897460.squirrel>