Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm running bind 9.5.1 on debian lenny. Unfortunately the machine does not have a lot of memory (only 500MB) and with apache, db and mailserver this is getting tight. Currently bind takes about 10% and is the top consumer of memory - any clues to diminish this? Already cut down on cache, can't really find more options. Perhaps alternative dns server? It only serves a couple domains.

share|improve this question
    
Is it for authoritative service or for recursive one? –  bortzmeyer Jul 2 '09 at 11:41
    
This is for an authoritative service –  mfx Jul 3 '09 at 21:32
add comment

2 Answers 2

up vote 3 down vote accepted

Yeah, BIND is a memory hog. Personally, I'm a fan of tinydns part of djbdns for low-memory footprint DNS service. It's not like BIND at all in terms of config and management, but it's damn small, quite fast, and once you get used to it, I think it's better than BIND in many ways.

share|improve this answer
    
I completely agree with this -- ditch bind and use tinydns + dnscache. –  chris Jun 25 '09 at 23:21
add comment

Are you using bind for authoritative hosting of domains, or for a caching resolver?

If for authoritative hosting, turn off recursion (there's no need for a cache if you're not doing recursion); or try tinydns.

If for caching/recursive lookups, then give a lighter caching resolver a shot (like dnscachex).

Failing that, third-party DNS hosting is readily available.

share|improve this answer
    
The former - authoritative hosting of two domains. Will give a go at tiny dns. Otherwise I would have used nscd. –  mfx Jun 26 '09 at 9:35
    
If you try tinydns and encounter any difficulty, please ask a question and I or somebody else will try and help you out. That's what serverfault is here for. –  Mark Johnson Jul 13 '09 at 19:54
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.