Running named on one interface only

Greg Barniskis nalists at scls.lib.wi.us
Wed Jan 19 12:32:33 PST 2005


Hexren wrote:
> *gnaahh* I seem to be unable to locate any information about limiting
> nameds service to one interface only. Does anybody know where to do
> this ?
> 
> Thank you
> Hexren

in named.conf,

options {
   listen-on { 10.0.0.1; 192.168.0.1; };
};


should cause the server to listen on 10.0.0.1 and 192.168.0.1 and no 
  other interfaces. (YMMV, as I've never actually done this). Don't 
forget to stop and start named after tweaking named.conf.

-- 
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
<gregb at scls.lib.wi.us>, (608) 266-6348


More information about the freebsd-questions mailing list