Re: DNS from a Kernel Extension
Re: DNS from a Kernel Extension
- Subject: Re: DNS from a Kernel Extension
- From: William Kucharski <email@hidden>
- Date: Fri, 10 Nov 2006 19:23:20 -0700
On Friday, November 10, 2006, at 06:42PM, Curtis Jones <email@hidden> wrote:
>I have a need for performing DNS resolution (name to address) for the
>use by a kernel extension, and it would be incredibly convenient if it
>could be performed within the kernel. I've looked around endless
>header files but haven't found anything helpful.
WHY? This is just wrong on so many levels...
If you ever need to do this type of thing, you need to take a step back
and figure out why you're trying to this from the KERNEL. I can't even
really think of one.
The right way to do this is to have a user space process do the DNS
resolution and pass the information to your kernel extension; better yet would
be for a user space daemon to do both the DNS resolution AND all network
communication.
William Kucharski
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden