[bind10-dev] 1.0.0 release details

Waitman Gobble uzimac at da3m0n8t3r.com
Thu Feb 28 05:28:12 UTC 2013


JINMEI Tatuya / $B?@L at C#:H(B <jinmei at isc.org> wrote ..
> At Wed, 27 Feb 2013 12:06:59 -0800 (PST),
> "Waitman Gobble" <uzimac at da3m0n8t3r.com> wrote:
> 
> > I have this so far, it compiles but not sure if its correct, not sure yet how
> to make it do a lookup!
> > 
> >         ConstEDNSPtr edns;
> >         Message *N = new Message(Message::RENDER);
> >         Question Q(Name("isc.org"),RRClass("IN"),RRType("TXT"));
> >         N->addQuestion(Q);
> >         N->setEDNS(edns);
> 
> setEDNS is optional if you don't need to use EDNS.
> 
> You'll at least need to specify the Rcode and Opcode.
> 
> And you'll need to prepare wire-format data using a MessageRenderer
> object.
> 
> You can find a workable (and simple) example in bind10/examples/host.
> (It's not included in the release tar ball, so you'll need to get it
> from the git repository).
> 
> ---
> JINMEI, Tatuya
> Internet Systems Consortium, Inc.

Thank you, I'm sure I remember looking at the examples directory from the release and didn't see anything.. and didn't think to check it after I pulled the git repository.. good news.

-- 
Waitman Gobble
San Jose California USA



More information about the bind10-dev mailing list