You are not logged in.

#1 2005-07-05 01:40:41

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,615
Website

cache only dns servers

Anyone know of good cache only dns servers?
I was fiddling around with dproxy and maradns. I put both of them in the aur.
dproxy seems a bit simplistic for my needs. It works great caching A records, but it doesn't cache MX records.

I haven't tested maradns yet, just made a package.

I know I can use bind, but ick!
I generally dont like djb's stuff either. I don't want to add daemonutils just to use dns-cache either. *shrug*

Anyway..any of you archers know of other good caching dns servers?


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#2 2005-07-05 02:00:32

colnago
Member
From: Victoria, BC
Registered: 2004-03-25
Posts: 438

Re: cache only dns servers

dnscache

It is very easy to set up.  Just pacman it and put a symlink in /service and change /etc/resolv.conf to  'nameserver 127.0.0.1'.

Offline

#3 2005-07-05 02:58:35

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,615
Website

Re: cache only dns servers

well, I did mention I wasn't interested in djb's software, but I suppose I could give it a shot anyway.


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#4 2005-07-05 03:24:12

colnago
Member
From: Victoria, BC
Registered: 2004-03-25
Posts: 438

Re: cache only dns servers

Sorry, I am having too much coffee and not enough reading.

Offline

#5 2005-07-05 16:07:49

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: cache only dns servers

I use dnsmasq.

Offline

#6 2005-07-05 17:10:15

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,615
Website

Re: cache only dns servers

oooh. it supports mx records too.
Do you have to run the dhcp portion of it, or can you just run the dns forward/cacher? Had any problems with it?


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#7 2005-07-05 22:44:45

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: cache only dns servers

The dhcp part is only run if you tell it to. My experience with dnsmasq is good, it gave never any problems.

I run it from rc.local the following way:

dnsmasq -r /etc/ppp/resolv.conf -i eth0 
--dhcp-range=10.0.0.3,10.0.0.9 --dhcp-leasefile=/etc/leasefile 
-A /googlesyndication.com/127.0.0.1 
-A /doubleclick.net/127.0.0.1 
-A /valueclick.com/127.0.0.1 
-A /fastclick.net/127.0.0.1 
-A /bizrate.com/127.0.0.1

The -r tells dnamsq where to find the real dns servers, the  -i tells it which interfaces may have access to dnsmasq (including localhost), and the -A stuff is to redirect certain domains wholy to localhost (which you can't do with resolv.conf because of subdomains). I probably should use the configfile, but didn't bother yet.

Offline

#8 2005-07-07 02:19:46

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,615
Website

Re: cache only dns servers

thanks for the info...i will give it a shot.
I took colnago's advice, and installed djbdns, and was just using dnscache. (for about a day)
I think I will try dnsmasq though, as it seems simpler, and doesn't rely on other packages (like daemonutils).


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

Board footer

Powered by FluxBB