@DanielM said: My dns servers (Resolvers) are based on the following hardware
Intel Pentium 4
2GB RAM
80GB Hard Drive
1Gbps Connections
Cheap, but effective I guess! :) I've seen some people using cheap VPS's (as this would only be for a personal website). How much RAM would you recommend?
Or you can use free dns at some provider. I am with afraid.org since many-many years.
Sure, if you have hundreds of domains and hosts, your own DNS will make sense.
128 MB should be enough even in that case, 20 GB a month bw will also suffice.
M
I'll throw in another vote for NSD3. Been using it foe about a year on a 512MB all-in-one web hosting VPS with smashing success. Gonna try out the replication stuff one of these days.
Kansas City MO 768mb
Orlando FL 256mb
Fremont, CA 128mb
Jacksonville FL 512mb
Sittingbourne, UK 128mb
Los Angeles, CA 160mb
Adelaide, Australia 512mb
Manchester, UK 1024mb
Milan, Italy 128mb
Surrey, UK 256mb
Detroit, MI 128mb
Buffalo, NY 192mb
Charlotte, NC 128mb
All are OVZ, except for the Sittingbourne UK one using Xen. Works great.
Working on switching over to PowerDNS with SQL back end. Cpanel's default of bind9 works fine, but doesn't scale well when you have a whole pile of zones:
How reliable is mysql replication? It seems to me like it would be a huge admin time suck as number of dns servers grows. All changes are made on the primary dns and replicated to slaves?
@bdtech said: How reliable is mysql replication? It seems to me like it would be a huge admin time suck as number of dns servers grows. All changes are made on the primary dns and replicated to slaves?
"All changes are made on the primary dns and replicated to slaves?" this. If the primary mysql server dies for some reason, all of the child nodes are able to keep running on their dataset.
The only thing I don't like about Powerdns is that it doesn't have any functionality to self-cache answers, which means every time it gets a query, it needs to reference the SQL database for the answer. I'm compensating for this by having the mysql cache settings quite high.
@HalfEatenPie - but the data is cached inside PDNS not MySQL
from PDNS docs
3.1. Packet Cache
PDNS by default uses the 'Packet Cache' to recognise identical questions and supply them with identical answers, without any further processing. The default time to live is 10 seconds. It has been observed that the utility of the packet cache increases with the load on your nameserver.
Not all backends may benefit from the packetcache. If your backend is memory based and does not lead to context switches, the packetcache may actually hurt performance.
The size of the packetcache can be observed with /etc/init.d/pdns show packetcache-size
Comments
My dns servers (Resolvers) are based on the following hardware
Intel Pentium 4 2GB RAM 80GB Hard Drive 1Gbps Connections
http://danielmeah.gb.net/ < My Blog
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksCheap, but effective I guess! :) I've seen some people using cheap VPS's (as this would only be for a personal website). How much RAM would you recommend?
Also, would the cPanel DNS only work OK?
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksLooks like you need cPanel for DNSOnly. Is there any other way?
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksJust have a look on http://cr.yp.to/djbdns/tinydns.html
TinyDNS works "ok"....(just doing what a dns is supposed to do)...and already works on a VPS with 96MB RAM.
http://www.de-punkt.de - a german vps hosting company since 1996
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksNice, thanks. I'll look into that. Any others?
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksWell...if you want to have it "low end"...you won´t have many other choices cos a normal bind9/named just needs a lot more resources for working.....
http://www.de-punkt.de - a german vps hosting company since 1996
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksMy DNS server cluster is based on 128MB VPSes
ns1=SecureDragon 128MB XEN-PV ns2=VooServers 128MB XEN-PV ns3=Hostigation 128MB KVM ns4=TheHostHouse 128MB XEN-HVM
I am using cPanel DNS-only to manage it (since its for cPanel)
Another cluster is an experiment that I am doing since a few months now, never got the time to finish it. Its a free DNS service
ns1 + ns2 using PowerDNS
My latest community project LowEndScripts.com - Listing of Debian and CentOS (RHEL) shell scripts
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksOr you can use free dns at some provider. I am with afraid.org since many-many years. Sure, if you have hundreds of domains and hosts, your own DNS will make sense. 128 MB should be enough even in that case, 20 GB a month bw will also suffice. M
- Spam
- Abuse
- Troll
0 • Disagree Agree Thanksgdns uses 4 VPS containers, with 256-512MB of RAM. 2 at EDIS, 1 at Hostigation and 1 at OVH. Using gdnsd DNS daemon, RAM usage is below 50MB
- Spam
- Abuse
- Troll
0 • Disagree Agree Thanks@Asim - Looked at PowerDNS.
Is this what you've done? http://www.howtoforge.com/installing-powerdns-with-mysql-backend-and-poweradmin-on-debian-etch
@vld - Thanks. Will look at that.
EDIT: PowerDNS looks like what I want, but I'm a bit confused about adding a 2nd server after the 1st one
- Spam
- Abuse
- Troll
0 • Disagree Agree Thanksit is using mysql replication. just replicate the two mysql database (NS1=master, NS2=slave).
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksOK I think I get it :P Now to find 2 or 3 VPS's to use for it
- Spam
- Abuse
- Troll
0 • Disagree Agree Thanks24x 256MB/5GB Xen/KVM VMs with Ubuntu 12.04 LTS running custom build of PowerDNS with Percona Cluster
Rage4 DNS - Anycast, GeoDNS, failover, vanity NS and more
Follow us on Facebook, Twitter, Google+ or Linkedin
- Spam
- Abuse
- Troll
0 • Disagree Agree Thanks24 :P Wow. lol
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksAlso have a look at NSD3, uses under 5MB of RAM in an OpenVZ container :)
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksI'm using prometeus 50MB VPS as master NS. PDNS + MySQL + NGINX + PHP-FPM (Sqlbuddy & Poweradmin)
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksWow that's nice. Thanks :) I'll do something like that.
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksI'll throw in another vote for NSD3. Been using it foe about a year on a 512MB all-in-one web hosting VPS with smashing success. Gonna try out the replication stuff one of these days.
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksAll EDIS locations as well as my own and a VPS in Australia :)
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksZerigo.
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksI use a pile of LEB VPS:
All are OVZ, except for the Sittingbourne UK one using Xen. Works great.
- Spam
- Abuse
- Troll
0 • Disagree Agree Thanks@Damian what type of DNS service are you using?
- Spam
- Abuse
- Troll
0 • Disagree Agree Thanks@Jack: cpanel DNS only with bind9.
Working on switching over to PowerDNS with SQL back end. Cpanel's default of bind9 works fine, but doesn't scale well when you have a whole pile of zones:
root@web [/var/named]# ls -l | wc -l 14029
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksI'm leaning towards PowerDNS at the moment as well....Now to find some LEB VPS's.
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksHow reliable is mysql replication? It seems to me like it would be a huge admin time suck as number of dns servers grows. All changes are made on the primary dns and replicated to slaves?
- Spam
- Abuse
- Troll
0 • Disagree Agree Thanks@bdtech - at least in our setup there is no such thing as primary DNS, we run cluster globally on 5 continents and it's replicating very fast
Rage4 DNS - Anycast, GeoDNS, failover, vanity NS and more
Follow us on Facebook, Twitter, Google+ or Linkedin
- Spam
- Abuse
- Troll
0 • Disagree Agree Thanks"All changes are made on the primary dns and replicated to slaves?" this. If the primary mysql server dies for some reason, all of the child nodes are able to keep running on their dataset.
The only thing I don't like about Powerdns is that it doesn't have any functionality to self-cache answers, which means every time it gets a query, it needs to reference the SQL database for the answer. I'm compensating for this by having the mysql cache settings quite high.
- Spam
- Abuse
- Troll
0 • Disagree Agree Thanks@Damian - you can setup PDNS to cache the responses for a specific time
Rage4 DNS - Anycast, GeoDNS, failover, vanity NS and more
Follow us on Facebook, Twitter, Google+ or Linkedin
- Spam
- Abuse
- Troll
0 • Disagree Agree Thanks@gbshouse: I think that's what he did when he said "I'm compensating for this by having the mysql cache settings quite high"
- Spam
- Abuse
- Troll
0 • Disagree Agree Thanks@HalfEatenPie - but the data is cached inside PDNS not MySQL from PDNS docs
Rage4 DNS - Anycast, GeoDNS, failover, vanity NS and more
Follow us on Facebook, Twitter, Google+ or Linkedin
- Spam
- Abuse
- Troll
0 • Disagree Agree Thanks