From owner-freebsd-net Thu Apr 12 23:10:51 2001 Delivered-To: freebsd-net@freebsd.org Received: from homer.softweyr.com (bsdconspiracy.net [208.187.122.220]) by hub.freebsd.org (Postfix) with ESMTP id 7AADA37B423 for ; Thu, 12 Apr 2001 23:10:49 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from [127.0.0.1] (helo=softweyr.com ident=d8da20e9d02ea4b91e6526a6b1313dc5) by homer.softweyr.com with esmtp (Exim 3.16 #1) id 14nwmr-0000Ar-00; Fri, 13 Apr 2001 00:10:29 -0600 Message-ID: <3AD69855.EEFB469D@softweyr.com> Date: Fri, 13 Apr 2001 00:10:29 -0600 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: howard Cc: freebsd-net@freebsd.org Subject: Re: help References: <3AD501AB.D2B4583A@263.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org howard wrote: > > Hi, all > > I am a newbie on FreeBSD. I am doing some development about DNS. I need > your guide on how to send out DNS query packet to network. From C, the primary methods would be "gethostbyname" and "gethostbyaddr", coupled with the proper configuration in /etc/host.conf and /etc/resolv.conf. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message