[ILUG] DNS messages
chi at csn.ul.ie
Tue Dec 5 13:49:50 GMT 2000
Cheers tarlach, and James for the earlier reply...very helpful
The reason I am looking for this kind of information (and this might seem
familiar to some of you guys) is that I am required to implement a simple
DNS server for my final year project in college. No I am not trying to
replace bind, if anyone considers some sarcastic humour :->
On Tue, 5 Dec 2000, Tarlach wrote:
> > Anyone know what mechanism is used in sending messages to and from DNS
> > servers? Is RPC used or can it be? I'd appreciate any help.
> The messages are all standard UDP datagrams, the structure
> is described in the relevant RFCs or you could borrow some
> of the structs from an existing solution.
> If you just want a resolver why don't you use one of
> the standard Berkley socket calls such as gethostbyname(), they
> have the advantage of being available on almost every
> platform with IP support including Windows.
> btw: If you're finding the bloat of the Bind code too much to wade
> through then have a look at dnscache:
"Nothing is foolproof to a sufficently talented fool!"
More information about the ILUG