Problem binding named to listen on only 1 specific port

Barry Margolin barmar at genuity.net
Tue Jan 2 15:25:17 UTC 2001


In article <92qtq7$d6c at pub3.rc.vix.com>,  <Mark.Andrews at nominum.com> wrote:
>
>> Ok..... I run named on linux server (RH 6.2  kernel 2.2.18) with 2 NICs.
>> I configured named, via named.conf, to only listen on 1 port... but when i
>> scan my machine, both ports, i see domain service running on both the
>> servers IPs...
>
>	Well named has to listen for answers to queries it makes.
>	You have told named to use port 53 to do this, by default
>	it uses a port assigned by the kernel.  Named won't answer
>	queries directed at the other interfaces.

To continue this, if you use the "query-source" option, it will only listen
for answers on the address you specify with this.  If you use both
listen-on and query-source, those should be the only addresses that show up
in netstat.

-- 
Barry Margolin, barmar at genuity.net
Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.



More information about the bind-users mailing list