Subject: Re: Offtopic - C resolver library
To: Stefan Sonnenberg-Carstens <email@example.com>
From: David Maxwell <firstname.lastname@example.org>
Date: 10/14/2004 11:00:32
On Thu, 14 Oct 2004, Stefan Sonnenberg-Carstens wrote:
> Hi list,
> I know that this question is OT in some regard
> to using NetBSD, but has anyone examples on how to
> use the dns resolver library from C programs ?
> I'm a little confused by the man pages;
> To be more precisely : I'd like to fetch the MX
> records for a specific domain.
Take a look at /usr/src/dist/bind/bin/dig/dig.c or
both are examples of how to do pretty much any resolver query you can
David Maxwell, email@example.comfirstname.lastname@example.org --> From a real request to a
helpdesk "Can you please open the following ports in the firewall: 1024-90000"
- Anonymous to protect the guilty