Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2001 00:10:29 -0600
From:      Wes Peters <wes@softweyr.com>
To:        howard <chief@263.net>
Cc:        freebsd-net@freebsd.org
Subject:   Re: help
Message-ID:  <3AD69855.EEFB469D@softweyr.com>
References:  <3AD501AB.D2B4583A@263.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AD69855.EEFB469D>