Slashdot Mirror


Securing DNS From The Roots Up

jeffy124 writes: "This article at ComputerWorld tells the story of how ICANN would like to replace the root DNS systems with secured servers. Lars-Johan Liman, one of the root operators, spoke about the concept at ICANN's annual meeting today. He discussed how the world's current redundant DNS system is vulnerable to DDOS attacks and yet-to-be-discovered root holes in bind that can ultimately undermine the entire Internet by taking away the name-IP mappings that are relied upon by just about everyone."

102 of 354 comments (clear)

  1. News flash! by Teancom · · Score: 5, Funny

    Bind may be vulnerable to security exploits! Sendmail may *not* be as secure as qmail! Walking through harlem with $100 bills hanging out of your pockets isn't smart! Sky is blue!

    Some people just never get the news....

    1. Re:News flash! by tzanger · · Score: 2

      Remember the hole in BIND from the beginning of this year? Big as a truck? If I recall correctly it was a TSIG related buffer overflow that made it possible to run code at the same priviledge as BIND (often root)...

      I never understood why BIND would run as root -- it will drop privs once it attches to port 53. Is this just another case of lazy admin?

  2. My entire world is running amok by Tsar · · Score: 4, Funny

    The Internet is depending on unsecured servers for DNS? Now how am I going to sleep at night? Next you'll be telling me the earth isn't sitting snugly atop a giant turtle! Is nothing certain any more?

    1. Re:My entire world is running amok by ethereal · · Score: 2

      Um, that was just as funny as the parent comment, which was moderated up. Oh well.

      O for a muse of humor, that would ascend
      the brightest heaven of slashdot,
      A weblog for a stage, trolls to act,
      and moderators to behold the swelling scene!
      --

      Your right to not believe: Americans United for Separation of Church and

  3. And once you lock those down... by dave-fu · · Score: 3, Insightful

    ...then malicious intruders will just go after the core routers, saturate lines, do things of that nature. Not that locking down DNS is a bad thing, but you can't defend everything all the time.

    --
    Easy does it!
    This comment has been submitted already, 276865 hours , 59 minutes ago. No need to try again.
  4. Why still running on BIND? by kc8apf · · Score: 5, Interesting

    I have yet to find the great reason of why everyone uses BIND. I've been working on my own DNS server just for kicks. The protocol itself is trivial. It can be handled so easily, but yet, if you look at BIND's source code, you can't tell what is going on at all. So, why does everyone continue to use it? Or better question, why hasn't someone written a better alternative?

    --
    kc8apf
    1. Re:Why still running on BIND? by po_boy · · Score: 2

      Some people are running djdns. It may be interesting for you to look at if you haven't already. There's also one from Microsoft.

      There probably aren't a lot developed, and you don't hear about many of them that are developed because it's not a very sexy application, like say, napster.

    2. Re:Why still running on BIND? by kc8apf · · Score: 2, Interesting

      Ok, I knew someone would that one out. And yes it is better. But it can be a pain to maintain, just like BIND. Why does everyone thing DNS zone's must be contained in flat text files? I would like to see a nice SQL backed system. And yes, I've read up on BIND 9, and I really don't want to have to write my own SQL interface to the programming hooks given to make it work. I want it to compile and function.

      (As a side note, that feature is part of the reason I've been researching DNS. And yes, my personal project does include SQL backed lookups. No it is not ready for anyone to look at.)

      --
      kc8apf
    3. Re:Why still running on BIND? by fanatic · · Score: 5, Interesting

      Already available is djbdns, written by D. J. Bernstein with security as a design goal. In fact, he offers rewards to anyone who can find a vulnerability.

      --
      "that's not encryption - it's a new perl script that I'm working on..." - from some Matrix parody
    4. Re:Why still running on BIND? by po_boy · · Score: 2

      I'd also love to see a good way to keep all of my zone data in my database. I just hope that the nameserver is still fast enough to deal with a descent amount of traffic. That's the big problem I see with an SQL backend. Some clever hacker will come up with a good way to cache, though, and I hope soon.

    5. Re:Why still running on BIND? by DaSyonic · · Score: 5, Informative
      djbdns, and other stuff written by him, (including qmail) is all under a restrictive license. He essentially prevents any vendor/distribution to release it, as any vendor would need to make minor changes, but a vendor can't even change the pathnames to certain files... that's not acceptable.

      Read his license and see for yourself.

      --

      Linux: Because a PC is a terrible thing to waste.
      James Brents
    6. Re:Why still running on BIND? by Animats · · Score: 2

      I'd assumed that by now, major DNS servers were implemented as front ends to some real database, just to simplify updating.

    7. Re:Why still running on BIND? by shepd · · Score: 2, Informative

      It seems like its think inside the box day (why is it I've said this for the first two times of my life today?)...

      "You can distribute your patches for other people to use."
      "You may distribute a precompiled package if installing your package produces exactly the same files, in exactly the same locations, that a user would obtain by installing one of my packages listed above"
      "You may distribute exact copies of any of the following packages"

      It seems DJB is A-OK with the raw source or raw binaries being on the CD. He's also OK with patches and patch distribution.

      So here's how to "get around" his license if you are a distributor (which isn't all that bad except for distributors, who generally have better things to deal with than "attitude" -- which it appears DJB has against software distributors, and is why his software is doomed to fail in the market, even if it won't fail in the computer):

      - djbdns
      [ ] Install virgin djbdns binary
      [ ] Install virgin djbdns source
      - patches
      [ ] Install binary patch for djbdns for correct operation with your platform
      [ ] Install source patch for djbdns for correct operation with your platform

      Problem solved. He's happy, you're happy, I'm happy. We're all a happy family. Well, maybe DJB isn't happy, but then again maybe he should get back to coding more good software rather than writing software licenses (which it appears he isn't particularly good at... I'm no legal expert and I saw that gaping hole a mile away).

      Can't we just all get along? :-) Other than his dislike for distributors (does he roll his own?) DJB seems like a cool guy.

      [IANAL. If you wanted legal advice, you looked at the wrong post.]

      --
      If you could be told what you can see or read, then it follows that you could be told what to say or think - BoC
    8. Re:Why still running on BIND? by astrashe · · Score: 3, Interesting

      I don't know if it needs to be an SQL database, but it needs to be some system that will let you update the zone files dynamically and instantaneously.

      The official BIND 4.x and 8.x trees are full of bad code that will probably yield serious bugs down the road. OpenBSD's audited BIND is based on 4.x, and as such lacks some important features that you really need. Theo and the gang have said that they have no intention of auditing the 8.x code, because it's so sloppy, and because they don't feel it adds enough to the 4.x tree.

      I'm paranoid about the MySQL enabled version of BIND, because I'm not confident that it would be patched quickly in the event that an exploit was discovered.

      I've been meaning to try to tie djbdns into a web application that could modify zone data -- the command line programs seem like they could be called easily by php, although I haven't actually installed it yet, so I could be all wet. If you don't do many modifications, it might be a reasonable compromise between a full blown SQL system and something more lightweight and secure.

      A fully featured SQL database could probably keep itself in sync with djbdns with triggers, so long as you weren't pounding on the data and changing it frequently. That would eliminate SQL bottlenecks on the serving side, although I have no idea how it would stand up under heavy zone editing.

      I wish the government would throw a couple of million bucks at this problem, and open source all the results. It would make the world a much better place.

    9. Re:Why still running on BIND? by cymen · · Score: 2

      Can't we just all get along? :-) Other than his dislike for distributors (does he roll his own?) DJB seems like a cool guy.

      I thought so too once but then I watched him bang his ahead against the wall on one of the OpenBSD mailing lists.

      Repeatedly.

      Someone who hits their head that often surely has a few problems...

    10. Re:Why still running on BIND? by Tet · · Score: 3, Informative
      Why does everyone thing DNS zone's must be contained in flat text files? I would like to see a nice SQL backed system.


      What on earth for? SQL is a general purpose query language designed to maximize flexibility over performance. SQL lets you do all sorts of complex nested subqueries and joins which simply aren't needed for DNS, so why have the overhead? It all comes down to using the right tool for the job. And in this case, a fast non-SQL database (such as Berkeley DB, for example) is far more suited to the job. Too many people equate the term "database" with "SQL", when that's just one of the options. Often it's the right choice, but sometimes it isn't, and this is one of those times.

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
    11. Re:Why still running on BIND? by shub · · Score: 2, Informative
      Post your code. Let people rip it apart. BIND has gotten where it is today because it is still the best open-source solution for the job.

      Yes, there are independantly coded closed-source solutions which perform better and presumably are better all around (Nominum has written a program that they use as the basis for their Global Name Service, which does not contain any code from BIND).

      However, these are closed-source implementations, and the folks who operate the various root servers are doing so on a volunteer basis, and are not interested in just handing everything over to some company who operates a "black box" -- regardless of who that company is.

      Indeed, it's the root server operators that have really spared us from the worst of the damage that ICANN has tried to inflict upon us. For the stupidest things, the root server operators simply said "Not only NO, but HELL NO!", and ICANN was forced to back down.

      --
      Brad Knowles
      http://daily.daemonnews.org/ -- if you're not
    12. Re:Why still running on BIND? by shub · · Score: 3, Informative
      Uh, yeah. Right. The first of what I'm sure will be many people to recommend djbdns. I've got a long list of reasons why djbdns is inherently bad, and I'll share some of them with you:
      • By default, tinydns does not hand out referrals to questions it is asked about zones it does not control. I believe that this violates the spirt of the RFCs, if not the letter.
      • By default, tinydns does not support the use of TCP at all. This most definitely violates the spirt of the RFCs, as well as the letter (if a DNS query via UDP results in truncation, you're supposed to re-do the query using TCP instead).
        Indeed, if you want to support TCP under tinydns, you have to configure an optional program called "axfrdns", which was intended to handle zone transfers, but also happens to share the same database as tinydns, and can handle generic TCP queries.
      • The suggested method for copying contents of DNS zones is rsync, scp, or other remote copy tools. The DNS standard method of zone transfers (query type "axfr") is only supported as an additional, disrecommended method.
        The problem is that if you make a mistake and munge the database and then rsync or rcp that to the backup servers, you're totally hosed. Contrariwise, if you use the standard zone transfer mechanism, then the zone transfer should fail if the master is munged, and the slaves should keep a good working copy for a while and give you time to notice that the master is munged and needs to be fixed.
      • Without a patch from a third party, tinydns does not listen to more than one IP address. If you have a multi-homed server, you have to apply a patch from someone other than they author, before you can get it to listen on more than one address/interface.
      • Without a patch from a third party, tinydns does not support the standard "NOTIFY" protocol of informing secondary nameservers that the zone has been updated, and that they need to check the SOA serial number and download a new copy (if they don't already have it).
      • Without a third party patch, tinydns does not support standard SRV records (which are intended to ultimately replace MX records, as well as perform similar functions for services other than mail).
      • Like tinydns, dnscache will not bind to more than one IP address without a third party patch.
      • Because they are separate programs, you can't have both tinydns and dnscache listening to the same IP address(es) on the same server.
        While this is not the recommended mode of configuration, some sites don't have the luxury of having separate authoritative-only and caching/recursive-only server(s), and need to mix them both on one machine (or set of machines). With the BIND 9 "view" mechanism, this is relatively easy to do. With djbdns, this is impossible.
      • There aren't even any patches that can get djbdns to implement TSIG, Dynamic DNS, or DNSSEC, nor are they ever likely to be created (my understanding is that the author is strongly opposed to them).
        Unfortunately, as time goes on and more and more people are doing things like IPv6, VPNs based on IPSec, or people just care about being able to cryptographically prove that their servers are handing out the only correct information and that the clients are able to cryptographically verify this fact (think: electronic banking), these kinds of features are going to become ever more commonplace.
        Note that, with the advent of BIND 9, you can create a caching-only server that will validate cryptographically signed records, and all clients can benefit even if they do not themselves implement any of the new DNSSEC features.
      • There are a number of things that djbdns does which I believe to be outright bugs. However, the author of this package simply refuses to accept that his code could be anything less than 100% perfect, and while he claims to have a "bounty" that he will pay for any bug that is found, in reality he is the one that gets to define what he accepts as a "bug", and has repeatedly demonstrated a tendancy to openly refuse to accept some purported bug, but then to quietly fix the code with future releases.
        So, let's look at some of these bugs:
        • When an IQUERY is sent to a djbdns server, it will respond with opcode set to QUERY. (it should simply copy the opcode, not make something up).
        • DNSCACHE (the caching server) does not respond to queries with the RD bit clear in the query. (Instead of simply answering from cache without recursing the dns-tree).
      • One argument frequently used to support the use of djbdns over BIND is performance. Upon further investigation, this claim simply does not hold water.
        Benchmarks published by Rick Jones have clearly shown that BIND can scale up to at least 12,000 DNS queries per second, and there is every indication that BIND 9.2 will be able to go considerably higher. The best benchmarks available for tinydns indicate that it can handle at least 500 queries per second, but that is the highest number reported. Other people on the bind-users mailing list have indicated that they have performed their own (as yet unpublished) benchmarks of tinydns, and that it had notable performance problems that BIND did not suffer.
        The best published benchmarks from the author for dnscache report a query handling rate of less than one million records over a 4.5 hour period of time, which works out to an average of less than sixty-two queries per second. Even if you look at numbers of queries per CPU second, the best numbers they can provide are 13.7 million queries over a four week period of time with 128 minutes of CPU time used (an average of slightly less than 1784 queries per CPU second).
        Compare this with the requirement from RFC 2010 "Operational Criteriafor Root Name Servers" (since obsoleted by RFC 2870 "Root Name Server Operational Requirements") is that the machine and software in question be able to handle at least 2000 queries per second, and be scalable to levels higher than that. Indeed, recent reports have indicated that a.root-servers.net (considered by many to be the "primary" root nameserver) is currently handling around 12,000 DNS queries per second at peak.
        Preliminary benchmarks published on the bind-users mailing list have indicated that, on the same hardware, there is little or no performance benefit to using dnscache as opposed to BIND 9.1.2, and when these tests are re-run with BIND 9.2, I'm sure that it will come out even faster.
      • Unfortunately, a lot of the reasons the author gives for running djbdns instead of BIND are related to problems in older versions of BIND which have been fixed or are largely non-issues in later releases of BIND 9.
        For example, he makes a big point of tinydns being better than BIND, because while the process is starting up, it still answers queries. While previous versions of BIND would not answer queries during startup, this is no longer a problem with BIND 9.
        Dan also makes a great deal of the fact that the djbdns tools run as a user other than root, and in chroot() environments. While the "monolithic setuid root" situation was an issue with older versions of BIND, even more recent releases of BIND 8 could be easily run as a non-priviledged user in a chroot() environment, and this is the preferred method of running BIND 9.
        Contrariwise, one of the legitimate big complaints about older versions of BIND is that they implemented zone transfers in a separate program. If the database was large, then the fork()/exec() overhead was large, and the system could seriously thrash itself to death as it copied all those pages (for systems without copy-on-write), only to immediately throw them away again when it fired up the named-xfer program. With BIND 9, this problem is solved by having a separate thread inside the server handling zone transfers, and no fork()/exec() is done. However, tinydns/axfrdns goes back to the fork()/exec() model that was so greatly despised.
      And this doesn't even begin to get to the more core philosophical issues that Dan gives for running djbdns instead of BIND. I can easily rip him apart in these areas as well, but this takes more space than I think that I should devote here.

      Suffice it to say that there is absolutely nothing that djbdns does that I believe can't be done at least as well (or considerably better) with BIND, and there are no security benefits it provides that cannot be provided at least as well (or much better) by a proper installation of a modern version of BIND.

      I believe in the "security through diversity" scheme as much as anyone, but I'd take root nameservers running a program written in Bourne shell over djbdns. Hell, I'd rather fall back to using HOSTS.TXT than use djbdns.

      Unfortunately, the other alternative of DENTS is also unsuitable for use as a production nameserver.

      Show me something that is sufficiently better than BIND (and open source), and I'm sure that everyone will quickly gravitate towards it. Until then, BIND is the best we've got.

      --
      Brad Knowles
      http://daily.daemonnews.org/ -- if you're not
    13. Re:Why still running on BIND? by mpe · · Score: 2

      Already available is djbdns [cr.yp.to], written by D. J. Bernstein with security as a design goal.

      Except that djbdns is no way a drop in replacement for BIND.

    14. Re:Why still running on BIND? by mpe · · Score: 2

      Why does everyone thing DNS zone's must be contained in flat text files?

      Because it makes maintanance and understanding what is going on simple.

      I would like to see a nice SQL backed system.

      Most of SQL is utterly irrelevent to DNS managemnt. Effectivly you'd end up with an inefficent heavyweight system.

    15. Re:Why still running on BIND? by Megane · · Score: 2
      I have yet to find the great reason of why everyone uses BIND. I've been working on my own DNS server just for kicks. The protocol itself is trivial. It can be handled so easily, but yet, if you look at BIND's source code, you can't tell what is going on at all.

      Well, if you've been working on your own, maybe you could release it as open source?

      So, why does everyone continue to use it? Or better question, why hasn't someone written a better alternative?

      Sounds like you're considering writing one. What's stopping you? :-)

      --
      #naabhaprzrag, #sverubfr-000, #agi-fcbafberq, negvpyr[pynff*=' negvpyr-ary-'] { qvfcynl: abar !vzcbegnag; }
    16. Re:Why still running on BIND? by QuadPro · · Score: 2, Informative

      By default, tinydns does not hand out referrals to questions it is asked about zones it does not control. I believe that this violates the spirt of the RFCs, if not the letter.

      Please indicate where do you think that this breaks the RFCs.

      By default, tinydns does not support the use of TCP at all. This most definitely violates the spirt of the RFCs, as well as the letter (if a DNS query via UDP results in truncation, you're supposed to re-do the query using TCP instead).

      Truncation only happens when the reply doesn't fit in 512 bytes. As the administrator of a DNS server, you're in control of the data you publish. If you want to do stupid and publish data that doesn't fit in 512 bytes, you have the possibility to do so. It's just FUD to say that djbdns doesn't support TCP; the nice thing is that if you don't need TCP service, you don't even have to install it.

      The problem is that if you make a mistake and munge the database and then rsync or rcp that to the backup servers, you're totally hosed.

      This is entirely untrue, and show that you've never even used djbdns. If you make a mistake in your data, you'll get a nice notification of that fact and nothing will stop working, including slave DNS servers. When you correct your mistake, the new data is instantly used and replicated to your slaves. Unlike BIND, which won't load the zone when it has errors in it. This means that BIND will stop publishing data about that zone.

      Without a patch from a third party, tinydns does not listen to more than one IP address.

      Or you could just run multiple instances of tinydns. Which costs almost nothing, since multiple tinydns'es can use the same data.cdb file. And even several tinydns processes running consume much less resources than even 1 BIND.

      Without a third party patch, tinydns does not support standard SRV records

      Entirely untrue. tinydns supports all (even not-yet-defined!) types of records. Unlike BIND, which barfs when an unknown record type is fed to it via a zone transfer.

      reality he is the one that gets to define what he accepts as a "bug", and has repeatedly demonstrated a tendancy to openly refuse

      When a dispute about the bounty (which is for security holes, not bugs in general) occurs, it will be reported on his website. Since there isn't any dispute mentioned, you didn't even try to report one, did you?

      Lots of people are running one or more programs of the djbdns suite, and are really happy with them. If you want to use another program, that's perfectly fine of course. It's not fine when you start talking non-sense about a product that you've never even used.

    17. Re:Why still running on BIND? by Proteus+Child · · Score: 2, Informative
      why hasn't someone written a better alternative?

      Lots of people have:

      DJB DNS

      Custom DNS

      MaraDNS

      Posadis (though I've no experience with it yet)

      The list goes on and on.. hit Freshmeat.net for some possibilties.

      --

      Proteus' Child

      Doko ni datte; hito wa, tsunagette iru.

    18. Re:Why still running on BIND? by gorilla · · Score: 3, Interesting
      Here we have our internal DNS running off some Microsoft based system, with MSSQL as the datastore.

      I've had to write a program which validates that all our hosts are still properly resolving, as every few weeks it drops a bunch of records. The adminstrators of the DNS have no idea why it happens, all they can do is manually re-add the addresses through the GUI system.

    19. Re:Why still running on BIND? by MadAhab · · Score: 2
      SQL is a terrible idea. Really, really bad. For one thing, you add a whole layer of complexity to the code that just isn't needed; support for all the different databases. The cost of maintaining that code takes away from auditing the other parts that can go wrong. For another thing, DNS should be as fast as possible, and that means having the information cached in memory for instant use. SQL adds overhead for no real benefit.

      I've actually tried loading up BIND with hundreds of thousands of domains and records. If you have enough RAM, it doesn't take a mighty machine to answer large amounts of requests. That is not what is broken with it. At present, the strategy is to refresh the information in memory on request by an administrator. Otherwise, don't check, serve requests. This is as fast and efficient as you can get. SQL would break that.

      And it only takes a couple of hours to write perl code that extracts info from a SQL database, dumps it into flat files, and kicks the name server. It's a common naive mistake to think that putting everything into a database is a good idea.

      --
      Expanding a vast wasteland since 1996.
    20. Re:Why still running on BIND? by DeathBunny · · Score: 2

      >I don't know if it needs to be an SQL database, but it needs to be some system that will let you >update the zone files dynamically and instantaneously.

      Like Dynamic Updates? (See RFC2136 - http://www.rfc-editor.org/cgi-bin/rfcdoctype.pl?lo c=RFC&letsgo=2136&type=ftp)

      I'm using dynamic updates with Bind 9.1. Works great.

    21. Re:Why still running on BIND? by deuteron · · Score: 2, Informative
      Huh. That's odd. Try telling NameZero it doesn't work for them. Or citysearch.com. Or ticketmaster.com. Or pobox.com.

      See here. kthx.

    22. Re:Why still running on BIND? by msaavedra · · Score: 2

      You misunderstand DJB's license. I agree that djbdns and qmail put files in some pretty bizarre places. It is a simple matter to put the binaries somewhere else. I put the binaries for qmail and djbdns in /usr/local/djbtools, for instance. You have the source code, and you can modify it however you want. Of course, he's not going to give you that reward if you change the code, file locations, etc. :^)

      The only problem is that if you make modifications, you cannot distribute these changes built-in; they can only be distributed in patch form. DJB's code must be distributed in an unchanged state. Yes, this a PITA (especially for distros), but still less frustrating than running sendmail and BIND.

      By the way, /var isn't just for log files. Any data that changes frequently, such as mail and printer spools, also goes there (Interestingly, qmail has the binaries in /var by default, but not the email itself. Go figure). Unless you really can't spare more disk space, 64MB is living dangerously IMO. If you're not very careful you can easily use that much space for legitimate reasons, and leave your system feeling none too happy as a result.

      --
      "Any fool can make a rule, and any fool will mind it."
      --Henry David Thoreau
  5. register.com's nameservers by po_boy · · Score: 4, Interesting
    from the article:

    Vendors at the conference offered their own security solutions. Register.com Inc. in New York, for example, has created its own propriety DNS software. The company continues to deploy BIND as well as its own software because diversity improves security, said Jordyn Buchanan, who worked on the team that developed the system.

    Is there anyone here knowledgeable about this who can comment on a few things?
    • Can I get the source to that in any way?
    • Does it use a SQL database backend?
    • Any chance of licensing it out even without the source?
    • Does it support dynamic updates?
    • Anything else cool about it?
    • Are you hiring?

    I'd love to see (more closely) another implementation of the DNS system other than the 3 or so commonly found.
    1. Re:register.com's nameservers by davidu · · Score: 3, Interesting

      I can't comment on register.com but at EveryDNS.Net we found bind to be too much of a risk to run for our servers. In the long run, DJBDNS has proven to not only be secure but also far easier to setup, administer as well as write parsers for.
      Just my $.02,
      davidu
      --

      # Hack the planet, it's important.
    2. Re:register.com's nameservers by po_boy · · Score: 3, Interesting

      Would you really look at the source if it was given to you? Would you commit to fixing at least X bugs if they gave you the source?

      I would probably look. I've leafed through the source to BIND to see how they do certain things. I doubt I would commit to fixing X bugs, but if I found any, I would submit patches. I have in the past to other people's work.

      Does it really matter one way or another, or are you just throwing out buzzwords with SQL and backend?
      Any chance of licensing it out even without the source?


      yeah, it would be neat if it would. I've been looking for a good nameserver that holds its zone information in my database. I haven't found a good one for the hooks in BIND 9 yet, and I would be willing to ditch it if I found a descent replacement. I am also curious why they wrote their own, and I can see this being one of the reasons.

      Since it's going to be used on root servers, I hope not.

      I didn't realize they ran it any of the root servers. I just figured they ran it on some of the authoritative servers that they run. Those are the same servers that I update through their web pages rather regularly. Actually, I didn't even realize that register.com ran *any* of the root servers.Which ones do they run?

      No need to comment on the last two.

      Yeah, trolls aren't known for their stamina.

  6. Homogeniety is bad by Anonymous Coward · · Score: 2, Insightful

    Does it strike anyone else as a bad thing that all of the root nameservers, and for that matter almost all important nameservers, run BIND? Ergo, a serious security bug can be used to take out all of the root nameservers.

    We need another DNS server that has the (relative) standard compliance and scalability so that we could have some other server software running on some of the root servers. Unfortunately, all of the alternatives I know of don't scale to that volume of transactions, aren't nearly as proven as BIND, and many of them have standards compliance issues worse than BIND.

    1. Re:Homogeniety is bad by Jeffv323 · · Score: 2, Interesting

      Traditionally, domain hijackings happen when attackers block access to a legitimate DNS server and replace it with their own. This DNS incident was different because this was a data attack rather than a hardware attack. By altering data in key DNS tables users were redirected just as successfully as implementing a rogue DNS server.

      --
      I'm a minister!
    2. Re:Homogeniety is bad by A+Masquerade · · Score: 3, Insightful

      I understand that at least one of the root servers is running an alternative DNS implementation produced as commercial licensed software by Nominum (who also produced and maintain the Bind 9.x implementation under contract to the ISC).

  7. DNS? Ha! by tang · · Score: 5, Funny

    Real men surf the net using ip addresses. (And NOT in base 10)

    1. Re:DNS? Ha! by tang · · Score: 2, Funny

      Hyperlink? That is just taking the easy way out.

    2. Re:DNS? Ha! by Russ+Steffen · · Score: 2, Funny

      Real men don't need no wussy ethernet cards either. A voltmeter and battery is all you need.

    3. Re:DNS? Ha! by Tet · · Score: 2
      Real men surf the net using ip addresses. (And NOT in base 10)


      Of course they use base 10, just without this wimpy business of splitting addresses into four octets. Real men have no need for such things: http://3277650428

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
    4. Re:DNS? Ha! by dillon_rinker · · Score: 2

      Real men use their tongue to gauge voltages...

    5. Re:DNS? Ha! by Amazing+Quantum+Man · · Score: 2

      No, no, no! It should be:

      DNS? We don't need no steenkin' DNS!

      --
      Fascism starts when the efficiency of the government becomes more important than the rights of the people.
  8. djbdns and opennic by SuperDuG · · Score: 5, Interesting
    djbdns states "I offer $500 to the first person to publicly report a verifiable security hole in the latest version of djbdns." ... and no one has claimed the $500 yet.

    Also OpenNIC is an ICANN indepent root system ... why not just use them instead of ICANN?

    --
    Ignore the "p2p is theft" trolls, they're just uninformed
    1. Re:djbdns and opennic by DaSyonic · · Score: 2

      Since you enjoy reading him state he'll give you cash, read the limits to your rights with djbdns/qmail.

      --

      Linux: Because a PC is a terrible thing to waste.
      James Brents
    2. Re:djbdns and opennic by bbk · · Score: 2

      Not that I'm up on the subject, but DJB's issue seems to be with people distributing his code in a modified form that's broken in some way. He's putting money on the line that his software isn't broken, and he values the reputation. Therefore, some distributor hacking and patching it all to heck (like nearly all linux and bsd distributions do) is simply risking the integrity of the software he made.

      BBK

    3. Re:djbdns and opennic by mutende · · Score: 3, Interesting

      And then there's the Open Root Server Confederation who has instructions for setting up your own root zone using DJBDNS or BIND. Highly commendable! And you get a whole slew of new TLDs in the process...

      --
      Unselfish actions pay back better
  9. DDOS network by metlin · · Score: 2, Informative

    I know this is slightly offtopic, but this was there on the bugtraq mailing list, thought ppl here may find it interesting:

    To: bugtraq@securityfocus.com
    Subject: Fwd: Possible DDOS network being built through ssh1 crc compromised hosts

    I am making this notification to assist in determining whether other
    folks have been affected by this attack.

    An associate's home NAT gateway linux box was hacked by what I am
    guessing was the ssh1 crc bug (ssh1 was the only exposed service).
    This
    machine looks to have been compromised on Nov 2nd at 1:15pm PST, I
    won't know for certain until I obtain his hard disk later today, and
    provided that /var logging is recoverable. This machine was running
    redhat 6.2, reasonably patched except for the fact that he was still
    running ssh1.

    It appears that someone may be building up a network of (potentially)
    DDOS hosts. I have done some quick research and found no matches for
    the signatures I have been able to identify so far.

    Using the Chkrootkit (www.chkrootkit.org) utilities did not identify
    a known trojan pack, so if this isn't identified in the wild, I'm
    already referring to it as the LIMPninja.

    It also appears that this particular host was used as a central host
    for other LIMPninja zombies. Also, haven't been able to determine
    what the command structure it is that the remote bots act upon.

    The following is by no means complete, even after a full examination
    of the drive has been completed, as there was never any file
    integrity base line completed(a shame).

    The attack appears to be scripted as all changes happened within a
    minute, except for the IRC server which was not installed until 2
    days later (and manually). When I found this particular irc net
    there were over 120 hosts all communicating via IRC. This host was
    found to be running an unrealircd daemon from /usr/bin/bin/u/src/ircd
    listening at port 6669.

    All other compromised hosts were joining this irc network
    (ircd.hola.mx holad) on channel #kujikiri with a channel key of
    'ninehandscutting'. All bots joined as the nick ninjaXXXX where XXXX
    is some RANDOM? selection of 4 upper case letters.

    Several ports were listening
    3879 term (this port had an ipchains rule blocking all external
    traffic - placed by the attacker's script)
    6669 ircd
    9706 term
    42121 inetd spawned in.telnetd

    Logs were wiped, and couldn't find a wiping utility so I'm thinking a
    simple rm or unlink was used, so I'm hoping to find more details when
    the disk is in hand. File modifications that were made follow:(not
    necessarily a complete analysis yet)

    clearly Trojaned binaries (probably others)
    /bin/ps
    /bin/netstat
    /bin/ls (this ls binary was hiding several things, directory
    structures named /u/, mysqld klogd ...)
    /usr/local/bin/sshd1 (the file was just several hundred bytes larger
    than previously)

    Binary file/directory additions
    /usr/bin/bin/u/ An entire directory structure containing the ircd
    server source
    /usr/bin/share/mysqld (looks like some type of irc spoofing proxy)
    /bin/klogd (almost looks like an ftp proxy)
    /bin/term (A bindshell of some sort)
    /usr/sbin/init.d was added and is exactly the same file size as term

    System configuration files that were modified/added
    /etc/hosts.allow made specific allowances for the .dk domain, as well
    as .cais.net .cais.com
    /etc/passwd two new accounts were added with the same password (des
    hashes -NOT MD5)
    /etc/shadow The added accounts were lpd 1212:1212, and admin 0:0
    /etc/inetd.conf 200+ lines of whitespace added, and then the single
    telnet entry
    /etc/services was modified for telnet to start on port 42121
    /etc/resolv.conf a new nameserver was added...
    /etc/psdevtab haven't examined closely yet
    /etc/rc.sysinit a line was added to start the /usr/sbin/init.d
    trojan/backdoor
    /etc/rc.local after much whitespace was added.... following lines at
    the bottom of the rc.local file

    killall -9 rpc.statd
    killall -9 gdm
    killall -9 gpm
    killall -9 lpd
    term
    klogd
    "/usr/bin/share/mysqld"
    /sbin/ipchains -I input -p tcp -d 0/0 3879 -j DENY

    -----
    This should assist other ppl who have had similar attacks...

    1. Re:DDOS network by fanatic · · Score: 2

      Actually, the packet filters on my linux box have reported several instances of an apparent DNS DDOS - many packets addressed to port 53 from several different IP addresses over a relatively short period of time. The first instance I have of this is Oct 15, but that's all the farther back my logs go. Seems a little odd, though, since I don't run any DNS and haven't for months.

      --
      "that's not encryption - it's a new perl script that I'm working on..." - from some Matrix parody
  10. General Problems by OzJimbob · · Score: 2, Insightful

    There seem to be some pretty big problems in how the whole DNS system works in the first place; for a system with a fairly high degree of built-in redundancy, I've often found websites where ONE of their DNS servers has gone down, and I can't access the site. The other DNS somehow isn't queried, other caching DNS servers along the chain aren't queried, and it fails. The IP address I'm looking for is, in theory, sitting in a thousand caches all over the net, but it's not fetched? The loss of Microsoft's DNS a few months back is a good (although not particularly worrying) example.

    Then again, maybe I don't notice the times it DOES work like it's supposed to.

    --
    -"I still believe in revolution; I just don't capitalize it anymore." - srini!
    1. Re:General Problems by mpe · · Score: 2

      There is a difference between the places where you can get it (which are authoritive for the domain)

      Also many people (including Microsoft) simply know that they should have more than one authoritive server. But they don't understand the issues of redundancy, so they site them all together. In many cases you will still find places with every nameserver on the same IP network.

  11. A killer app for MULTICAST? by George+Walker+Bush · · Score: 2, Interesting

    It's not difficult to get a nameserver backup and running, and the volume of data maintained by the root server is nothing in quantity compared to, for instance, .com.

    The main problem is that all the second-level servers have fixed pointers (usually hard-coded, I believe, in text files) to the root servers.

    Assuming some form of robust authentication could be worked out, this could be a killer app for IP multicast, where, if a root server goes down, once the replacement comes back up, the IP of that server gets instantly disseminated to all secondary level (or maybe even even futher down) nameservers around the world rather than manual notification (or however it works now), so that downtime would be minimal.

    Sound viable?

    --
    George W. Bush
    President, United States of America
    1. Re:A killer app for MULTICAST? by Erik+Hensema · · Score: 2

      No, because that isn't how it works.

      First level and most second level nameservers don't do recursive queries: you can't ask them about anything not in their zones. You can't ask a second level DNS for the IP of a first level DNS (and it doesn't need to know that).

      Almost all DNS servers that do support recursive queries (e.g. the one your ISP lets you use) have a database with the IPs of the rootservers. Most DNS servers people run at their homes have that database (I have).

      You'd be multicasting those IPs to a whole lot more machines than just the second level servers, which don't need them anyway.

      This doesn't mean it won't work: most routers on the net already are connected to a multicast net. It could work that way for DNS servers too.

      --

      This is your sig. There are thousands more, but this one is yours.

  12. Re:Target for terrorism by tang · · Score: 2, Informative

    Yup...13
    The Locations are:
    Moffer Field CA
    Woodside CA
    Marina Del Rey CA (2)
    Herdon VA (3)
    College Park MD
    Vienna VA
    Aberdeen MD
    London
    Stockholm
    Keio

  13. No problem! by DahGhostfacedFiddlah · · Score: 2, Funny

    As long as no one opens their mouth about possible security leaks, we'll be safe.

  14. DNS in inherently flawed... by Jeremy+Lee · · Score: 4, Insightful

    Don't get me wrong. It's a great system, it's worked for a very long time, it does it's basic job admirably. My single main issues with it are it's centralization, and increasing politicization.

    I've given this a little thought over the years. There's a few fundamental issues with the centralized DNS system.

    I've tried kicking around a few replacements ideas, like a peer-to-peer exchange system carrying certificates that act a little like resource search records.

    The FreeNet project actually gives a good model for how to distribute and search for these 'domain certificates'.

    I'd like to see a system that you essentially 'anonymously' submit namespace entries to. Conflicts are resolved based on context. If a dozen people want "money.domain", fine. If you try to browse to it without any context, you have to choose which one you want based on other information in the certificates (full name, location, nickname etc) and once you've chosen, that context sticks. URL's would need to be extended to also carry this context, which probably need to be a cryptographic signature to prevent abuse.

    It constantly amazes me that people are willing to pay $50 to 'own' a record in a database. The domain land grab was just stupid... in virtual space, you can always just make more land. As .info proves.

    DNS will obviously persist for decades, (simply because of the financial and general mindspace investment in 'dots') but hopefully as only one of a plethora of address resolution systems. Name resolution needs to be a pool, not a tree.

    "For as long as the DNS system exists, the Internet will never be free" - Morpheus, while very Drunk

    --
    Jeremy Lee | Orinoco
    1. Re:DNS in inherently flawed... by Elwood+P+Dowd · · Score: 3, Insightful

      I'm sorry, I want DNS to work instantly. FreeNet gives a great model for how to solve this problem if it were ok for DNS to take between 3 seconds and 3 minutes to resolve. 3 seconds is too long. Centralization is necesary. Redundant is good, but it should still be centralized. If anyone can tell me how a decentralized DNS system would allow fast lookups of uncommon names, then I'll change my mind.

      --

      There are no trails. There are no trees out here.
    2. Re:DNS in inherently flawed... by Jeremy+Lee · · Score: 2, Interesting

      DNS doesn't work instantly. Never has, never will. And with the profusion of names, it will just get slower. It's only the local caching which seems to make DNS fast. Throwing away that caching would just be stupid, so the only difference between any two schemes comes down to the time for "first discovery"

      I suggested the FreeNet system as a good conceptual base because of one P2P property which would be beneficial... the more a file is used, the wider it's replicated.

      DNS has a big advantage over other P2P systems that the 'files' it's trading are very small. As people have been mentioning, it's possible to download the whole DNS tree to a beefy laptop, uncompressed.

      Yes, if it's a really uncommon site that no-one has ever been to before, then the initial discovery might take whole minutes. Woo.

      DNS is slowly being broken by commercial interests. Eveyone knows it. Anything this vital to the internet is worth big money, and if it's centralized, that invariably leads to a power elite, which eventually takes the path of self-interest...

      To make a highly emotional analogy, the current DNS system is like an RIAA or MPAA in it's infancy. We now have the chance to turn off from that branch of time, that terrible future history, where it's illegal to host nonauthoritive records and Seattle has been nuked by the nameless. :^)

      --
      Jeremy Lee | Orinoco
    3. Re:DNS in inherently flawed... by Webmonger · · Score: 3, Insightful

      .Info proves nothing. Our company just registered some .biz and .info domains, and I've advised against using them for anything important.

      .info and .biz basically turn into blackmail, of the form: "What if someone typed in your domain name, and they didn't get your site? It could happen to you, if they type in acme.biz and someone else has registered it. So pay us money and it won't happen." The domains themselves are fairly worthless, because you get funny looks if you use a .info or .biz tld.

      Web addresses should be memorable names. "yahoo" is easier to remember than "www.yahoo.org". And with www.*.com names, all people do remember is is "yahoo". The rest quickly becomes standard.

      For humans, "yahoo", "cnet" and "amazon" are all top-level domains. .info just makes things harder to remember. And a lot of the .info names are the same as their .com equivalents.

      Instead of creating new tlds that are mostly duplicates of existing tlds, we should be restricting domain ownership, so no legal person can own more than one domain. That should prevent people and companies from spamming DNS, so that good names remain available.

    4. Re:DNS in inherently flawed... by Cutriss · · Score: 2

      This is actually an idea I've been tossing around in my head for some time and might reserve to work on for a senior project or something. Instead of using P2P to distribute name changes or something, why don't we just have user-specific locally-cached DNS tables? You can continue to use DNS for new systems and places you haven't been to, but basically, it works by indexing metadata searches and allows you to assign your own names to things. For instance, let's say I already knew Slashdot's address. I can go to http://slashdot.org, and then assign it the name "Troll Land". From now on, I can just type in "Troll Land" and it'll open up Slashdot instead. Any URLs that direct to Slashdot.org will have Troll Land replaced on the fly (On the client end - Server-side code might be a bit difficult to work about, but then they're pushing the content to you anyway, so what's it to the client?).

      If you for some reason overwrite an actual DNS entry, by calling eBay www.yahoo.com, then the difference is made by just using the http:// header, or, in the case of this app, dns://www.yahoo.com. This way, users can organize the Internet the way it works for them. If they want to send URLs to someone, it's handled as a separate sort of context, and basically the inserted URL gets the actual DNS name reversed into it, so if I send you an AIM message linking you to Troll Land, it shows up as http://slashdot.org.

      --
      "Mod, mod, mod...and another troll bites the dust."
    5. Re:DNS in inherently flawed... by mcmanus · · Score: 2, Informative
      DNS doesn't work instantly. Never has, never will. And with the profusion of names, it will just get slower. It's only the local caching which seems to make DNS fast.
      We thought that. But it might not to be as true as you think.

      http://nms.lcs.mit.edu/papers/dns-imw2001.html

      -Patrick

    6. Re:DNS in inherently flawed... by scruffy · · Score: 2
      I think you need a global registration system, something analogous to the yellow pages, plus a localized system of shortcuts, something analogous to a roledex.

      Rather than a hierarchical naming system where you end up with names like joes-bakery.com, a particular Joe's Bakery would register with its address, company name, products, services, trademarks, etc. The first time you want to find Joe's Bakery, you need to provide enough information to identify the business. After that, the IP address can be locally cached with the registry information and "joes" could be a shortcut if it is a unique match.

      If you want the same shortcuts for a group of people, you should be able to have a secondary cache on a common server.

      There does not need to be a single global registry. There could be different registries with different performance characteristics and different accuracy of information. This way anybody can register anybody, and the market and personal preferences can decide rather than ICANN selling monopolies.

    7. Re:DNS in inherently flawed... by greenrd · · Score: 2

      Anything with conflicting name resolutions fails the "hassle-free email" test. I just want to send an email to an existing email address, I do NOT want to be hassled with trying to figure out some "context". Just think of all the existing code this would break!

    8. Re:DNS in inherently flawed... by Elwood+P+Dowd · · Score: 2
      I'm *trying* to figure out what that paper means, and I think I'm getting it...

      The implication is that either the root servers account for all of the speed in the DNS system, and the caching doesn't make too much of a difference, or the implication is that a freenet/gnutella/whatever style distributed system would work just fine. I'm having trouble with the last sentence of the abstract:
      These results suggest that the performance of DNS is not as dependent on aggressive caching as is commonly believed, and that the widespread use of dynamic, low-TTL A-record bindings should not degrade DNS performance.
      What's a "dynamic, low-TTL A-record binding"?
      --

      There are no trails. There are no trees out here.
    9. Re:DNS in inherently flawed... by Elwood+P+Dowd · · Score: 2

      This would remove some of the power of the root servers, but you'd still need an authoritative answer from DNS when you first send someone a link to Troll Land.

      Interesting idea though.

      --

      There are no trails. There are no trees out here.
    10. Re:DNS in inherently flawed... by HongPong · · Score: 2
      Instead of creating new tlds that are mostly duplicates of existing tlds, we should be restricting domain ownership, so no legal person can own more than one domain. That should prevent people and companies from spamming DNS, so that good names remain available.

      I think not. A friend of mine, age 18, runs a e-mail based contest site (20,000+ subscribers), his dad's law office site, and a general web production company. To demand that his contest or his web production sites be relegated to a lengthy URL is plain foolish, and no one will ever agree to it. Ever. Should Microsoft combine msn.com, microsoft.com and hotmail.com into one domain? VA Linux to combine Slashdot, valinux.com, sourceforge, newsforge and AnimeFu? (or whatever, I forget who owns what) Of course not! That would be a hassle to users and admin alike. A just plain silly notion, unrealistic and noxious to everyone involved with the Internet.

    11. Re:DNS in inherently flawed... by Webmonger · · Score: 2

      Yeah, I guess I should have been more clear that a coporation is a legal person.

  15. Access-lists and firewalls by Calle+Ballz · · Score: 2

    Oh how much the world would be a better place if these technologies were implemented!

  16. Starting to back it up. by miguel · · Score: 5, Funny

    This time I will be prepared.

    I am downloading as we speak all the DNS records in the planet into my /etc/hosts file so I can be immune to the attacks

    I encourage others to do the same.

  17. Re:routing != DNS by Zeinfeld · · Score: 3, Informative
    The bottom line is this. Don't be too worried about DNS going down. Unlike www.microsoft.com or www.whitehouse.gov, there is little incentive for a malicous script kiddie to attack DNS.

    Untrue, DNS is like www.whitehouse.gov under permanent attack. The article is based on a number of assumptions that are not true of all the root servers.

    Steve Bellovin is somewhat inaccurate in his statement about BIND. While it is true that most of the Root servers run code that originated in BIND most of the heavy lifting is done by a few servers that sit on the fattest pipes that run a stripped code base. The code paths of that code base have at this point been as near to completely tested as anything gets.

    The real problem is that most of the root servers are still maintained by the ad-hoc volunteer network of the 1980s Internet. As a result many of the 'root servers' are hosted on drinking straws rather than pipes.

    There are 13 servers however and all have to go down to take out the Internet. Even then the effect would take some time to be felt. The root servers only manage the top level domains. These tend not to change very often and so the TTL on the root records can be made very long without causing operational difficulty.

    A much more serious problem would be if someone brought up a fake root server. DNS does not provide authentication.

    Rather than obsess about the code base problem ICANN should be either deploying BIND or telling the IETF the characteristics of the security protocol it really needs.

    --
    Looking for an Information Security student project suggestion?
    Try http://dotcrimeManifesto.com/
  18. Reminds me of this "classic" prose... by ekrout · · Score: 2, Interesting

    ICANN is only relavent as long as everybody uses their DNS. I don't understand why somebody with some moral authority in the IT world doesn't just set up an alternative. I know there are in fact several alternatives, but these are private companies that nobody has heard about.
    So who could do it? The IETF and the ACM come to mind. There are probably a few others.
    Note that you don't have to switch all at once, you can still fall back to legacy ICANN domains if the new domain system doesn't find a match.
    My "ultimate" domain name scheme would allow anything as a .tld (although you could set up a few with restricted access, perhaps '.trademark' or something like that). That way, for example, IBM could use "buy.ibm", while somebody who doesn't like IBM could use "dontbuy.ibm". There would be no way to purchase all the domains under a .tld.

    --

    If you celebrate Xmas, befriend me (538
  19. It has to be said by niekze · · Score: 2, Funny

    ICANN would like to replace the root DNS systems with secured servers.

    Ok, how long before someone at ICANN suggests that the servers should maintain domain to ip mappings in static files. Something like a file called hosts and that could be stored in /etc. Then, a patent would be granted for "a static internet address to domain name mapping system" and "a static domain name to internet address system"

    Sorry, I'm just in a sarcastic mood given the fact that they actually use bind. Does anyone find that a little scary?

    I know it's been brought up here on /. before, but there are many people who run their own DNS roots, underground dns if you will. Anyone have any links?

    --


    Chaos, Mayhem, and Destruction: Not
  20. DJBDNS doesn't obey many RFC's, not OSS either by dido · · Score: 5, Insightful

    You can't do zone transfers using djbdns for one thing. DJB thinks that zone transfers are evil, and has his own method for doing the task (rsync over ssh I believe), but whether they're evil or not is beside the point. Like it or not, zone transfers are a part of the core DNS protocols and any proper successor to BIND must implement them all. Starting a standards war with the IETF is not something I want to have along with a name server I deploy. Let Bernstein write an RFC for publication describing his idiosyncratic methods and get the IETF to ratify it as a core standard if he wants, if he truly thinks his way is the better way. The way he operates reminds me more of the way Microsoft handles standards than anything else.

    Besides, djbdns is also deficient in a far more important way (for me and to a lot of people here on Slashdot anyhow, I hope): it's actually proprietary software with a limited license for gratis use. It's not Free Software or even Open Source, not by any reasonable definition of the term. There is no license along with his programs, and absent a license you have NO RIGHT to share, study, or change Bernstein's code!

    --
    Qu'on me donne six lignes écrites de la main du plus honnête homme, j'y trouverai de quoi le faire pendre.
    1. Re:DJBDNS doesn't obey many RFC's, not OSS either by ansible · · Score: 2

      You can't do zone transfers using djbdns for one thing. DJB thinks that zone transfers are evil, and has his own method for doing the task (rsync over ssh I believe)...

      The point he's trying to make there is that there is already an easy, secure way to transfer data over the Internet. Rather than inventing a new protocol (which may have bugs), why not just use existing tools that are probably already on your system. (I use rsync and ssh all the time for other tasks.)

      The "DJB Way" is to make small modular programs, which is very much in the original Unix tradition. The power of this comes in the ability to quickly create new applications out of exisiting components.

    2. Re:DJBDNS doesn't obey many RFC's, not OSS either by kindbud · · Score: 2

      Not a fair criticism, since the standard was written to BIND's implementation, not the other way around. BIND's zone file format is in the RFCs, as part of the standard. Any DNS server that uses a SQL backend is non-compliant on this count alone.

      But even BIND deviates from the standard written to it's implementation in many places. See http://cr.yp.to/djbdns/notes.html for some examples.

      There is no license along with his programs, and absent a license you have NO RIGHT to share, study, or change Bernstein's code!

      You didn't supply a license with your post, so may I presume your attorneys will be contacting me for quoting part of your silly diatribe?

      --
      Edith Keeler Must Die
  21. Re:DNS Solution by Billly+Gates · · Score: 2

    Perhaps to top if off we could have all the corresponding text names to ip addresses on a Microsoft SQL Server with IIS.

  22. axfrdns, part of djbdns does zone transfers by bbk · · Score: 3, Informative

    check here:
    http://cr.yp.to/djbdns/axfrdns.html

    this supports outgoing transfers. Incoming are a possible security risk (NO authentication happens in most cases, other than IP address checking, IIRC), making this a prudent decision, IETF or no.

    BBK

  23. What? The root NSes run BIND? by dido · · Score: 2

    That's news to me. I always thought Network Solutions or whoever runs the other root name servers had their own proprietary and more robust and scalable DNS software.

    --
    Qu'on me donne six lignes écrites de la main du plus honnête homme, j'y trouverai de quoi le faire pendre.
  24. Search Engine DNS? by Pinball+Wizard · · Score: 2, Interesting
    Just an idea I had been mulling over. If the major search engines recorded the static IP addresses of the sites they indexed, then all we would need is the static IP addresses of the search engines loaded in our browser or hosts file.


    Not a complete solution, but it would be enough to keep the net going if DNS went down.

    --

    No, Thursday's out. How about never - is never good for you?

  25. ICANN does something useful by kingdon · · Score: 3, Interesting

    Is it my imagination or is ICANN actually working on getting their job done rather than horribly complex politics (more complex than needed to solve the problem), or trademark/legal craziness? There's some background at the page of the ICANN DNS Root committee.

    Now, I'm pretty skeptical that a closed source DNS server from Register.com is going to be a big part of the solution, but even that I don't really mind so much. Having a few alternatives is good if for no other reason than helping to keep BIND from stagnating.

    The article didn't talk much about DNSsec (or this older page) which has got to be part of the solution (to try to give the 10 second summary, when a client makes a DNS query and gets a response, it is kind of tricky to ensure that the response is really from the correct server, and DNSsec uses crypto to solve this and other problems).

  26. 9 days of DNS hell by Jeffv323 · · Score: 2, Interesting

    This Is something I was just looking at... very interesting, shows what techniques have been used to hijack domains.

    --
    I'm a minister!
  27. You know what to do... by dimator · · Score: 2


    $ ping www.slashdot.org
    PING slashdot.org (64.28.67.150): 56 data bytes


    That's 64.28.67.150!! Start memorizing now!!!

    --
    python -c "x='python -c %sx=%s; print x%%(chr(34),repr(x),chr(34))%s'; print x%(chr(34),repr(x),chr(34))"
  28. Want to solve all the BIND security problems??? by evilviper · · Score: 5, Funny

    The answer is simple, just ask the author of IPF how he did it...

    Change the BIND license to make it much more restrictive, then sit back as the OpenBSD developers build their own simpler, better, more stable, and much more secure, replacement.

    SSH.
    IPF.
    BIND?

    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  29. Obviously just another chokehold by MOMOCROME · · Score: 2, Interesting

    This is clearly just a ploy to establish iron-fisted control over the internet. What is more likely to be for the best in the long run is an extensible, completely open holographic DNS schema distributed across each client. That the problem of DNS and the fecundity of PtoP have not been mated seems to me an absurd thing.

    This is the difference between hackers and bureaucrats in a nutshell. Centralized control over resiliant sophistication. God damn each of those bimbo sellout engineers for their short sightedness. If I had one ounce of say, one chance at effecting or affecting the logical and liberty enhancing solution I mention above, I could consider my life more or less comlete. (And I'm a card carrying member of ICANN at-large, dammit, and so much closer to such a goal than the bulk of you all!!) This is surely going to be the doom of the net as we know it.

    How long before the governing body (ICANN) of such a rigid and authoritarian system becomes a mere appendage of one of the big players (IBM, AOL, MSFT)? That ICANN is already rotten with corruption is apparent to almost everyone, but what I am asking is how long before even the lip service is discarded? I am aghast at the thought of a monopoly on basic existance that such moves as this do threaten.

    This is a call to arms. Anyone involve with open DNS or PtP should reply to this thread or email me at: this adress to discuss superceding such insidious and freedom wrecking evil as presented in the parent story.

    Thankyou.

  30. No need for that... by ralmeida · · Score: 2

    64.28.67.150 is the only IP you need!

    --
    This space left intentionally blank.
  31. Re:EveryDNS.Net looks great - mod parent up! by davidu · · Score: 2

    haha, yeah right, everyone's a cheap bastard. ;-)

    Actually, David Weekly and the California Community Colocation Project is hosting one of my new servers at their space in HurricaneElectric's colo. So at the moment I'm good but it's always nice to get a sponsor especially at the rate I'm growing.

    thanks for caring,
    -davidu

    --

    # Hack the planet, it's important.
  32. Security, reliability and the like by Jordy · · Score: 4, Interesting

    Reading this article, I have to start wondering if maybe I'm misunderstanding the problem.

    The actual root servers are only queried for the top-level domains and while they have rather massive databases, the types of queries they get is limited.

    Now, I'm going to assume that given all the money collected for domains, there somewhere exists a nice pot of money available for running root DNS servers. If there isn't then something is seriously wrong with the administration of DNS.

    Segmentation of the actual root servers from the world by utilizing a front-end dns cache that would rewrite the actual DNS queries would solve a lot of problems.

    First, rewriting queries would allow an amazing amount of sanity checking to be done on the query itself and should prevent exploiting the back-end root servers directly.

    Second, as front-end dns caches can be extremely simple and require almost no configuration, the OS installation can be absolutely minimal excluding even shells. You could go as far as to use an OS that allowed you to revoke system privledges such as certain syscalls (fork, exec, open, etc aren't all that necessary once everything is running) and even make the caching DNS server run as init (though you must have something to bring up networking interfaces.)

    Physical segmentation is obviously important as well so a private backbone strung between all core root servers and a seperate interface on each front end cache to access them would help quite a bit.

    Of course then comes the issue of DoS attacks which again should be rather easy to solve considering what we are talking about. Just buy a lot of front-end cache systems. You would think given how important root servers are and how much money domain revenues generate, buying a thousand or even ten thousand machines and sticking them in every major network access point wouldn't be all that big of a deal.

    Now you still have to deal with the fact that most DNS servers still have a static list of root server IPs. Thankfully, the simple DNS queries that hit root servers can be done with a single UDP packet request and response (until you have to work up the hierarchy) making them prime targets for one of the many clustering solutions out there from simple IP sharing virtual servers to routing protocol tricks.

    Of course, I may be oversimplifying the problem.

    --
    The world is neither black nor white nor good nor evil, only many shades of CowboyNeal.
    1. Re:Security, reliability and the like by flipper28 · · Score: 2, Insightful

      Your comment was worth reading and is better than the others earlier in the thread (djbdns is trying to make cash on people's misunderstanding - and especially goes against the "open source" thing)

      I'm not sure if most people posting to this and other articles understands why dns is the way it is.

      The whole businsess about the "security" flaws are two fold:
      1. people don't patch their servers because they don't stay on top of things.
      2. most dns servers are not locked down properly (especially those of you using at&t's, worldcom's and other large telco's dns') against zone transfers which allow hackers to find out what you've got.

      DNS is a distributed database with a small lookup latency - this is very different than oracle, ldap and other structures. DNS is redundant and is designed to have broken branches (goes back to America's cold war days - even though bind is not that old!). The network, the data, and redundancy IS segment - have you every noticed that the root servers never came down - even for a massive virus - most dns outages come from your local ISP's caching dns, which could be running and old version of bind (single threaded mess).

    2. Re:Security, reliability and the like by Bronster · · Score: 2

      djbdns is trying to make cash on people's misunderstanding - and especially goes against the "open source" thing

      make cash? It's a free as in beer product, with elements of free speach (you may read the source) - you're only not free to distributed pre-built binaries of altered versions. It has worked quite successfully to maintain a canonical version of the software that _just_works_[tm], without the mess of different file locations.

      On the other hand, I really object to /var - it was chosen as the location most likely to work on all the current vendors. Sure. My problem is that a good security move is to mark /var NOEXEC. This doesn't work so well with binaries being in there. So /usr shouldn't contain non-cross platform binaries? /usr/bin/run-djbdns could be a shell script that works out the OS version and launches the apropriate binary from /usr/share/djbdns/$OSVERSION/djbdns-server, or something. </rant>

      1. people don't patch their servers because they don't stay on top of things.

      2. most dns servers are not locked down properly (especially those of you using at&t's, worldcom's and other large telco's dns') against zone transfers which allow hackers to find out what you've got.

      3. some software is designed in a more secure manner than other software, and hence is less likely to be vulnerable to specific attacks (think buffer overflows in BIND's case).

      4. more complex software is more likely to have errors. I don't think running DNS on a Windows 95 server is safe, and I don't think running BIND is safe either.

      I wish one of the other more BIND compatible alternatives was completed, but I'm seriously evaluating djbdns to replace BIND everywhere I use it (at the moment I only have on a test server), because I really don't think BIND has demonstrated a commitment to code quality.

  33. Don't rely on the security of DNS by Florian+Weimer · · Score: 2

    Common implementations of DNS and even the protocol itself have quite a number of flaws which make DNS spoofing rather easy. DNS spoofing is targeted at the clients, and the root servers have nothing to do with it, so you can't solve this problem at the root servers. DNSSEC won't solve it completely either because no one expects clients to move to DNSSEC anytime soon (you don't install full resolvers on clients, either).

    In additions, occasionally, DNS database entries are wrong (although the servers are operating correctly), due to maintenance errors or social engineering attacks. Security on the root servers or even DNSSEC does not address this problem at all.

    So the best solution is not to base any authentication on DNS names at all. (Then there's hardly any need for DNSSEC either.) Of course, quite a few Internet users rely heavily on the non-existent DNS security. They fetch mail using unencrypted POP3, use HTTP-based mail solutions, and so on, and if someone is able to redirect their connections as a consequence of DNS spoofing, he can obtain their passwords pretty easily. But reasonable secure solutions (e.g. TLS and server certificates) already exist.

  34. /etc/hosts!!! by chrysalis · · Score: 4, Funny

    100 Gb hard disks are cheap nowadays, and almost all OS support > 2Gb files. So securing the DNS from the roots up is simple : have a local /etc/hosts file with all existing hosts.
    Then, subscribe to a mailing list that sends daily changes, so that you can keep your /etc/hosts file up to date.
    Ehm... yeah. You first have to secure mail to do this.

    --
    {{.sig}}
    1. Re:/etc/hosts!!! by b1t+r0t · · Score: 2
      have a local /etc/hosts file with all existing hosts.

      Well, it worked for FidoNet. The FidoNet nodelist was esentially a huge /etc/hosts file with compressed diffs sent out once a week. Fortunately FidoNet started to shrink (due to the rise of the TCP/IP internet) just as the nodelist was starting to get really unmanageable.

      --

      --
      "Open source is good." - Steve Jobs
      "Open source is evil." - Microsoft
    2. Re:/etc/hosts!!! by Tet · · Score: 2
      have a local /etc/hosts file with all existing hosts


      You may joke, but on a small scale, it works. I have all of our production servers set up to use local hosts files. They don't need to know about anything outside of our production network, which is small enough and static enough that we simply don't need DNS, so we don't use it. There is no DNS traffic on our production network, and we're not vulnerable to DNS security flaws. On the rare occasions when we need to make changes, a simple script copies the new hosts file to each server with scp.

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
    3. Re:/etc/hosts!!! by sharkey · · Score: 3, Funny

      You first have to secure mail to do this.

      Actually, using secure mail would get tiresome, don't you think? What is needed is a mail user agent that will simply take the incoming mail, run it as root, and modify/add whatever files neccesary without admin or user intervention. Now THAT would be a time-saver, huh?

      --

      --
      "Outlook not so good." That magic 8-ball knows everything! I'll ask about Exchange Server next.
  35. pathetic article by bluebomber · · Score: 2

    Poorly edited, poorly written. What was his conclusion anyway? Maybe I'm looking for too many technical details, but ending with "diversity improves security" implies that the solution is simply to replace *some* BIND servers with other servers. Yeah, that should work. Duh.

    He went on to argue that "most security holes are due to buggy software. All the cryptography in the world is not going to change the buggy software problem."

    In my experience, most security holes are caused by careless or ignorant users. Even if you take all the bugs out of all the software, there are still going to be security holes. Its like the locked doors at work: secure entrances are pointless if you hold the door open for the guy behind you (and you don't know the guy behind you).

  36. djbdns isn't really the answer by mrsbrisby · · Score: 2, Interesting

    it's quite funny actually. DJB has gained so much by creating qmail that when he released djbdns, users blindly followed into it expecting it to be void of security holes.

    the biggest problems with DNS on the internet have NOTHING to do with the software used. the protocol itself is quite insecure- and what's worse is that this isn't news!

    one thing that certainly needs to change is this silly concept of recursive-resolvers; they change the responses, and thus it's next to impossible to determine which is the "Real" resolver.

    thanks to sequence prediction, and because DNS servers/clients don't have any "other" protection, it's quite trivial to smash or alter someone's dns tables (during a zone transfer), or redirect users someplace else (when doing recursion).

    what we need is a cryptographic method of "signing" requests. root nameservers should maintain keys in addition to NS rrs. And what bind calls "root hints" should contain the keys of the root nameservers. this way, we can digitally sign responses so that their authenticity can be verified. moreover, if packet-space is limited (and even though a "most" queries should have a hundread or three bytes free) we could always just store a hash of the signature. but that's getting too far into implimentation.

    the basic droll is that we need something BETTER than dns... not just new software, but a new design...

    and plus, by implimenting crypto into the name services, we'll be able to finally keep the french off the internet.

    (for those of you lacking any kind of crypto-political background: the french aren't allowed ANY cryptography.... and you thought US export control was bad!)

  37. Re:routing != DNS by Mike+Schiraldi · · Score: 2

    The real problem is that most of the root servers are still maintained by the ad-hoc volunteer network of the 1980s Internet. As a result many of the 'root servers' are hosted on drinking straws rather than pipes.

    Bullshit. See RFC 2870.

    DNS does not provide authentication. [...] ICANN should be [...] telling the IETF the characteristics of the security protocol it really needs.

    They are. It's called DNSSEC, and there's tremendous work and buzz going on about it throughout the IETF.

  38. Re:routing != DNS by gorilla · · Score: 2

    Readoing RFC 2870 doesn't tell you anything really. It's a best practices document, and as such it's full of 'SHOULD' and 'MUST' and 'SHOULD NOT'. However, it doesn't tell you anything about what's really happening.

  39. I'm with you on that by Greyfox · · Score: 2
    I've been kicking around the idea for a decentralized system based on cryptographic keys and web-of-trust. If a name doesn't resolve in explicitly or implictly trusted records, it would fall back to bind and finally to untrusted records.

    The biggest hurtle to implementing such a system is the learning curve for the cryptographic APIs for the languages I'd want to use. There is not a wealth of information on such APIs to begin with. The next biggest hurtle, of course, being that if it were developed inside the US, it'd probably be considered an act of terrorism to ship it outside the US.

    --

    I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

  40. djbdns has NO license by xjosh · · Score: 2, Informative

    djbdns (and qmail, etc) are NOT under a restrictive license as you like to argue. In fact, they are under no license. DJB simply doesn't believe that software licenses are valid, so he doesn't grant one. His "license" page that you refer to simply reiterates his right of first distribution, as well as waiving some of his right to first distribution under certain circumstances. Read this for more background on why DJB doesn't issue licenses.

    The only appearance of the word license on that page is in a quote from a RedHat employee, not DJB. It would seem impossible to me to grant a license without specifically stating that you are granting a license.

    The inability to change pathnames is a bunch of hooey. I've seen packages included with a major distribution that could have been modified to use paths that make more sense, but have been packaged with the author's defaults instead.

    xjosh

  41. No wonder I couldn't reach slashdot! by Greyfox · · Score: 2
    With you pinging it! Stop that!

    Seriously, though, that works well when you've got one box sitting out there, but a lot of services install round robin DNS with multiple servers for load balancing. Try "dig yahoo.com" or lycos or google, for example. Socks3 here at work consists of about 9 servers, only three of which seem to work with any reliability.

    --

    I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

  42. WARNING! by Fjord · · Score: 2

    The link above is a site that has been known to often send people to goatse.cx.

    --
    -no broken link
  43. Re:routing != DNS by Zeinfeld · · Score: 2
    ICANN should be... telling the IETF the characteristics of the security protocol it really needs" - oh please. What on _earth_ makes you think ICANN has the faintest idea about protocols and security?

    Look at the members of the ICANN board, look at the membership of the IESG and IAB over the past 10 years. Oh and look up Steve Bellovin's research interests.

    I had meant to type 'DNSSEC' in the original in place of BIND. DNSSEC many not be the answer, if it was the answer maybe it would have taken less than ten years to deploy after the RFCs were written.

    The main problem is that DNSSEC turned into a design for a general purpose PKI. As a result lots of features were added such as the NXT record that make deployment sticky. Also the nature of DNS lookups has changed drastically. TTLs are often measured in minutes rather than days as they once were. This means that the DNSSEC method of signing each RR individually is a very high overhead. The servers can do the siging offline, not so hot for the clients though which can have ten or more signatures to verify for a single lookup.

    --
    Looking for an Information Security student project suggestion?
    Try http://dotcrimeManifesto.com/
  44. Oh well by rice_burners_suck · · Score: 2

    I like that they mentioned that diversity results in more security (at the very end of the article). This is one of the major problems with Microsoft products: they only make two operating systems, so when a bug is found in one or both of them, the whole world goes down from some email script virus that a child can write. Under the alternative Linux and BSDs, there are differences between the distributions and even between installations, resulting in big headaches for would-be virus writers. (Sure, this also results in headaches for developers, but who said that making software is easy? Yeah, developing is allegedly "easy" under Microsoft platforms, potentially saving your business big dollars in R&D, but that money gets thrown away on the inevitable repairs necessary after some k1ddy in Congo or something manages to deploy a virus.)

    So, like the article says, diversity improves security. In my opinion, each site should choose the best system for the job and configure it to do that job well. If you end up with 10 different platforms and operating systems, so be it.

    Oh well.

    Oh yeah, so what I was trying to say is that not only the operating system, but also the software running on it, should be diverse and come from as many different sources as possible. I would even say that if you run several machines that perform the same job, perform that job with different software on the several machines. This way, when one gets cracked, the others continue to work (at least for a while).

  45. Re:routing != DNS by Zeinfeld · · Score: 2
    I don't doubt that there's some smart people involved in ICANN (as well as a bunch of lawyers) but a secretive autocratic organisation like ICANN is _not_ the place to design new protocols (particularly security related ones). The IETF, on the other hand, is the place to do this.

    That is not what I said. I said that ICANN should specify the requirements they have for a DNS security infrastructure to secure the DNS and tell the IESG what they are.

    The IETF has designed some good security protocols. It has also produced a lot of bad ones. They are not bad because they are insecure, they are bad because they don't meet the real requirements. PEM and MOSS being prime examples. IPSEC and DNSSEC both have clear usability problems that mean that they are not being used in practice for the purpose they were originally advertised as solving.

    --
    Looking for an Information Security student project suggestion?
    Try http://dotcrimeManifesto.com/