Re:The story of a little DNS easter egg
by simias on Tuesday August 27, 2013 @08:55AM
(#6283084)
It reminded me of this clever hack used to store the source code of DeCSS (CSS descrambler that let you bypass the DVD DRM) in DNS records: http://decss.zoy.org/ (method 9).
"Mark Baker noticed that you could do the request to any nameserver. Which means for instance that the DeCSS source code is available from the DVDCCA's nameservers !"
Re:The story of a little DNS easter egg
by Fuxy on Tuesday August 27, 2013 @06:43AM
(#6282615)
Wish they would open source it. I would have preferred if they would have contributed to PowerDNS instead of reinventing the wheel.
Was PowerDNS so awful it required a compete rewrite if so fair enough.
Re:The story of a little DNS easter egg
by thaumaturgy on Tuesday August 27, 2013 @08:58AM
(#6283095)
(I also chose PowerDNS years ago.)
I'm not sure about "rebooting" -- if this was just a language error -- but PowerDNS can run with a MySQL or Postgres backend with instant updates to records. i.e., no reload or other configuration re-read required.
With DB replication up and running, you can get a fairly robust domain name server pool going without the usual headaches associated with copying updates to multiple servers.
Re:The story of a little DNS easter egg
by i31415 on Tuesday August 27, 2013 @02:20PM
(#6285174)
CF engineer here. The main pain point of pdns and CloudFlare was all the additional logic needed to support CloudFlare's cdn product. For example, for a given record, should this resolve to the origin server's IP or CloudFlare's edge node? In the case of an edge node, what particular set of CloudFlare's IPs should be returned. These are both user settable options, and need to be propagated to all dns servers in real time. Supporting this meant supporting an increasingly hacked up fork of pdns, with logic scattered though the code base. Eventually it became less work to build rrdns as a clean platform.
Re:The story of a little DNS easter egg
by peterwwillis on Tuesday August 27, 2013 @12:47PM
(#6284564)
I like the way bind updates its child nodes and reloads/adds new records. It allows me to load only what I want, only when I want it done, not immediately. Not to mention the dependency nightmare of requiring a stable SQL backend just to serve virtually-always-static DNS requests...
Re:The story of a little DNS easter egg
by pjbringer on Tuesday August 27, 2013 @04:56AM
(#6282287)
While playing these kinds of games on security sensitive services might not seem like a good idea, it lets someone take ownership of its development, and gain experience with its codebase.
Re:The story of a little DNS easter egg
by kevinbowman on Tuesday August 27, 2013 @07:43AM
(#6282836)
I imagine the switch over to TCP is more because the response is likely to be larger than a UDP packet (which IIRC is why DNS-over-TCP exists) (looks to be the case [1]), as opposed to stopping an amplified reflection attack, but it's a nice side effect.
Re:The story of a little DNS easter egg
by makomk on Tuesday August 27, 2013 @07:59AM
(#6282901)
Nope. Normal DNS behaviour is to send the first few records over UDP and set the response truncated flag, which would still allow amplified reflection. They're intentionally sending no records at all in order to protect against this.
Re:The story of a little DNS easter egg
by colmmacc on Tuesday August 27, 2013 @01:40PM
(#6284931)
Some name servers include partial rrsets in truncated responses, some decide it's best to omit the entire rrset, some decide it's best to omit that entire section. All of those behaviors are valid (RFC2181 section 9 is about as detailed as it gets). I think there's enough variety that really there's no "normal" for this.
Re:The story of a little DNS easter egg
by anotherevan on Tuesday August 27, 2013 @09:10PM
(#6287403)
I remember listening to a podcast where Steve Gibson mentioned that he uses a DNS TXT record to publish the current version of SpinRite. That way the program just does a DNS look-up to see if there is a newer version available.
Thought that was a clever trick. Saves a centralised server getting hit all the time (although you then miss out of usage information I guess.)
Re:The story of a little DNS easter egg
by dknecht on Tuesday August 27, 2013 @11:32AM
(#6284045)
We originally considered building of off Unbound. It is great product and plan on switching our internal recursors from PDNS Recursor to Unbound in the future. The decision to build our own was because we are heavy user of Nginx and really like the concept of being able to easily create new modules that can be inserted at different points in DNS response pipeline. We will be blogging a lot more about the technical aspects of RRDNS in the future.
"Mark Baker noticed that you could do the request to any nameserver. Which means for instance that the DeCSS source code is available from the DVDCCA's nameservers !"
Classic.
"We're planning on open sourcing RRDNS, the authoritative DNS server we built, when it gets to a state where it could be used by others."
Can someone explain? What DNS server requires a reboot (or even restart) instead of a simple reload?
I'm not sure about "rebooting" -- if this was just a language error -- but PowerDNS can run with a MySQL or Postgres backend with instant updates to records. i.e., no reload or other configuration re-read required.
With DB replication up and running, you can get a fairly robust domain name server pool going without the usual headaches associated with copying updates to multiple servers.
In terms of dns updates, see the blog post http://blog.cloudflare.com/kyoto_tycoon_with_postgresql for details on how CF does it now.
Don't really need the other stuff but from what I can see their dns performance is on par with dnsmadeeasy/dyn/ultra
[1] http://serverfault.com/questions/404840/when-do-dns-queries-...
Thought that was a clever trick. Saves a centralised server getting hit all the time (although you then miss out of usage information I guess.)
After all, what's the point of running a massive service if you can't have fun with it?
1. Browsers were/are a prime location for Easter eggs.
http://www.nlnetlabs.nl/projects/nsd/