Using ndc to query remote NT BIND DNS server

Barry Margolin barmar at genuity.net
Fri Mar 22 20:17:42 UTC 2002


In article <a7g30d$jts at pub3.rc.vix.com>, Nate Campi  <nate at campin.net> wrote:
>
>On Fri, Mar 22, 2002 at 07:18:10PM +0000, Barry Margolin wrote:
>> In article <a7ergl$b9k at pub3.rc.vix.com>,  <graham.lake at trelleborg.com> wrote:
>> >
>> >Is it reasonable to think that ndc can be used from a Linux BIND 8.2.5 DNS
>> >server to query a remote NT  BINDCtrl 8.2.5 DNS server?
>> 
>> No.  ndc uses a Unix-domain socket, not a network socket.  BIND 9's rndc
>> uses network sockets (the "r" presumably stands for "remote").
>
>No. ndc uses a Unix-domain socket by default, but can use a network
>socket. I've verified that it works from one Linux box running 8.3.1 to
>another Linux box running 8.3.1. Someone else will have to speak on
>whether or not it works against NT.

OK, but in that case, the port would presumably have to be different from
53.  Port 53 is used for normal DNS traffic queries, not ndc traffic.  The
OP specified -c <server>/53, so he was going to the wrong port.

-- 
Barry Margolin, barmar at genuity.net
Genuity, Woburn, 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