Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!decwrl!ucbvax!MOLD.ZSO.DEC.COM!kjd From: kjd@MOLD.ZSO.DEC.COM Newsgroups: comp.protocols.tcp-ip.domains Subject: Re: questionable resolver code Message-ID: <9008101638.AA20594@mold.zso.dec.com> Date: 10 Aug 90 16:38:55 GMT References: <9008100925.AA29532@rust.zso.dec.com> Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 21 >>in the routine res_search is the following line of code: >> >> >>if ((n == 0 || *--cp != '.') && (_res.options & RES_DEFNAMES)) >> >> >>If you examine the routine you will notice that n > 0 if there were >>any .'s in the name passed to res_search. I believe the intent was to >>only append the local domain name in the case where there was no . in I belive this is correct behavior. This is for the case where there are multiple sub-domains in the local domain. -Kevin Please note, BIND specific questions should be sent to bind@ucbarpa.Berkeley.EDU. not to namedroppers@nic.DDN.MIL. Send mail to bind-request@ucbarpa.berkeley.edu. to be added to the bind mailing list.