LWN.net Logo

Re: Writing a DNS server is easy

Re: Writing a DNS server is easy

Posted Jan 25, 2003 10:41 UTC (Sat) by sam (guest, #1329)
In reply to: Writing a DNS server is easy by ahu
Parent article: A couple of alternative DNS servers

Well, depends on what sort of infastructure you already have in place. My recursive server is over 4000 lines long (!!!), but that includes the entire caching infastructure.

Does your caching infastructure have a method of removing elements from the cache so they no longer take up memory?

It took us months to get rid of all of the memory leaks in MaraDNS' cache.

BTW, Bert, I would like to applaud you for making Power DNS open source. It is good to see being realistic enough to realize that you are better off GPLing this package. You will still earn money by putting it on your résumé to impress people when the tech economy picks up again.

It is good to have competition among different open source DNS products; I am glad the "call to arms" for a non-BIND DNS server which has resulted in a number of implementations. Just two weeks ago, there were all of three non-BIND freely downloadable recursive DNS servers (my MaraDNS, pdnsd, and DjbDNS). All of a sudden, there are two more--five in total.

- Sam


(Log in to post comments)

Re: Writing a DNS server is easy

Posted Feb 3, 2003 18:46 UTC (Mon) by ahu (✭ supporter ✭, #4298) [Link]

two words: use c++ :-) Saves heaps of typical C problems if done right, like memory leaks and the need to write btrees and whatnot

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds