From itz at buug.org Sat Nov 12 17:29:39 2011 From: itz at buug.org (Ian Zimmerman) Date: Sat, 12 Nov 2011 17:29:39 -0800 Subject: [buug] local DNS cache choices Message-ID: <87bosg95do.fsf@foolinux.dyndns.org> Looking at what is available in Debian, I see three choices which seem almost equivalent: 1. lwresd (and nss-lwres) 2. nscd 3. unscd I understand that 2 and 3 do more than just DNS, but I only need DNS. Which one should I use? -- Ian Zimmerman gpg public key: 1024D/C6FF61AD fingerprint: 66DC D68F 5C1B 4D71 2EE5 BD03 8A00 786C C6FF 61AD Rule 420: All persons more than eight miles high to leave the court. From Michael.Paoli at cal.berkeley.edu Sat Nov 12 18:42:19 2011 From: Michael.Paoli at cal.berkeley.edu (Michael Paoli) Date: Sat, 12 Nov 2011 18:42:19 -0800 Subject: [buug] local DNS cache choices In-Reply-To: <87bosg95do.fsf@foolinux.dyndns.org> References: <87bosg95do.fsf@foolinux.dyndns.org> Message-ID: <20111112184219.281061yyxzmh6fsw@webmail.rawbw.com> Don't forget bind9 - which may or may not be overkill for what one may want. I believe the default Debian install of bind9 essentially configures it as a caching mostly DNS server. > From: "Ian Zimmerman" > Subject: [buug] local DNS cache choices > Date: Sat, 12 Nov 2011 17:29:39 -0800 > > Looking at what is available in Debian, I see three choices which seem > almost equivalent: > > 1. lwresd (and nss-lwres) > 2. nscd > 3. unscd > > I understand that 2 and 3 do more than just DNS, but I only need DNS. > Which one should I use? From rick at linuxmafia.com Sun Nov 13 01:48:59 2011 From: rick at linuxmafia.com (Rick Moen) Date: Sun, 13 Nov 2011 01:48:59 -0800 Subject: [buug] local DNS cache choices In-Reply-To: <87bosg95do.fsf@foolinux.dyndns.org> References: <87bosg95do.fsf@foolinux.dyndns.org> Message-ID: <20111113094859.GU14946@linuxmafia.com> Quoting Ian Zimmerman (itz at buug.org): > Looking at what is available in Debian, I see three choices which seem > almost equivalent: > > 1. lwresd (and nss-lwres) > 2. nscd > 3. unscd > > I understand that 2 and 3 do more than just DNS, but I only need DNS. > Which one should I use? Do you want a recursive nameserver, or just a cache? Really, any nameserver package of any type (authoritative, recursive, forwarder) does caching pretty much automatically, but you can, if you wish, have local nameserver intelligence to handle the queries rather than just sending them out to other people's nameservers, elsewhere. nscd is _just_ caching (of DNS and other things). unscd is a from-scratch rewrite of the same idea, probably far less buggy than nscd. lwresd (with nss_lwres to convert the query results so NSS can use them) is a miniature recursive server reachable only for client service from localhost processes (not remote hosts). On the plus side, lwresd/nss_lwres is lightweight for a recursive daemon. On the minus side, lwresd is 'stale code' that hasn't been maintained since around 2003. nss_lwres has been unmaintained since 2001. I might point out these other choices: 4. unbound. Full-service recursive server. Lightweight. 5. dbndns. Debian fork of Bernstein's djbdns, including dncache, a very lightweight recursive server. (Debian also has package 'djbdns', nearly the same fork but with fewer patches.) 6. maradns. Full-service recursive server and full-featured authoritative server. 7. dnsmasq. Forwarder. Also has a number of other functions useful in small networks. 8. pdnsd. Forwarder. 9. pdns-recursor. Full-service recursive server. All of these do caching. Of possible use: http://linuxmafia.com/faq/Network_Other/dns-servers.html From Michael.Paoli at cal.berkeley.edu Mon Nov 14 17:03:28 2011 From: Michael.Paoli at cal.berkeley.edu (Michael Paoli) Date: Mon, 14 Nov 2011 17:03:28 -0800 Subject: [buug] BALUG TOMORROW! Tu 2011-11-15 BALUG meeting - Regular Expressions; & other BALUG "news" Message-ID: <20111114170328.37640adrp3v4iue8@webmail.rawbw.com> BALUG TOMORROW! Tu 2011-11-15 BALUG meeting - Regular Expressions; & other BALUG "news" Bay Area Linux User Group (BALUG) meeting Tuesday 6:30 P.M. 2011-11-15 Please RSVP if you're planning to come (see further below). For our 2011-11-15 BALUG meeting, we'll have a bit of a "workshop" on Regular Expressions[1], by Michael Paoli. Zero to quite a bit of regular expression familiarity? Been to BALUG presentation or the like on Regular Expressions before[2]? (maybe, maybe not) In any case, a session on Regular Expressions - but a different approach. This session will be on finding Regular Expression solutions to solve problems - so bring your problems, examples, etc., and we'll work on them, and/or come for the entertainment/education value of seeing some of the more interesting and complex problems and solutions - and simple fun ones too. 1. http://en.wikipedia.org/wiki/Regular_expressions 2. http://lists.balug.org/pipermail/balug-talk-balug.org/2009-July/004456.html So, if you'd like to join us please RSVP to: rsvp at balug.org **Why RSVP??** Well, don't worry we won't turn you away, but the RSVPs really help BALUG and the Four Seas Restaurant plan the meal and meeting, and with sufficient attendance, they also help ensure that we'll be able to eat upstairs in the private banquet room. Meeting Details... 6:30pm Tuesday, November 15th, 2011 2011-11-15 Four Seas Restaurant http://www.fourseasr.com/ 731 Grant Ave. San Francisco, CA 94108 Easy PARKING: Portsmouth Square Garage at 733 Kearny: http://www.sfpsg.com/ Cost: The meetings are always free, but for dinner, for your gift of $13 cash, we give you a gift of dinner - joining us for a yummy family-style Chinese dinner - tax and tip included (your gift also helps in our patronizing the restaurant venue and helping to defray BALUG costs such treating our speakers to dinner). ------------------------------ CDs, etc.: Additional goodies we'll have at the meeting (at least the following): CDs, etc. - have a peek here: http://www.wiki.balug.org/wiki/doku.php?id=balug:cds_and_images_etc We do also have some additional give-away items, and may have "door prizes". ------------------------------ Want to volunteer to help out BALUG? (quite a variety of opportunities exist) Drop us a note at: balug-contact at balug.org Or come talk to us at a BALUG meeting. ------------------------------ Feedback on our publicity/announcements (e.g. contacts or lists where we should get our information out that we're not presently reaching, or things we should do differently): publicity-feedback at balug.org ------------------------------ http://www.balug.org/