Re: NS rr set from libdns

Peter Pentchev <[email protected]>
Newsgroups gmane.network.djbdns
Message-ID <[email protected]>
On Mon, Aug 03, 2009 at 09:50:52PM -0400, Jeff King wrote:
> On Mon, Aug 03, 2009 at 07:25:57PM -0400, Richard Sexton wrote:
> 
> > Thanks this is what I'm looking for. I just want a C program
> > to be able to say "tell me what you think the NS records are for this"
> > for a diagnostic tool and don't care how or what it has to do to
> > get the answer.
> > 
> > Like I would do with dig, if dig wern't so horribly broken.
> 
> How about "dnsqr ns $fqdn" (though I am confused, as from your other
> posting I thought you actually wanted a library call)?

He still does - he's writing the C program himself and he wants it
(the program he's writing) to be able to say "tell me...", which
would be best served by a library call :)

Of course, pipe / fork / exec("dnsqr") / read / parse could be an option.

G'luck,
Peter

-- 
Peter Pentchev	[email protected]    [email protected]    [email protected]
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
If wishes were fishes, the antecedent of this conditional would be true.
signature.asc (application/pgp-signature, 196 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (FreeBSD)

iEYEARECAAYFAkp3+r0ACgkQ7Ri2jRYZRVMNCwCguuKo/j0qVRzHgU8kJez9q1dr
0oEAnR8tv1GOyFKLtCZzYdZ8irFsH9cZ
=ELgK
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.