name-server in the kernel

From: Richard B. Johnson (root@chaos.analogic.com)
Date: Wed Dec 12 2001 - 15:27:19 EST


I deleted the name of the one who made the query. Of course
you could do the M$ way (bad network neighbor). You have the
routing information from within the kernel. Therefore, you
can query every possible address on port 53. This will eventually
get you some machine that pretends to be a name-server for the
domain.

I don't suggest you do this, though. If you need IP addresses
or name-to-address translation inside a module or a kernel-driver,
something is broken in the design, probably an understanding of
what the kernel is.

Cheers,
Dick Johnson

Penguin : Linux version 2.4.1 on an i686 machine (799.53 BogoMips).

    I was going to compile a list of innovations that could be
    attributed to Microsoft. Once I realized that Ctrl-Alt-Del
    was handled in the BIOS, I found that there aren't any.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Dec 15 2001 - 21:00:24 EST