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!"
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!