Slashdot Mirror


Providers Ignoring DNS TTL?

cluge asks: "It seems that several large providers give their users DNS servers that simply ignore DNS time to live (TTL). Over the past decade I've seen this from time to time. Recently it seems to be a pandemic, affecting very large cable/broadband and dial up networks. Performing a few tests against our broadband cable provider has shown that only one of the three provided DNS servers picked up a change in seven days or less. After turning in a trouble ticket with that provider - two of the three provided DNS servers were responding correct - while the third was still providing bad information more than two weeks after that specific change. What DNS caches ignore TTL by default? Is there a valid technical reason to ignore TTL?" "This struck me as odd, and I decided to run a few tests using my own domain. Lowering the TTL to twenty four hours, and making changes and then checking to see when a change was picked up. I queried twelve outside DNS servers/caches that I had access to (Thanks to my friends and relatives with dial ups and DSL who put up with me and my requests to reboot their machine daily!). Checks performed against these outside DNS servers indicate that it may take as much as four to five weeks before a DNS change is picked up! Most DNS servers picked up the change within 48 hours. A small number did not (three out of twelve - that's a quarter of them!)

This merits more study, and prompts a few questions. So, before I begin with a more serious broad study, I'd like to get some feedback on the problem as I've seen it. I know the tin foil hat crowd will see the failure to propagate DNS correctly as censorship, and the OS/bind/djb/whatever zealots will simply see this as an argument for their particular religion.

Based on the responses I get, I will then setup and test a couple of domains with different DNS servers for 6 weeks and report back the findings. [volunteers welcome!]"

445 comments

  1. Faulty system by Quasar1999 · · Score: 1, Interesting

    The whole thing about the web is it's based on trust... it's amazing it works as well as it does... I can see providors not obeying TTL simply to keep their DNS servers from being stuffed (or whatever the word du jour is)... It's all about trust, and the lack of it nowadays on the web... get used to this sorta thing happening more and more.

    --

    ---
    Programming is like sex... Make one mistake and support it the rest of your life.
    1. Re:Faulty system by wiredlogic · · Score: 5, Insightful

      DNS isn't about "the web". It's much bigger than that.

      --
      I am becoming gerund, destroyer of verbs.
    2. Re:Faulty system by AndroidCat · · Score: 2, Funny

      Quick! Someone tell that to NetSol before they route all .com/.net typos to their server again.

      --
      One line blog. I hear that they're called Twitters now.
    3. Re:Faulty system by Anonymous Coward · · Score: 0

      Shut up.

    4. Re:Faulty system by MightyMartian · · Score: 4, Insightful
      Screwing around with DNS TTLs has a larger effect than the web. Quite commonly when we're doing a major change, particularly with mail servers, we set our TTL low a few days in advance. If some idiot running a DNS sets it up so that my TTL is ignored, then guess what, whoever is using that DNS is suddenly not going to be able to get mail to my server.

      It's irresponsible tampering, it's that simple.

      --
      The world's burning. Moped Jesus spotted on I50. Details at 11.
    5. Re:Faulty system by Anonymous Coward · · Score: 3, Informative
      It's irresponsible tampering, it's that simple.

      Its completely within the spec, and as a fundemental principle I can do whatever I want with my server. So get with the program and understand there are other ways of dealing with the issue. Two weeks before the change, set the new IP address of the mail server as a lower priority (higher number) server, so if the info is cached, it will fall back to the new number when the old one fails. When you make the change, you can purge the old address entirely.

      This is DNS maintenance 101, and should not surprise anyone who works on DNS.

    6. Re:Faulty system by MightyMartian · · Score: 1

      Well of course you can do anything you want with your server. I, of course, reserve the right to tell my customers that the reason why Aunt Martha can't send email is because some self-serving or moronic DNS admin refuses to recognize my TTL, and that Aunt Martha would be well served to phone and complain, or better yet to take her $$$ and move to a provider that doesn't think it runs the only DNS server on the Internet that counts.

      --
      The world's burning. Moped Jesus spotted on I50. Details at 11.
    7. Re:Faulty system by jdreed1024 · · Score: 2, Funny
      DNS isn't about "the web". It's much bigger than that.

      That's right, it's how Bill Gates tracks your e-mails to give you that Walt Disney World vacation when you send it to enough of your friends.

      --
      There is no sig, there is only Zuul.
    8. Re:Faulty system by Undertaker43017 · · Score: 1

      This works for MX records, but what about any other type of "service", where TTL's are the only way to propagate new information?

      I have unfortunately had to take a similar stance as the original poster, and let users know that they can either complain to their ISP, change ISP's or I MAY let them use my DNS server (not likely).

    9. Re:Faulty system by jeremyp · · Score: 0

      since when do mail servers have anything to do with the web?

      --
      All I want is a secure system where it's easy to do anything I want. Is that too much to ask ~~ Randall Munroe
    10. Re:Faulty system by Anonymous Coward · · Score: 1, Funny

      DNS is not the web. This was moderated interesting?

    11. Re:Faulty system by pfleming · · Score: 1
      since when do mail servers have anything to do with the web?
      Since he was talking about the IP address of his mail server which is in the DNS records that aren't being updated properly.
    12. Re:Faulty system by logicnazi · · Score: 2, Interesting

      My understanding is that many mail delivery programs do their own recursive resolve and often ignore cached entries. At least when I have updated MX records they have seemed to propogate almost instantly. I presumed this was because sendmail and the like insist on reading the MX from servers authoritative for that domain but perhaps I'm mistaken.

      Anyone care to clarify how DNS cache works with MX records?

      --

      If you liked this thought maybe you would find my blog nice too:

    13. Re:Faulty system by MightyMartian · · Score: 1

      Since when is the web the only thing that DNS servers actually serve?

      --
      The world's burning. Moped Jesus spotted on I50. Details at 11.
    14. Re:Faulty system by Anonymous Coward · · Score: 0

      hehe Stuffed like Jenna Jamison?

    15. Re:Faulty system by itzdandy · · Score: 1

      (or whatever the word du jour is)

      du = the
      jour = day

      du jour = the day

      usually meant "of the day"

      soup du jour is the soup of the day.

    16. Re:Faulty system by Anonymous Coward · · Score: 0
      Is it OK if I explain to Aunt Martha that her niece has an ISP that doesn't understand the fundamentals of DNS and that her niece should think about change to an ISP that *gasp* understands the basic protocols fundamental to its service? Because it really sounds like this is the first you've heard of this option, whereas I learned while I was setting my first TTL's on my BIND servers that the TTL is a suggestion and that some servers could over-ride those settings and cache results for up to two weeks; so unless I'm offering a point to point service my migration plans better account for this contingency.

      Luckily, its unlikely your customers know you post under MightyMartian on Slashdot and will never figure out what an arrogant twit you are thinking the entire internet should bend its will to making YOUR life easy.

    17. Re:Faulty system by Anonymous Coward · · Score: 0
      This works for MX records, but what about any other type of "service", where TTL's are the only way to propagate new information?

      Depends on why you are migrating IP addresses. The simple answer is to run a duplicate/redundant system. If the servers are staying put and your're Just migrating away from the MightyMartian ISP because he doesn't understand how DNS works and that he's not in command of all DNS servers everywhere and that he won't be able to complain to every potential lost customer that their ISP sucks and its therefore not his fault for failing to account for an internet fact of life, you might be able to simply assign a second IP address on the system, assuming your application/OS is smart enough to repond using the source IP address the connection originated on (which can get tricky when firewalls are involved, but most modern OS will)

      Bitch all you want about what others are doing with their equipment, but if you worked for me and your response to the problem was "tough for them", I'm not sure I'd let you stick around long enough to train your replacement. It doesn't even matter WHY they've chosen to ignore TTL's; they can, some do, its your job as a professional to solve the problem.

    18. Re:Faulty system by Anonymous Coward · · Score: 0

      "du = the"

      itzdandy = asshat

    19. Re:Faulty system by ezeri · · Score: 1

      There is not a single valid reason for ignoring all TTL's and setting them to 2 weeks. If your doing this it's because you are ignorant of the way DNS should work, or you are just to stuck up to care that you are making other peoples lives difficult. Yes, DNS TTL's are there to make peoples lives easier, and your being a total iresponsible jerk by setting the TTL two weeks no matter what. You are not saving your self any trouble, and are making others jobs harder, just because something is technicaly valid (and please show me the RFC that allows ignoring TTL) to the specs doesn't mean that it should be done. If the customers in this case can't send and email to the domain, it is your fault, regardles of you "technical validity", because you are just being an ass.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now. - Ed Howd
    20. Re:Faulty system by macdaddy · · Score: 1

      The MTAs don't actually have any choice. They rely on the system's local resolver; which in turn points to a recursive resolver which could be either local (if they run a Bind or nscd on the local box), their upstream provider, or a commercial DNS provider; the recursive resolver handles the real lookup, querying root for the TLD, then the domain, and then the domain's NS for the MX records. The MTA can't specify how a lookup is made. It's possible someone could write that ability into a MTA but it's extremely unlikely. The local host's resolver should be used for all lookups. Make sense?

    21. Re:Faulty system by logicnazi · · Score: 1

      Hmm, really? sendmail can't pass a switch to make sure it gets a response from the authoritative server not just a cache?

      I wonder then why my MX records seem to work almost immediatly while other changes take much longer to propogate. Can MX records have different TTL than the domain itself? If so maybe that is the explanation.

      --

      If you liked this thought maybe you would find my blog nice too:

    22. Re:Faulty system by Anonymous Coward · · Score: 0

      You obviously have no concept of how DNS works. The only time a DNS request is made because of an expired TTL is when a downstream client asks. If you think DNS servers have timers on every domain in their caches, and as soon as the timers expire they go out and get new copies, or if you think that upstream servers push to downstream servers, you're totally incorrect.

      Example: even if I put a TTL of 60 seconds on my records, DNS servers do nothing about it until one of their clients asks for it.

    23. Re:Faulty system by ID10T5 · · Score: 1
      The parent is correct in that the MTA should not provide its own name resolution, but should rather rely on the provided resolver library.

      The GP hits on a capability of the standard resolv(3) library by mentioning ignoring cached entries. Passing the RES_AAONLY flag to resolver calls causes the resolver library to only accept authoritative (i.e. non-cached) entries, or return an error if it is unable to find one. This would hopefully handle the TTL issue, unless the DNS server was set to return authoritative answers for all queries.

      FWIW, the FC3 man page I looked this up in indicates RES_AAONLY is not currently implemented. But the man page is also dated 1993-05-21...

    24. Re:Faulty system by Anonymous Coward · · Score: 0

      Precisely...
      For example, Bind (one of the most popular dns servers) has this in the CHANGES file of its version 9.2.3+:

      1429. [bug] Prevent the cache getting locked to old servers.

      This bug is ttl related... bind 9.2.2 resets the ttl countdown on cached domains without any reason. It keeps the old zone info forever!!! (until restart or manual cache flush, of course)

    25. Re:Faulty system by Undertaker43017 · · Score: 1

      Must be nice to have all the answers...

      Redundant systems are nice, if you can afford that. I assume you mean having redundant ISP/Co-Lo's as well, since ISP/Co-Lo's have a tendancy to go out of business suddenly and you no longer have "access" to the IP addresses that were on those machines. There are more companies that can't afford having multiple ISP/Co-Lo's, then can, and for those companies that can't, having TTL's that won't propagate their new DNS entries is a BIG problem.

      Fortunately you don't have to worry about me working for you, since that would NEVER happen, one conversation with you would be all I needed to make up my mind...

    26. Re:Faulty system by Anonymous Coward · · Score: 0
      Fortunately you don't have to worry about me working for you, since that would NEVER happen, one conversation with you would be all I needed to make up my mind...

      Get a clue Skippy, I'm not the one who does this. The fact remains that as inconvient as it is to you, some DNS servers do this. This article proves that it is still going on today, and your answer is basically saying that you intend to ignore the problem because you don't understand their reasons for doing so.

      Redundant systems are nice, if you can afford that. I assume you mean having redundant ISP/Co-Lo's as well

      I mean using whatever resources you have to minimize the impact of an IP change. I'm not here to list all the ways to compensate for the realities of the internet, I'm trying to communicate the shortsitedness of your viewpoint.

      since that would NEVER happen

      Because clearly working for a technically competent manager would quickly reveal your shortcomings? Damn my boss, I told him there was nothing I could have done to prevent our largest customer in Europe from losing access to our website for two weeks, how it was all this mysterious DNS guy's fault and not mine, and he knew better! I'm going to go find a clueless idiot to work for so I can make cup-holder jokes at his expense all day. How can I continue to keep my title of Best Internet Guy Ever (earned at age 13) when my boss keeps pointing out all the stuff I don't know! Arghhh!!

      ROFLMAO!

      Must be nice to have all the answers...

      It's clear you don't have any, so I guess there were a few extra to go around.

    27. Re:Faulty system by Anonymous Coward · · Score: 0
      There is not a single valid reason for ignoring all TTL's and setting them to 2 weeks.

      Get a grip, just because you don't know any doesn't mean there are none. It may come as a shock to you, but you aren't omnipotent

      If your doing this it's because you are ignorant of the way DNS should work,

      Funny, you're the one surprised that some sites ignore TTL and I'm the one ignorant of how DNS should work? Gotcha.

      or you are just to stuck up to care that you are making other peoples lives difficult

      Take a Valium fruitcake, I never said I was the one doing this. I object to your moronic claim that I have to do what you say on my server.

      your being a total iresponsible jerk by setting the TTL two weeks no matter what

      and you're not being an irresponsible jerk by ignoring the fact that, like it or not, this happens?

      You are not saving your self any trouble

      Again with the omnipotence. Those who ignore TTLs might be saving themselves a great deal of trouble. Considering generally you have to do work to ignore them, I imagine this is a pretty safe bet.

      and are making others jobs harder

      No matter what, you are simply arguing about how long your site is down. Why not do you job right and take steps to make sure its not down at all just because something is technicaly valid

      Don't be stupid. Who cares if its technically valid? A small percentage of DNS servers do this, it been known for decades. You can play the victim and rail your entire life about the unfairness of it all, or you can be responsible and take steps to compensate for it.

      If the customers in this case can't send and email to the domain, it is your fault, regardles of you "technical validity", because you are just being an ass.

      You can whine about who's fault it is all day and night and do nothing. I'll take steps to ensure my customers mail goes through.

  2. Dumb question by BoneFlower · · Score: 4, Interesting

    How would I check my ISPs DNS servers for this?

    1. Re:Dumb question by Alioth · · Score: 5, Informative
      Use the 'dig' and 'host' commands.

      For example

      dig @your-isps-nameserver.net -t A www.example.com

      For example:
      $ dig @192.168.0.1 -t A www.slashdot.org

      ; <<>> DiG 9.2.4 <<>> @192.168.0.1 -t A www.slashdot.org
      ;; global options: printcmd
      ;; Got answer:
      ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54561
      ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 0

      ;; QUESTION SECTION:
      ;www.slashdot.org. IN A

      ;; ANSWER SECTION:
      www.slashdot.org. 7184 IN A 66.35.250.151

      ;; AUTHORITY SECTION:
      slashdot.org. 7184 IN NS ns2.vasoftware.com.
      slashdot.org. 7184 IN NS ns3.vasoftware.com.
      slashdot.org. 7184 IN NS ns1.osdn.com.
      slashdot.org. 7184 IN NS ns1.vasoftware.com.
      slashdot.org. 7184 IN NS ns2.osdn.com.

      ;; Query time: 3 msec
      ;; SERVER: 192.168.0.1#53(192.168.0.1)
      ;; WHEN: Tue Apr 19 11:38:58 2005
      ;; MSG SIZE rcvd: 159
      Note the TTL of 7184 seconds (this is how long the nameserver at 192.168.0.1 will continue to use the cached record for before fetching it again from slashdot.org's authoratative nameservers).
    2. Re:Dumb question by Dtyst · · Score: 5, Informative

      There are many online DNS tools DNS report being one of the best and DNS stuff being very powerful but harder to use. I also like Dig it Man! for simple DNS checks. Also many large internet providers usually have allkinds of online network tools available online on their webpages.

    3. Re:Dumb question by Anonymous Coward · · Score: 2, Funny

      uhm, yeah.

      dig has been deprecated for QUITE some time.

      please use nslookup.

    4. Re:Dumb question by Jay+Maynard · · Score: 1
      You have it exactly backwards:
      (527) root@thebrain:~# nslookup
      Note: nslookup is deprecated and may be removed from future releases.
      Consider using the `dig' or `host' programs instead. Run nslookup with
      the `-sil[ent]' option to prevent this message from appearing.
      > exit

      (528) root@thebrain:~#
      This is on Gentoo Linux with the bind-tools-9.2.2 package installed.
      --
      Disinfect the GNU General Public Virus!
    5. Re:Dumb question by zardo · · Score: 0, Redundant
      I found a very informative tool is dnsreport.com.

      I used this to troubleshoot our servers a while back. I don't claim to know hardly anything at all about DNS, which is why this tool was so useful for me. I figured out that I had a lot of problems related to my slave updates.

      Is it possible these larger DNS servers are updating based on the refresh/expire values instead of the TTL?

      I don't know whats up with my ISP, their DNS servers go down quite frequently, probably some jerks playing DoS war, I use a high quality ISP in the area for secondary DNS, never have any problems. I would set up a named server on my network but named is such a bastard to configure, for me anyways.

    6. Re:Dumb question by Anonymous Coward · · Score: 2, Funny

      This is a good indication that your gentoo has been hacked. You need to wipe and reinstall immediately.

    7. Re:Dumb question by Anonymous Coward · · Score: 0

      Two points..
      1. The parent was supposed to be funny. You missed that.

      2. Why are you using root for something as simple as using nslookup?

      I gave up my initial funny mod to the parent to post this reply..

    8. Re:Dumb question by Jay+Maynard · · Score: 1

      1) I guess I did.

      2) Because it was a terminal window I had handy that wasn't doing anything else. No, I don't walk away from this box without locking the screen.

      --
      Disinfect the GNU General Public Virus!
    9. Re:Dumb question by SComps · · Score: 1

      it's not, nslookup is, but that's beside the point. depreciated or not, it still works and provides the information intended until the gods of linux or whoever is in charge of that sorta thing decides that depreciated means no longer distributed..

    10. Re:Dumb question by Anonymous Coward · · Score: 2, Funny

      Root login is deprecated and may be removed in a future release.

    11. Re:Dumb question by BoneFlower · · Score: 1

      Ok, things look good... all three dns servers reporting a TTL...

      Cool... yet another Unix command I can use... thank god for Services For Unix(or Cygwin if you prefer that) so it can be done on Windows too...

    12. Re:Dumb question by ticktockticktock · · Score: 1

      It already was removed in the default install of Ubuntu Linux. They recommend using "sudo" for root tasks and don't allow direct "root" logins, by default, without it.

    13. Re:Dumb question by 2old2rockNroll · · Score: 1

      2. Why are you using root for something as simple as using nslookup?

      He's running Linspire.

    14. Re:Dumb question by arivanov · · Score: 1

      Not entirely correct.

      There is also the bind8+ algorithm which is also followed by most other well behaved implementations. Besides the normal TTL criteria these will expire a record after every access with some non-zero probability. As a result records leave the cache before the TTL is reached.

      This is done as a safeguard against typos in TTL and operational mistakes. Not everyone likes it. For example there was a long rant by DJB about why it sucks once upon a time. But it is good and nearly all popular implementations do it nowdays.

      --
      Baker's Law: Misery no longer loves company. Nowadays it insists on it
      http://www.sigsegv.cx/
    15. Re:Dumb question by Anonymous Coward · · Score: 0

      anonymous posts are deprecated and may be removed from future articles.

    16. Re:Dumb question by MrCanard · · Score: 1

      http://www.dnsreport.com/

    17. Re:Dumb question by Anonymous Coward · · Score: 0

      Deprication is depricated and may be removed from future posts.

    18. Re:Dumb question by techno-vampire · · Score: 1
      They recommend using "sudo" for root tasks and don't allow direct "root" logins, by default, without it.

      su is your friend. Trust su.

      --
      Good, inexpensive web hosting
    19. Re:Dumb question by Bert64 · · Score: 1

      And what if the domain you looked up had malicious dns records designed to exploit a bug in dig?

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    20. Re:Dumb question by Bert64 · · Score: 1

      Well named (bind) is rather too large and complex if all you want is a caching nameserver, consider dnscache (http://cr.yp.to), it's a lot simpler to setup and doesn't provide features other than caching..

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    21. Re:Dumb question by Jay+Maynard · · Score: 1

      That system is not an x86 or compatible. What do I care if some script kiddie gets some x86 code onto the box?

      --
      Disinfect the GNU General Public Virus!
    22. Re:Dumb question by Bert64 · · Score: 1

      Where did i state that the malicious records would be sending x86 shellcode?
      I just said it may exploit a bug, it's possible a bug would involve command execution and be platform agnostic.
      And regardless of what platform you're using, i'm sure there exists some shellcode for it somewhere. And who says script kiddies only exploit x86 systems? i happen to know a of lot of script kiddies who exploit IRIX/MIPS and Solaris/SPARC.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    23. Re:Dumb question by ticktockticktock · · Score: 1

      Well, you can't "su" to root in Ubuntu if root doesn't have a password set, by default. You'll have to set a password for root first.

  3. TTL's by dlhm · · Score: 5, Funny

    Of course there is a reason, To save bandwidth, and to provide the 3rd world internet service we have come to expect here in the USA.

    --
    Ad eundum quo nemo ante iit!
    1. Re:TTL's by JasontheMason · · Score: 1
      Yeah! Everyone should have access to our quality internet. We have the best 3rd world internet service in the world!

      JtM

      --
      "Ad infinitem et ultra!" - Buzz Lightyear
  4. Let me guess... by sqlrob · · Score: 3, Interesting

    RoadRunner

    They can't run a DNS server properly to save their lives.

    TTL is ignored, SpamAssassin is a "trojan DDOSing our network"

    1. Re:Let me guess... by gid · · Score: 1

      Hmmm, I have Road Runner and I run spam assassin through sa-exim. I've never heard a peep out of them.

    2. Re:Let me guess... by sqlrob · · Score: 3, Informative

      I got a "Your machine is trojaned" e-mail with few details. A thorough scan of my network showed diddley-squat. I finally got to reasonable level support and the issue was poisoning the cache with negative lookups. I was testing the mail, and URLs within the mail as well. I think there was an average of 20 lookups/mail.

      People running MailWasher on Windows also got the same warning from RR. All this was probably about a year ago.

    3. Re:Let me guess... by grahamm · · Score: 1

      How does a negative lookup poison the cache? If the name being looked up is not valid, then the negative response is genuine and is not poisoning.

    4. Re:Let me guess... by sqlrob · · Score: 1

      They were caching negative responses as well as positive ones, and all the negative lookups were pushing the positive ones out of the cache.

      I don't know what they finally did about the problem when I finally told them what the lookups were coming from, I never heard a peep out of them after that. I don't know if they stopped caching negative lookups, gave a seperate cache for them, or ignore blackhole lookups.

    5. Re:Let me guess... by numist · · Score: 1

      Ive got roadrunner, (got a free upgrade last month too woot) and besides having to call them to make them open all incoming ports (damn them) I havent had a single problem/word from them, and my upload is generally saturated too, youd think theyd be concerned...

    6. Re:Let me guess... by Anonymous Coward · · Score: 0

      RoadRunner will also complain loudly if you run the Grub crawler. (It's sort of a distributed web spider.) Same reason, too many DNS lookups. I setup a local BIND9 forwarding to Verizon's free server on 4.2.2.4, and pointed all my machines to use the local BIND server.

      Verizon isn't bitching about it and I'm not even paying them =)

  5. I Noticed Too by ArchAngel21x · · Score: 4, Insightful

    It kind of defeats the point of root DNS servers being updated so fast if the ISPs are going to drag their feet and take their time updating their cache. I speculate it is server admin laziness.

    1. Re:I Noticed Too by RLW · · Score: 1, Funny

      Don't speculate. Assert. You know it's true. Couple that with ignorance and you've got the typical large ISP admin.

    2. Re:I Noticed Too by Alioth · · Score: 4, Insightful

      The thing is if the server admins were lazy, the default configuration of any caching DNS server that I've come across is to do the Right Thing. Therefore if you have a lazy admin, it should be working.

      They've actually had to go to extra effort to break it on purpose.

    3. Re:I Noticed Too by ReelOddeeo · · Score: 1

      Don't speculate. Assert. You know it's true. Couple that with ignorance and you've got the typical large ISP admin.

      Do their DNS servers run on Windows, and hence we are discussing Windows admins?

      Or maybe they don't run Windows for DNS. In that case... Never attribute to ignorance what can be explained by malice.

      --

      Those who would give up liberty in exchange for security and DRM should switch to Microsoft Palladium!
    4. Re:I Noticed Too by tomhudson · · Score: 1
      I thought (I may be wrong) that the TTL was originally supposed to be 11 minutes.

      I know that for my home ISP (videotron), the changes propagage within 5 minutes (sometimes a lot less), but they're also doing VoIP and VoD, and ther latency is super low.

      The ISP at work isn't so bad, either (aibn - sympatico for business - yeah, it really grinds me having to say anything nice about ma bell ... )

    5. Re:I Noticed Too by rovingeyes · · Score: 1

      Being lazy is fine in my books. But incompetence is one that ticks me off. I am relatively novice when it comes to DNS administration - 2 years, but I have met "idiots" who claim to have 7 years experience and on top of that they are lazy. Every now and then we have a client who goes crazy saying that I cannot "see" the site. Then I have to bug their respective ISP DNS admin to take action and by the time they do (usually 3-7 days) its all updated. At that time this Mr. Bug shot steps in and tells me how I am screwing up his valuable time. Oh well...

    6. Re:I Noticed Too by petermgreen · · Score: 1

      or just tell them to change thier dns servers to some public one that has the updates.

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    7. Re:I Noticed Too by DrSkwid · · Score: 1

      When I visited ntl: Nottingham headquarters a few years ago they were an all NT shop, mail servers, web servers the lot

      Their DNS is crap and they still run IIS so I expect they still are running it all over.

      --
      There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
    8. Re:I Noticed Too by Anonymous Coward · · Score: 1, Interesting

      The point of TTLs is so people can cache domain name lookups for appropriate amounts of time. Only the source can say what is appropriate. The person caching the lookup has no idea what is appropriate outside of their own network.

      So videotron can set TTLs for hosts in the videotron.ca domain but they should be reading TTLs for all other domains at the same time they make the query. They can't tell if the host they are looking up is a static server for years or someones dynamic host for a dialup modem that changes every 30 minutes.

      i.e. they query ns1.google.com for "www.google.com", get back 216.239.37.99 and a TTL value of (for example) 6hours. So they cache that IP for that host for the next 6 hours. It is up to google to say what TTL is suitable, not videotron.

    9. Re:I Noticed Too by Etherwalk · · Score: 1

      More likely server admin not-thinking-ness, or not-understanding-the-point-of-ttl'ness.

      DNS TTL's not that complicated, but then, DNS in general isn't that complicated and doesn't take that much effort to administer (depending on your load and set-up, of course. But certainly, DNS you are providing to clients, rather than the DNS you're setting up for your own domain, is practically ready-to-go-out-of-the-box.) My guess would be people simply play with/pick the numbers without much thought, possibly during set-up or when "tweaking," or to deal with one-time problems that crop up, and don't really think about all the ramifications of it, and/or forget to change it back.

  6. 24 hours ? by Anonymous Coward · · Score: 4, Informative

    in VOIP networks TTLs can be as low as 10 minutes

    1. Re:24 hours ? by Anonymous Coward · · Score: 0

      Buzzwordtastic.

      Was that an experiment in slashdot moderation by any chance? :)

    2. Re:24 hours ? by gclef · · Score: 3, Informative

      heh. Have a look at www.yahoo.com...they're at 60 seconds. Yay Akamai.

      (For those that haven't messed with Akamai, they're intentionally setting the TTL insanely low to force clients to re-request often...Akamai uses the response they give as a way of doing path optimization to clients. It's ugly, but it kinda works.)

    3. Re:24 hours ? by logicnazi · · Score: 2, Interesting

      Well that sounds like a good explanation for why major ISPs might ignore the TTL. That's alot of wasted lookups and server load. For a large ISP we can expect that someone is going to most Akamai cites every minute so that is at least one lookup per minute per Akamai DNS record.

      If other people do this as well ISPs might not have much of a choice but to ignore TTL and maybe there isn't any easy way to force the machine to use a minimum TTL but respect TTL above that limit.

      --

      If you liked this thought maybe you would find my blog nice too:

    4. Re:24 hours ? by SpaceLifeForm · · Score: 1
      A low TTL is a great way to track what websites you are accessing. Better marketing data.

      --
      You are being MICROattacked, from various angles, in a SOFT manner.
    5. Re:24 hours ? by Anonymous Coward · · Score: 0

      Dynamic DNS services also set really low TTLs (e.g. no-ip uses 60 seconds).

    6. Re:24 hours ? by Anonymous Coward · · Score: 0

      A webserver log is better. A thousandfold.

    7. Re:24 hours ? by afidel · · Score: 1

      WHY? Akamai DNS servers will be colocated at any major ISP. Doing the network chat to get a new 1 minute long entry from the Akamai DNS server into their own cache will NOT be putting any significant load on their caching server. If they ignore Akamai updates then they risk having poor service as Akamai knows a LOT about doing load balancing and distribution, more than any admin who thinks they are being smart by ignoring TTL on DNS records. If you really need proof that you shouldn't mess with TTL's see RFC 2181 which states The TTL specifies a maximum time to live, not a mandatory time to live.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  7. DNS practices by LynXmaN · · Score: 5, Informative

    Usually on big providers overriding the TTL of the zone is a usual practice for sure, I do that myself in the ISP I'm working for (it's middle sized).

    But I don't think they're setting a TTL longer than 24 hours, that would be kind of insane, isn't? At least from my own experience when I did a big DNS servers change (changed all the serials) the delay was less than 24 hours for almost all of them.

    --
    May the source be with you!
    1. Re:DNS practices by toddbu · · Score: 2, Informative
      Usually on big providers overriding the TTL of the zone is a usual practice for sure, I do that myself in the ISP I'm working for (it's middle sized). The problem with someone else deciding on TTL for my zone (whether they're big or small) is that they'll probably get it wrong. How do you know the "right" value to pick for me when you don't know why I picked the value in the first place? Granted, some people pick low TTL "just because", but in our case we round-robin servers and if one goes down then we want to be able to take it out of the loop in a timely fashion. We're ok with a 15 minute TTL, but not with a day.

      Part of the problem with short TTL is that there is no really good mechanism in the Internet today for failing over a cluster of web servers short of buying expensive routing hardware. If you want to run a web server with a backup then having a short TTL is probably the best option around. What we need is a better DNS failover strategy and then many short-lived TTLs will probably go away. The current solution is crummy anyway. When Internap died here in Seattle and we were down for 45 minutes (along with LiveJournal), a high priced router/load balancer wouldn't have done us a bit of good.

      --
      If you don't want crime to pay, let the government run it.
    2. Re:DNS practices by Name+Anonymous · · Score: 2, Informative

      However, some people when they are about to do major updates on the domain information will a day or two before the change is going to happen temporarily lower the TTL where needed. And after the change is done and checked to be correct, they will raise the TTL back to its normal value.

      Therefore overriding TTL can break things for your customer.

      I can see raising any TTL of less than an hour to an hour, I can't see raising it to 24 hours or more. This would limit what breaks for your customers.

    3. Re:DNS practices by Glendale2x · · Score: 2, Interesting

      Usually on big providers overriding the TTL of the zone is a usual practice for sure, I do that myself in the ISP I'm working for (it's middle sized).

      Why?

      --
      this is my sig
    4. Re:DNS practices by TTK+Ciar · · Score: 1, Offtopic

      There is a good, high quality, low cost alternative to buying expensive load-balancing hardware. You can run LVS/IPVS on a linux box and turn it into an intelligent load-balancing router.

      At The Archive we have dedicated LVS servers, but if you don't want to spend any extra $$ you can use a machine that is already providing some other service. You can use keepalived to make multiple LVS servers failover for each other.

      I wrote a (very brief) HOWTO for setting up LVS/Keepalived. It is Archive-centric, but should be somewhat useful outside The Archive too. Just use rc.local or rc.inet2 or whatever instead of rc.final.

      LVS/Keepalived (which is both, free and Free) has worked very well for us thusfar. Our www farm typically handles 30 to 60 http requests per second, with intermittent spiking above 250 http requests per second, and lvs01 sits at 99% idle all day.

      -- TTK

    5. Re:DNS practices by Jailbrekr · · Score: 1, Offtopic

      Alternatively, you can use freeVRRPD and pound. freeVRRPD for the failover, and pound for the SSL authentication and load balancing. An added bonus is that pound logs all hits and misses (in an apache format), so the logging is centralized. While the CPU utilization is higher due to the SSL authentication, it makes things much simpler as all you need in the web farm is a relatively simple HTTP server (be it apache or, ugh, IIS) with no need to worry about SSL authentication.

      --
      Feed the need: Digitaladdiction.net
    6. Re:DNS practices by Zocalo · · Score: 1
      Yeah, 24 hours should be more than enough to give reasonable caching without compromising your flexibility to do updates too much. I used to work at an ISP and rebuilt their DNS infrastructure from the ground up while I was there. I also wrote some scripts that made use of the "named-checkconf", "named-checkzone" and "rndc" commands so that when we made any changes to DNS, they were validated as being sane, then propogated to all our DNS servers instantly. No fuss, no muss; change the zonefile, update DNS, and the only cached data left was in the caches of clients that had queried our DNS, which was at most $TTL old.

      Our standard TTL was 24 hours, although if we knew in advance that a change was coming we'd often drop that down to just one hour for either a specific record or the entire domain. A huge proportion of our customers (mainly SMEs and VISPs) were completely unaware that such a trick was possible, even though they were often running their own DNS.

      Frankly, I'm not surprised by this news in the slightest. There were far too many system admins out there who didn't really understand what they were doing then, and the situation has only gotten progressively worse since. It's not just with DNS either, thanks to the growing proliferation of spam and malware, there are plenty of asinine things being done with SMTP and HTTP as well. Heaven help us all once the next generation of admins that have been taught their jobs by these idiots get to take hold of the reins all by themselves...

      --
      UNIX? They're not even circumcised! Savages!
    7. Re:DNS practices by chemguru · · Score: 1

      Here's an idea:

      DON'T USE DNS FOR FAILOVER!!! It's not designed for that. Use better networking failover schemes to eliminate having to wait on DNS update. Route tables can by dynamically updated and propagate MUCH faster than DNS reloads.

      Akamai (and others) forcing TTLs to 60 seconds causes a waste of network resources essentially to cover their own ass (which didn't seem to help them 15 June 2004).

      --
      --Chemguru
    8. Re:DNS practices by toddbu · · Score: 1
      DON'T USE DNS FOR FAILOVER!!!

      That's great in theory, but what do you do when your entire data center goes away? And don't tell me "Get a better data center". What happened to Internap could happen to anyone, and it really wasn't their fault that someone pushed the big red button, although they should have come back up in something less than 45 minutes. What I'm saying is that the Internet as a whole needs a better solution than DNS replication that would allow you to switch data centers if need be. Like it or not, people are going to use short TTLs to help solve this problem until there's a better solution in place.

      --
      If you don't want crime to pay, let the government run it.
    9. Re:DNS practices by toddbu · · Score: 1

      Thanks to this poster and the parent for the useful info. We'd been considering reverse proxy for intra-datacenter failover but it felt pretty heavy and we weren't sure about load balancing. We'll be sure to take a look.

      --
      If you don't want crime to pay, let the government run it.
  8. nscd by epiphani · · Score: 3, Informative

    nscd does not obey TTL by default. It uses gethostbyname(), which does not return TTL.

    We use nscd quite a bit, as im sure many other providers do. We only cache positives for 30 minutes, so we dont end up ignoring it for too long.

    --
    .
    1. Re:nscd by photon317 · · Score: 2, Informative


      Yeah but nscd just caches for your local server box, it doesn't re-serve the cached results to your remote clients. He's describing actual dns cache/forward servers ignoring TTL and handing outdated/bad data to client machines.

      --
      11*43+456^2
    2. Re:nscd by misleb · · Score: 1

      Umm, nscd only caches local lookups, not a DNS server. I'm sure you are not using nscd as your network DNS cache.

      -matthew

      --
      "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
    3. Re:nscd by Steamboater · · Score: 1

      As others have pointed out, the nscd isn't involved in dns ttl caching. However, one technique that the Solaris nscd uses might be useful to ameliorate any perceived slowdown due to more frequent cache updates. The nscd keeps the most popular (most frequently looked up) items hot in the cache, retrieving the information before it goes out of date. This might be a useful addition to bind if it doesn't already do this...

      - Bart "I wrote the nscd"

  9. Mediacom sucks.. by jk0 · · Score: 0

    Mediacom is no better when it comes to rehashing. It too them over a week for changes to take effect on a domain of mine.

  10. It's a strange pandemic... by LegendOfLink · · Score: 1, Funny

    called laziness.

    1. Re:It's a strange pandemic... by Anonymous Coward · · Score: 1, Insightful

      Given that you pretty much have to intentionally misconfigure a server to behave this way, it'd be hard to call it laziness.

    2. Re:It's a strange pandemic... by justforaday · · Score: 3, Funny

      I would counter your argument, but it's too much effort...

      --
      I'll turn into a supernova and burn up everything. Well I'll turn into a black little hole and you'll turn into string.
  11. For non geeks by Nurseman · · Score: 0, Offtopic
    from Wikipedia

    Time to live (TTL) is an 8-bit field in the Internet Protocol (IP) header that indicates how many more hops this packet should be allowed to make before being discarded or returned. It is the 9th octet of 20 in the IP header.

    and

    Shorter TTLs can cause heavier loads on an authoritative nameserver, but can be useful when changing the address of critical services like web servers or MX records, and therefore are often lowered by the DNS administrator prior to a service being moved, in order to minimise disruption

    Hope thaty helps someone beside me :-)

    --
    Save a Life. Donate Blood. Please.
    1. Re:For non geeks by Anonymous Coward · · Score: 5, Informative

      They're referring to DNS TTL, not IP TTL.

    2. Re:For non geeks by eyegor · · Score: 2, Informative

      From this site: Time To Live, the number of seconds remaining on a cached record before it is purged. For authoritative records the TTL is fixed at a specific length. If a record is cached, the server providing the record will provide the time remaining on the TTL rather then the original length it was given.

      --

      Don't anthropomorphize computers, they don't like it.
    3. Re:For non geeks by pla · · Score: 1

      Hope thaty helps someone beside me :-)

      I hope that didn't help you, since it refers to the wrong kind of TTL.

      TTL for DNS servers means (informally) how long they will consider a given resolved IP address as still-good. After that, the DNS server itself will do a DNS lookup to try to get a fresher address.

    4. Re:For non geeks by phoebus1553 · · Score: 1

      These are unrealted topics...

      The first is relating to IP packet TTL, or hopcount. That is, how many routers can this packet cross before its discarded, as OP states. This is only valid on the layer in question (3 I think) and applies only to packets. The goal here is to short circuit router loops and also bring some semblance of speed in that if a conversation gets translated to too many networks, it will simply die.

      The second thing you state is an application level TTL, not at all related to the first. TTL WRT DNS is how long you'll answer questions out of your cache before you go ask the authoritative server for a new answer to the same question. I believe it also has an effect on slave DNS boxes in that they will ask the master of the zone for a full update when the TTL expires, regardless of whether or not someone is asking a question about it.

      --
      ----- - The beatings will continue until morale improves
    5. Re:For non geeks by Neil · · Score: 3, Informative

      Actually, the "TTL" in an IP header is different from the "TTL" in a DNS response (though in both cases the acronym means "time to live" and is intended as a limit on how long data hangs around).

      IP header TTL is basically a hop-count, to stop IP packets going round in circles indefinately in the event of routing loops in the network.

      Typically, when you look up a name like "www.example.com" your workstation consults a caching DNS server (on the local LAN, or offered by your ISP, or something). This DNS server goes off and talks to the root name servers, which refer it to the "com" name servers, which in turn refer it to the "example.com" name servers, from where it gets an IP address to go with the name. A couple of seconds later you ask for another page from "www.example.com". Your workstation asks the local DNS server for the information again, but the DNS server doesn't go and figure out the answer from scratch - it remembers the answer that it provided last time, and just repeats it. Time-To-Live is an "expiry date" that the authoritative name servers (like the "example.com" name servers) can put on their answers, so that the caching name servers know how long the answer is good for without them rechecking with an authoratative source.

    6. Re:For non geeks by Shopko · · Score: 3, Informative

      Actually that's for TCP's time to live. For DNS TTL, here's the scenario: (and yes this is simplified; there is more that actually happens, but it's not important for this discussion)

      Background
      ----------
      Domain Name Servers (DNS) are usually configured in a heirarchy, such that each server has a parent. This fact will be important below.

      Every domain (i.e. slashdot.org) has one or more "authoritative" name servers. These name servers know what web host slashdot.org is hosted on and how to get there.

      Other DNS's on the Internet do not know how to get to slashdot.org, because they are not "authoritative" for that particular domain. So they send a request out to their parent asking how to get to slashdot.org. Eventually, one of the parents will know the address of slashdot.org's authoritative name server, and will return this address.

      How This Relates To TTL
      -----------------------
      Here is what happens once the address of the authoritative name server is returned:

      A = The name server trying to figure out how to get to slashdot.org
      B = The authoritative name server for slashdot.org

      A asks B how to get to slashdot.org
      B responds to A with an address (66.35.250.150)
      A asks B how long this address is valid
      B responds to A with a TTL (e.g. 24 hours)

      So now name server A will not have to ask for slashdot.org's address again for 24 hours, since it was told by the authoritative name server that it can keep the address for 24 hours.

      This "keeping of addresses" is called caching, and name servers that do this are called caching name servers.

      I hope this helps. :-)

    7. Re:For non geeks by Anonymous Coward · · Score: 0

      Actually, no. The DNS server won't look it up again on its own accord.

      If I request an address, and my DNS server doesn't have it, it will go out and get it from the authoritative server.

      If I request it again, and my DNS server still has it, and its TTL hasn't expired, then my DNS server gives me whatever it had in memory.

      Now the TTL passes. Nothing happens.

      I request it again. The DNS server finds the record, then notices it is considered stale, and goes back out to the authoritative name server, and gets the record again.

      The caching server never just does stuff for the fun of it, or its own edification.

    8. Re:For non geeks by Mirk · · Score: 1
      They're referring to DNS TTL, not IP TTL.

      Do you actually know any non-geeks? Because the ones I know would not find an eight-word "explanation" using the terms "DNS TTL" and "IP TTL" enormously helpful! :-)

      --

      --
      What short sigs we have -
      One hundred and twenty chars!
      Too short for haiku.
    9. Re:For non geeks by kasperd · · Score: 1

      Actually that's for TCP's time to live.

      Actually not. TTL for packets is implemented in IP, which is the layer under TCP. It would defeat the purpose of the TTL if it only existed in TCP packets and all other IP packets could loop. Besides, the routers that decrement TTL are not required to implement TCP, though I think most routers do as they use it for configuration and routing protocols.

      --

      Do you care about the security of your wireless mouse?
    10. Re:For non geeks by jafiwam · · Score: 1

      Very concise.

      And to elaborate, the DNS servers (in this case, server B) AOL runs on their network to tell their customers where slashdot.org is... go "PPPTTTHTT! I dont care how long you think I should remember where slashdot is! I am gonna use 5 days!"

      And they go on to remember the data for five days, telling AOL customers where slashdot.org is... even though maybe 3 days ago the slashdot.org site got moved to a different IP entirely.... so to the AOL'ers slashdot.org is down and doesnt exist... which can be a pain if slashdot.org's board of directors uses AOL and call to biatch about the site being down.

    11. Re:For non geeks by DShard · · Score: 1

      Complaining about overly terse technical explanations in internet infrastructure dicussion on slashdot seems like you are actively avoiding reality.

    12. Re:For non geeks by Anonymous Coward · · Score: 0

      I really don't care about non-geeks. I don't work for tech support, I manage networks and boxes. I have underlings deal with users.

      I suppose I could have gotten all pissy and insulted the parent poster. He/She knows they stepped on it.

  12. maybe a consequence of the cache poisoning attacks by ehanuise · · Score: 2, Interesting

    There have been DNS security concerns lately, specifically the 'cache poisoning' vulnerabilities reported by cert, sans et al.
    Maybe some ISPs have altered their DNS servers to provide better protection, and in the process caused the 'ttl' problem ? (improbable imo, but who knows...)
    It'd be interesting to know if this is recent or if it's already an old problem.
    Knowing if it appeared suddenly or progressively would help as well.

    Too bad there isn't such a thing as the wayback machine for dns and other services...

  13. You can use TTL to keep customers from leaving! by Anonymous Coward · · Score: 5, Funny

    I remember once I had the TTL set on a bunch of domains to over a year. I found out its a great way to retain customers, because their domains will not work anywhere else.

    1. Re:You can use TTL to keep customers from leaving! by markv242 · · Score: 3, Interesting

      Parent is the answer to why some providers ignore TTL, to prevent nutjobs like this from breaking the Internet.

    2. Re:You can use TTL to keep customers from leaving! by Mysticode · · Score: 3, Insightful

      Fine, set an upper limit on the TTL but don't ignore the TTL if it is lower than your limit.

    3. Re:You can use TTL to keep customers from leaving! by lachlan76 · · Score: 1

      But then wouldn't the provider *LOWER* the TTL?

  14. old TTL? by l33td00d42 · · Score: 3, Insightful

    it sounds possible the OP lowered the TTL on entries expecting that to have a retroactive effect on servers with the entries already cached. can we get confirmation that this is not what is happening?

    1. Re:old TTL? by disputin · · Score: 1

      That is the most likely scenario.

      I ran DNS server's for a major MSO (read cable company) and invariably, we'd get complaints about this topic.
      We would go look at the affected servers and see exactly what was described above. We would then check a separate set of servers and find the new correct data.
      Flush the first server's cache and voila everything fixed. We were tempted to just automatically flush the cache every couple of hours but never did that.

  15. If you want to help then by cluge · · Score: 5, Informative

    Send a plain text email to
    dns-subscribe@angrypeoplerule.com

    This is a moderated list, and is only for letting people who are interested know when the study will begin, how to participate and the final results.

    --
    "Science is about ego as much as it is about discovery and truth " - I said it, so sue me.
    1. Re:If you want to help then by schon · · Score: 1

      I'd like to know your methodology, as your article presents a rather fundamental lack of knowlege of DNS.

      First: What was the TTL before you changed it to 24 hours?

      Second: did you query specific DNS servers before and after the change, and measure the TTL they returned each time?

      Third: Why on earth do you think that you needed to reboot client machines?

    2. Re:If you want to help then by cluge · · Score: 1

      I'd like to know your methodology,

      Subscribe to the list and find out. It's being written - based on feedback.

      as your article presents a rather fundamental lack of knowlege of DNS.

      Looky here - a troll, or just an ignoramus.

      What was the TTL before you changed it to 24 hours?

      7 days. Testing wasn't carried out until a MONTH after I changed the TTL to be sure it had propagated correctly.

      Second: did you query specific DNS servers before and after the change, and measure the TTL they returned each time?

      Since most providers don't allow queries outside of their network, I relied on friends. I had these people (most of whom have little computer knowledge) and mostly windows systems performing a ping, and report what IP they got from their provider. I had them reboot before each "test" so that I was sure that they're own machine wasn't caching the DNS and creating the issue. While there are other methods, this is by far the simplest for the non technical. All that can be determine from this is if the DNS IP changed. Thus the post.

      Cluge

      --
      "Science is about ego as much as it is about discovery and truth " - I said it, so sue me.
    3. Re:If you want to help then by schon · · Score: 2, Insightful
      I'd like to know your methodology
      Subscribe to the list and find out.

      So you're developing the methodology for something you've already done?

      a troll, or just an ignoramus.

      Mu. If you ask people for help, then insult them when they respond with legitimate concerns, you're going to have a tough time getting recruits. My statement was based entirely on the text you wrote, which was liberally peppered with statements that show you do not have a strong grasp of DNS concepts. Specifically:

      You appeared to include details of your methodology, but included irrelevant details, and (as evidenced by your reply) omitted important ones. You have not yet even mentioned dig - whether you know what it is, or how to use it to troubleshoot DNS problems.

      Testing wasn't carried out until a MONTH after I changed the TTL to be sure it had propagated correctly.

      An example of important omitted information. Other things you omitted: Did you check the TTL (on the recursive server) before and after you made the change? Did you ensure that the recursive server was obtaining the new TTL, by checking the SOA? Did you determine if the recursive server was caching the SOA (technically you're not supposed to, but many DNS servers send a TTL with SOA replies, and it's possible that the implementation on your recursive server was caching the SOA.) Did you check the returned TTL via sequential, timed queries to see if it was changing properly?

      there are other methods, this is by far the simplest for the non technical

      It's also the one that provides the least amount of data, and is the least reliable. A windows batch file (created by you) with a clicky-clicky icon is only marginally more difficult, and would provide better, more reliable data.
    4. Re:If you want to help then by Fizzl · · Score: 3, Insightful

      Oh shut up already.

      If you don't want to volunteer, Fine.
      If you think that the poster doesn't know how to plan the test; go make your own test. ...With black jack, and hookers.

      He specifically said the test methodology will be improved on suggestions on the mailing list. How about contributing there instead of making an uppity jackass of yourself here.

      (Would like to post my rant AC, but I don't want you think the GP is responsible for this reply)

    5. Re:If you want to help then by Karma+Farmer · · Score: 1

      http://www.dnsreport.com/tools/dnsreport.ch?domain =www.angrypeoplerule.com

      Fix the failures before you repeat your test.

    6. Re:If you want to help then by schon · · Score: 1

      Oh shut up already.

      I will if you will.

      If you think that the poster doesn't know how to plan the test; go make your own test.

      "Don't ask questions, and don't embarass someone who wants to be in charge."

      He specifically said the test methodology will be improved on suggestions on the mailing list.

      Yes, and he also specifically said that he's done tests. I expressed concerns, and asked questions, and he insulted me. You're saying I have no right to respond?

      How about contributing there instead of making an uppity jackass of yourself here.

      Because it's easier to ask questions here rather than waste my time jumping through hoops to help someone who really has no clue what he's doing, and won't listen to people who do.

      You don't like what I wrote? Show me where I'm wrong. Otherwise shut your pie hole.

  16. old data by b1t+r0t · · Score: 4, Informative
    I've had problems before, but it turned out that it was usually my stupid secondary server which somehow didn't take the slave update (see below), and randomly that would be the one that gets queried and cached.

    And then there's the times when I just plain forgot to bump the serial number field. Works great on my master server after I restart it, but nothing else (especially my secondary) notices the change.

    --

    --
    "Open source is good." - Steve Jobs
    "Open source is evil." - Microsoft
  17. The reason is quite simple by Anonymous Coward · · Score: 0, Funny

    "Titty" is an adult word and therefore TTL is censored by many ISPs.

  18. TTL or bad zones? by Anonymous Coward · · Score: 0

    Could this be caused by improper setup of NS1 and NS2 servers? I've seen a few examples of this myself, everything from server's having their AXFR open to everyone, and yet not replicating, to admin's not removing obsolete NS server's from their server's.

    I predict DNS server's will be the next rogue type server similar to the DHCP server plagues..

  19. Efficiency reasons ? by TwentyTwo · · Score: 2, Interesting

    Perhaps this measure is meant to save some ressources on IPS's DNS servers if they have to query a lot of foreign DNS with low (and possibly overestimated) TTLs ?
    I don't really know in-depth DNS mechanisms, but maybe ISPs are keeping a minimum TTL according to the average time between two updates of a given DNS entry ?

    1. Re:Efficiency reasons ? by molecular · · Score: 0
      Perhaps this measure is meant to save some ressources on IPS's DNS servers if they have to query a lot of foreign DNS with low (and possibly overestimated) TTLs

      I doubt it. These queries are low bandwidth, even when occurring in large numbers.

      I much rather believe this is a conspiracy to make dial-up-connected servers seem unreliable. Large corporations don't like important sites changing their IP dynamically all the time. Makes them hard to track/prosecute.

      After all, IP adresses are a scarce resource...
  20. What's the point of not updating anyway... by GSloop · · Score: 5, Interesting

    DNS queries are figgin tiny...
    So, what's it really save you, even if you're a massive ISP to not obey the TTL's?

    The only thing it's going to save you is from having to go out to the root servers and pull it again when the TTL expires. And, I speculate that this really is a very, *very* small amount of traffic compared to the other traffic to those servers.

    I'd expect the highest bandwidth/resource users, by a very large margin, to be standard "in-TTL" answers to DNS clients.

    So, these cranks, for lack of a better term, simply bork the systems they manage for no appreciable gain from doing so. Reducing spam by 0.0001% would have vastly more impact on the servers they maintain than ignoring TTL's.

    Has anyone done any measurement stats on DNS queries. How much of the total traffic is DNS. I can't imagine it's even 0.5% of an average ISP.

    Cheers,
    Greg

    1. Re:What's the point of not updating anyway... by MadRocketScientist · · Score: 4, Informative

      Has anyone done any measurement stats on DNS queries

      According to my DNS hosting company's FAQ:

      "...or 200MB of usage is used (1 million DNS queries)"

    2. Re:What's the point of not updating anyway... by GSloop · · Score: 2, Interesting

      I just captured some DNS traffic. This isn't a recurrsive root DNS search, but just a client request.

      The Request for www.cnn.com was 71 bytes.
      The reply was 312 bytes.

      I think EasyDNS's estimation of traffic required to fulfill a DNS query is massively over estimated. I can't see one taking even 1K bytes, much less the 2K bytes they're "estimating."

    3. Re:What's the point of not updating anyway... by Malor · · Score: 1

      Well, a worst case scenario will involve a number of queries. First you hit the top-level asking for 'foobar.example.com'. Root server tells you 'talk to these people for .com'. You query the .com root server and it tells you 'example.com's nameservers are here.'. Then you ask example.com's nameservers, which could potentially redirect you again if foobar is a subdomain rather than a single server.

      Each of these queries is fairly short, except the last one, which can contain many A records. But there's more going on than just a simple request/reply, unless the information is already cached.

      In your case, you were either cached, or your nameserver did the recursive lookups for you.

    4. Re:What's the point of not updating anyway... by brainchill · · Score: 1

      it's true that it's .5% but if it's your bottom line and that extra .5% grows you out of an OC3 it's a 6 figure issue

    5. Re:What's the point of not updating anyway... by rcpitt · · Score: 1
      Has anyone done any measurement stats on DNS queries.

      I have a moderately busy web site with my Apache set to log with domain name rather than just IP address, so it does a lookup on each request. MRTG shows a direct correlation between the bandwidth from the web machine and bandwidth to/from the DNS server and the DNS server is doing absolutely nothing else at the moment but serving this one machine. I set it this way late last week when the site was posted on Yahoo's Buzz Log and activity went to 10 times normal. Offloading the DNS resolution to the spare machine helped keep the CPU less than 100% and reduced the wait queue ;)

      At the current 26-28 requests/second showing in the Apache status screen, the bandwitdh for the DNS machine is 1.5kByes/sec in and 2.2kBytes/sec out.

      --
      Been there, done that, paid for the T-shirt
      and didn't get it
    6. Re:What's the point of not updating anyway... by nuintari · · Score: 1

      Lookups take time, lookups on remote dns servers take a long tiem, lookups to a local dns server take significantly less, and lookups to localhost take less that that.

      Plus, you'd be surprised how much bandwidth dns servers tend to eat up. But speed is the biggest reason for it.

      Same reason web browsers have caches, its not to save server bandwidth (not as a primary concern at least), its to save the real world time of the client.

      --

      --Nuintari

      slashdot : where an opinion can be wrong.

    7. Re:What's the point of not updating anyway... by GSloop · · Score: 1

      Uh.... I think I already said that...

      I said..."This isn't a recurrsive root DNS search, but just a client request."

      But as a auth DNS server for a zone, you're only going to see a request about this length.

      An authoratative DNS server, what EasyDNS does, isn't going to need to do a recursive query to get records for a zone it's authoratative for.

      If you're a caching name server in the middle at an ISP you'll have to do that for zones you're not authoratative for...

      What I was getting at was the really large number of bytes that EasyDNS was estimating for serving a auth DNS zone request. It appears to me around four times larger than needed, and for sure at least two.

      Your point is more valid in the context of the ISP ignoring TTL's, but not to this exchange.

      Cheers,
      Greg

    8. Re:What's the point of not updating anyway... by Lennie · · Score: 1

      Actually, the last one is probably shorter then the first, as the others add additional (glue) records.

      There are probably more nameservers in .com then there are webservers for the domain your looking up.

      --
      New things are always on the horizon
    9. Re:What's the point of not updating anyway... by Anonymous Coward · · Score: 0

      cnn.com's DNS cache was one of the cache poisoning victims last week (IIRC) according to the handler's diaries at SANS internet storm center.

      --inode_buddha (not logged in)

    10. Re:What's the point of not updating anyway... by imroy · · Score: 1

      Huh? 200MB / 1 million =~ 200 bytes each. You're a whole magnitude off with the 2K you think they're "estimating".

    11. Re:What's the point of not updating anyway... by Cecil · · Score: 3, Interesting

      200 MB / 1 million queries = roughly 200 bytes per query.

      It's an underestimate, if anything.

    12. Re:What's the point of not updating anyway... by k12linux · · Score: 1
      Same reason web browsers have caches, its not to save server bandwidth (not as a primary concern at least), its to save the real world time of the client.

      Regardless, how much time/traffic are we talking about here? Even if you are talking about an extremely popular site, obeying a 1hr TTL is going to cost a couple extra packets per hour. Likewise it will only "slow down" one or two users per hour who are lucky enough to be the first to visit the site since the TTL expired.

      Even if an ISP had an override set to 1 day most people complaining about this would find that acceptable. But several weeks??? That's rediculous.

    13. Re:What's the point of not updating anyway... by complete+loony · · Score: 1
      11. Where can I get unlimited free DNS?
      Granite Canyon is the most well known free DNS provider. They will provide DNS, free of cost, for as many domains as you have. They are a little harder to use, and their servers aren't quite as reliable, but they are a great, completely free DNS solution.
      Wait, they're pointing their potential paying customers to a completely free service?

      ...

      Yeah I know, they're also suggesting that the free service is not as good, and hoping you'll come back.

      --
      09F91102 no, 455FE104 nope, F190A1E8 uh-uh, 7A5F8A09 that's not it, C87294CE no. Ah! 452F6E403CDF10714E41DFAA257D313F.
    14. Re:What's the point of not updating anyway... by GSloop · · Score: 1

      You're right. My math sucks. [Sarcasm] But hey, I was only off by an order of magnitude! [/Sarcasm]

      Cheers,
      Greg

  21. I know AOL used to be an offender, likely still is by muckdog · · Score: 5, Interesting

    Saving bandwidth is the only reason. It still a pain in the ass though. I found out the hard way when I though I was moving a website to a different IP address for the first time. I normally set the TTL to 7 days. So 7 day before the planned move I set the TTL to 1 hour. We switched the IP address and everthing was fine using ISP that followed DNS rules. AOL still had the address cached though. We didn't find out about teh problem with AOL right away. Our additude at the time was well screw the AOL users, there's no one importing using AOL anyways. I think it took a month before AOL finally updated to the right IP address. This definately makes it hard to do dns moves. At least with smtp you can add the mx record of the new server in advanced.

  22. Not laziness by wiredog · · Score: 1

    apathy.

    1. Re:Not laziness by Anonymous Coward · · Score: 0

      Not laziness...apathy.

      Who cares?

  23. Is there a valid technical reason to ignore TTL? by retro128 · · Score: 1

    I'd say so. If you are running a huge ISP, the bandwidth savings you'd get from caching DNS entries longer could be significant. It's a double edged sword, though...It'd certainly raise hell with dynamic DNS hosts, or networks that were in the process of changing ISPs and purposefully reduced their TTL to a very short time period to facilitate the switchover.

    But then, if you are a huge ISP, you probably don't care much about such things. As always, money trumps common courtesy. :-/

    --
    -R
  24. Re:For non geeks Actually by Anonymous Coward · · Score: 1, Informative

    Time to Live (TTL) when in relation to DNS issues is the maximum amount of time in seconds that a cacheing nameserver should cache an answer before going and checking again from an authorative source before handing it out.

  25. Re:TTL is useless, so who cares? by Kupek · · Score: 1, Flamebait

    Give me one good reason why TTL is useful.

    It allows caching.

    If you don't understand why that's an excellent reason or why it's useful, then you have an even poorer understanding of how DNS works and why it's around than I do, and I admit my understanding is rudimentary.

  26. So close... by Derek+Pomery · · Score: 4, Informative

    Pity you didn't paste the appropriate part of the wikipedia article.
    "TTLs also occur in the Domain Name System (DNS), where they are set by an authoritative nameserver for a particular Resource Record. When a Caching (recursive) nameserver queries the authoritative nameserver for a Resource Record, it will cache that record for the time specified by the TTL."

    http://en.wikipedia.org/wiki/Time_to_live

    --
    -- perl -e'print pack"H*","6e656d6f406d38792e6f7267"' /. ate my old sig. Bastards.
    1. Re:So close... by Anonymous Coward · · Score: 0
      It is bad enough that there are plenty of people who mindlessly use wikipedia as the end-all authoritative reference, but we're now being burdened by people who don't even know how to use it as a reference.

      "Hmmm ... time to live, that must be in the wiki! Hey, now I'm an authority and can mentor others on this topic!"

  27. Yes there is by NicolaiBSD · · Score: 0, Offtopic
    Is there a valid technical reason to ignore TTL?

    Yes there is, the other way around though. I used to maintain DNS servers for ISPs in the Netherlands and turned of caching completely. That way you prevent update problems and cache poisoning.
    DNS caching was invented when bandwidth and CPU time were expensive. Not the case anymore. Caching is silly.

    1. Re:Yes there is by Kupek · · Score: 4, Insightful

      Caching, at all levels of computing, gives enormous performance gains. In the DNS world, without caching, everyone would hit top level domains which would introduce a serious bottleneck to what should be a distributed system.

    2. Re:Yes there is by Anonymous Coward · · Score: 0

      This is not a valid technical reason to ignore TTL, this is a gross misunderstanding of the purpose of caching.

      Be a good citizen. Turn your caches back on. And please read up on DNS if you're administering DNS server.

    3. Re:Yes there is by schon · · Score: 1

      Caching is silly.

      Yeah, because if *ONE* of the DNS servers can't be reached, it's OK to make your users wait for the first query to timeout, right?

    4. Re:Yes there is by Anne+Thwacks · · Score: 1
      Yeah - well if the caches contain out of date crap, we can look forward to people bashing the hell out of root servers.

      Theres dumb, and there's Amerca's dumbest ...

      --
      Sent from my ASR33 using ASCII
    5. Re:Yes there is by Cyn · · Score: 1

      Precisely. How dare people try to indicate when information will no longer be correct and the cache should be refreshed.
      We should just cache the internet for 10 years and save ourselves all that DNS traffic. Servers never change IPs anyways (at least, if we all cache for 10 years they better not plan to!).

      --
      cyn, free software and *nix operating systems enthusiast.
    6. Re:Yes there is by Kupek · · Score: 1

      Precisely. How dare people try to indicate when information will no longer be correct and the cache should be refreshed.

      That is done through - wait for it - the TTL. Setting a low TTL means your data is more likely to be accurate, but increases communication costs. Setting a high TTL means your data is less likely to be accurate, but decreases communication costs. Obviously there is a happy medium somewhere, depending on the application.

      Nothing in my post said we should cache information indefinitely; that's not a cache, that's storage. But eliminating it entirely would bring top level domain servers to their knees.

  28. reboot? by grazzy · · Score: 5, Informative

    (Thanks to my friends and relatives with dial ups and DSL who put up with me and my requests to reboot their machine daily!).

    ipconfig /flushdns

    1. Re:reboot? by Anonymous Coward · · Score: 0

      ipconfig /flushdns will only help you with things that your personal computer has cached.

      The topic here is that some ISP's DNS servers aren't playing nice, so you can flush your own DNS cache all day long, and it'll still pick up the same outdated record that the ISP has...

    2. Re:reboot? by richyoung · · Score: 1

      Right. But rebooting doesn't change that either. What parent is suggesting is that running

      ipconfig /flushdns

      saves his friends/relatives the trouble of rebooting, not that it magically fixes the broken ISP DNS problem the poster is investigating.

      --
      6. Audible Alarm (not shown)
      -from a Cuisinart product owner's manual.
    3. Re:reboot? by Andrewkov · · Score: 1

      And to do the same thing on Windows XP:

      sc stop dnscache
      sc start dnscache

      Why don't they include a "restart" option? :-)

    4. Re:reboot? by Anonymous Coward · · Score: 1, Informative

      And to do the same thing on Windows XP:
      sc stop dnscache
      sc start dnscache

      or, just use
      ipconfig /flushdns
      like the GP suggested and save yourself some typing

    5. Re:reboot? by Anonymous Coward · · Score: 0

      Now would be the time for other people to chime in with the *nix, equivilents. (No, really, I'm interested...configuring network params from teh command line is a pain in Darwin)

    6. Re:reboot? by grazzy · · Score: 1

      I never had a problem with DNS cache in Linux atleast, just switch the DNS-server in /etc/resolv.conf and you're set...

      Or use dig/nslookup/host/whatever utility is the shit today to find out..

      Use the manpages Luke.

    7. Re:reboot? by Anonymous Coward · · Score: 1, Interesting
      Now would be the time for other people to chime in with the *nix, equivilents.

      I'm MUCH more interested in how to get Mozilla to stop keeping its own DNS cache, or even remembering where the nameserver came from; at least on OS X.

      Any time my IP changes (wired to wireless, say) while Mozilla is running, it goes off into never-never land and stays there.

      Even on Windows it has its own resolver library, so if you're mucking about with changing a DSL gateway's identity, you have to quit completely and restart it.

      Grrrr.

    8. Re:reboot? by Anonymous Coward · · Score: 0

      Try Camino? Go for the latest nightly build and avoid the retarded tabbing system of 0.8.3 and earlier - that was the only thing that stopped me using it over Firefox on OS X. While it doesn't have the plugin support that Firefox does, aside from the WebDev bar I don't need any, so don't miss 'em (YMMV, of course). The benefits of an app that uses the OSes widgets/integration to Keychain/etc. sold it for me, it's fantastic!

  29. BW by whackco · · Score: 2, Insightful

    Because its the 'save $0.05 a million times' attitude for alot of them. The CTO recognizes that by saving that little tiny bit of bandwidth he can save a fraction of a penny, accumulated over a period of time.

    The other problem is lazy or incompetant sysadmins...

    1. Re:BW by fimbulvetr · · Score: 0

      PETER
      Ah, no. No. You don't understand. It's, uh, very complicated. It's, uh,
      it's, it's aggregate so I'm talking about fractions of a cent that, uh,
      over time, they add up to a lot.

      JOANNA
      Ok. So you're gonna make a lot of money, right?

      PETER
      Yeah.

      JOANNA
      Ok. That's not yours?

      PETER
      Well, it, it becomes ours.

      JOANNA
      How's that not stealing?

      PETER
      I don't think, I don't think I'm explaining this very well. Um, this
      Seven Eleven, right? If you take a penny from the tray -

      JOANNA
      From the crippled children?!

      PETER
      No, that's the tray. I'm talking about the tray. The penny's for
      everybody.

      JOANNA
      Oh, for everybody. Ok.

      PETER
      Yeah, well, those are whole pennies.

      JOANNA
      Yeah.

      PETER
      Right. I'm just talking about fractions of a penny here, but we do it
      from a much bigger tray. A couple of million times. So what's wrong
      with that?

      JOANNA
      It seems wrong.

    2. Re:BW by Anonymous Coward · · Score: 0
      Dude, Family Guy rules!

      Thanks for posting that. That episode was hilarious.

    3. Re:BW by Anonymous Coward · · Score: 0

      Uhh, dude, that was office space.

    4. Re:BW by pfleming · · Score: 1
      Dude, Family Guy rules! Thanks for posting that. That episode was hilarious.
      That was from Office Space....
      But by now... I'm either redundant, fell for a troll or both.
  30. TTL timings by Anonymous Coward · · Score: 0

    Lowering the TTL to twenty four hours, and making changes and then checking to see when a change was picked up.

    Lowering the TTL from what? Perhaps the former TTL had not expired, in which case all your tests were bogus. Did you wait for 2 times your former TTL before beginning your tests, to ensure all DNS servers out there would see your new 24-hour TTL?
  31. Classical Economics by cyngus · · Score: 1

    Its a classical economic tradeoff. You have less accurate information, but you use less resources to get it. Quickly updated DNS servers means bandwidth and processing power. The queston is how to find the amount of time that is "good enough" for the target users. Honestly, how often should a domain's IP be changing? Maybe every day at most, and I think this is pushing it. If you've got a domain that changes more often than that, perhaps you should be relying on something other than the global DNS system to route your changes down to users. Special needs require special software.

  32. Spammer zombies too by AndroidCat · · Score: 2, Interesting

    Some spammers setup DNS for web sites so that it's continually rotating through a number of different IPs, probably a number of them zombied PCs with web servers. The real stuff like transactions gets passed to other servers, but these disposable boxes act as lightning rods: A spam run won't be wasted if a few of them get complaints and taken down.

    --
    One line blog. I hear that they're called Twitters now.
  33. Test case by Other · · Score: 4, Insightful

    I'm a bit curious about this test case. It says the TTL was changed TO 24 hours and then checked to see how long it took for results to propogate. What was the TTL set to for these entries before the change? If it was set to 2 weeks and was just queried before the change occured, there is no reason for the server to recheck just because it was changed to 24 hours.

    The TTL should stay the same for a while and then try simply making a change without modifying any other configuration to avoid any other problems with this test.

    1. Re:Test case by schon · · Score: 1
      If it was set to 2 weeks and was just queried before the change occured, there is no reason for the server to recheck just because it was changed to 24 hours.

      Exactly. Dig returns the TTL remaining - he could have determined exactly where the problem was by simply issuing sequential queries with dig and seeing what the TTL values were:
      $ for i in 1 2 3 4 5; do echo "Try" ${i}; dig +noall +answer www.google.ca @nsc1.ar.ed.shawcable.net; sleep 5; done
      Try 1
      www.google.ca. 19439 IN CNAME www.google.com.
      www.google.com. 273 IN CNAME www.l.google.com.
      www.l.google.com. 202 IN A 64.233.167.104
      www.l.google.com. 202 IN A 64.233.167.99
      www.l.google.com. 202 IN A 64.233.167.147
      Try 2
      www.google.ca. 19433 IN CNAME www.google.com.
      www.google.com. 267 IN CNAME www.l.google.com.
      www.l.google.com. 196 IN A 64.233.167.99
      www.l.google.com. 196 IN A 64.233.167.147
      www.l.google.com. 196 IN A 64.233.167.104
      Try 3
      www.google.ca. 19427 IN CNAME www.google.com.
      www.google.com. 261 IN CNAME www.l.google.com.
      www.l.google.com. 190 IN A 64.233.167.99
      www.l.google.com. 190 IN A 64.233.167.147
      www.l.google.com. 190 IN A 64.233.167.104
      Try 4
      www.google.ca. 19421 IN CNAME www.google.com.
      www.google.com. 255 IN CNAME www.l.google.com.
      www.l.google.com. 184 IN A 64.233.167.147
      www.l.google.com. 184 IN A 64.233.167.104
      www.l.google.com. 184 IN A 64.233.167.99
      Try 5
      www.google.ca. 19416 IN CNAME www.google.com.
      www.google.com. 250 IN CNAME www.l.google.com.
      www.l.google.com. 179 IN A 64.233.167.104
      www.l.google.com. 179 IN A 64.233.167.99
      www.l.google.com. 179 IN A 64.233.167.147
      See if it's decrementing the TTL properly; do a dig for the SOA to see if it's pulling the new SOA; once the TTL reaches zero, do the test again and see if it's honoring the new TTL.
  34. Why would you reboot? by Karma+Farmer · · Score: 4, Insightful

    Thanks to my friends and relatives with dial ups and DSL who put up with me and my requests to reboot their machine daily!

    If you're rebooting client machines to check DNS records, then I'm forced to view your entire study with caution.

    1. Re:Why would you reboot? by randyflood · · Score: 1

      I'm guessing that they rebooted the machines in order to get a different ip address and potentially a different DNS server... Remember, these are relatives we are dealing with. So, that is the easiest way to exaplain it to them. You probably couldn't give them a really complicated test procedure where they tried out different dns servers manually. They would be soooo confused by that.

      --
      Randy.Flood@RHCE2B.COM
    2. Re:Why would you reboot? by GNUALMAFUERTE · · Score: 1

      He reboots them because they are windorze workstations, and windorze has a stupid DNS cache. Anyway, there is a dos command to flush it, ipconfig /flushdns. Shit, / as an argument separator, it hurts my eyes!.

      --
      WTF am I doing replying to an AC at 5 A.M on a Friday night?
    3. Re:Why would you reboot? by terraformer · · Score: 2, Insightful

      Ever had your mom try to type ipconfig /flushdns in a dos prompt???
      I'd imagine rebooting was easier.

      --
      Who are you? The new #2 Who is #1? You are #617565. I am not a number, I am a free man! Muhahaha.
    4. Re:Why would you reboot? by SuiteSisterMary · · Score: 3, Funny

      "Ok, grandma, open the start menu, now select run. Ok, now type c-m-d. No, grandma, m. MMMMM. M as in Mike. Ok. No, grandma, D. DEEEEE. Not g. D. Ok, now did a big black box open up? No? Oh, you're on Windows 95/98, you'll need to reboot."

      --
      Vintage computer games and RPG books available. Email me if you're interested.
    5. Re:Why would you reboot? by Anonymous Coward · · Score: 0

      Do it all the time at work with users. Usually no problem getting them to the command prompt.

      Oh, and it isn't DOS.

    6. Re:Why would you reboot? by no-karma-no-worries · · Score: 1

      Well, probably not much uptime was lost...

    7. Re:Why would you reboot? by bcmm · · Score: 1

      LOL, but I had to do this, I.E. get an IP address from my Grandmother. Thankfully, we now have VNC on their machine so I don't need to talk her through any computer stuff ever again (and I'm not going to just pop round and fix it locally - they live in Australia and I live in Britain).

      So in summary, VNC is great for everyone!

      --
      # cat /dev/mem | strings | grep -i llama
      Damn, my RAM is full of llamas.
  35. comcast by gelwood · · Score: 2, Informative

    Last week, two nights in a row, Comcast's DNS was down NATION(USA) WIDE.

    1. Re:comcast by Anonymous Coward · · Score: 0

      Yep, and their standard response is there's nothing they can do. I simply opted to re-enable my own DNS server, since other services were failing to operate.

    2. Re:comcast by prisoner · · Score: 1

      We've had a terrible time with Comcast DNS in Northern VA. I've switched many of our customers to Verizon DNS. Verizon probably ain't real happy about it but they've got the four most popular name servers on the internet. Everybody uses 'em for ping and dns tests although .1 has been somewhat crabby lately.

  36. How to check your DNS by jkujath · · Score: 4, Informative
    I queried twelve outside DNS servers/caches that I had access to (Thanks to my friends and relatives with dial ups and DSL who put up with me and my requests to reboot their machine daily!).

    Why did you need to contact your friends/relatives to check whether or not your domain gets propagated?
    Couldn't you just query DNS servers directly using nslookup and/or dig?
    Querying them directly would eliminate you from wondering if the machine you are checking from has the DNS cached and you wouln't need to flush it (why would you need your friends/relatives to reboot their machines?). Not to mention the amount of time you would spend in having to coordinate this type of testing.
    Even if you don't want to use nslookup and/or dig from your Windows/Linux/Mac/whatever, there are tools available via the web that can help as well.
    This certainly is not a list of all the tools, or even the best ones... they're just ones that I have used in the past:

    dig Web-based "dig" tool
    nslookup Web-based "nslookup" tool
    DNS Report Checks for DNS errors and provides nicely formatted information on a given domain
    DNS Stuff Various web-based DNS tools

    --
    "Very funny, Scotty. Now beam down my clothes."
    1. Re:How to check your DNS by iainl · · Score: 2, Informative

      I'm just guessing here, but the ISPs are probably keeping their DNS servers on their client's side of the wider net, and only accept queries from their own users to avoid being DOSed.

      --
      "I Know You Are But What Am I?"
    2. Re:How to check your DNS by jkujath · · Score: 1

      Ah. You're saying that the original poster may have needed to contact his family/friends so that he can query their local ISP DNS servers since he may not have been able to (they block anyone outside of their own IP blocks). That makes sense and it didn't occur to me when I read the original post.

      --
      "Very funny, Scotty. Now beam down my clothes."
  37. direcway.com SUCKS by Mustang+Matt · · Score: 3, Interesting

    I submitted a story similar to this one about a month ago regarding my experiences with direcway.com.

    One of my customers was behind their network and we moved his email to our server. They couldn't access their domain name of course since it didn't exist on the server direcway's dns pointed to.

    So I called them. Huge mistake. I spent hours on the phone escalating through foreign phone monkies until I made it to someone in management. Her attitude was that I was in the wrong regardless of what I had to say. Finally she lowered her defense just long enough to see that I was right but told me there was nothing they could do and that I wasn't allowed to talk to the people that run the DNS servers.

    So I wrote a nasty little letter to corporate. 4 days later it was fixed. Not sure if the letter helped or not.

    --
    The man who trades freedom for security does not deserve nor will he ever receive either. - Benjamin Franklin
    1. Re:direcway.com SUCKS by nb+caffeine · · Score: 1

      Yeah, dont get me started on those guys. My parents use direcway (live in the middle of nowhere). We even have the buisness grade connection (ill be damned if i can remember the name). Torrents are useless, but notonly useless, destroy the whole connection for 3k/s up and down. I dont understand it. Thats just the tip of the iceberg. Ive noticed times when i could ping servers via ip, but their DNS was down (frequently). Direcway is a joke, but about the only option for those who enjoy living out in the wilderness.

      --

      "Something's wrong with you...and I hope we never do meet again." - Deftones When Girls Telephone Boys
    2. Re:direcway.com SUCKS by vertinox · · Score: 1

      In most maajor ISPs, (and I have worked for one of them) is that I am under the impression that the people that you can reach on a phone are not allowed to speak with the people at the NOC and have no means to communicate with them other than forms or email.

      Although I knew people in the NOC and could aim them, but only because I knew them from outside of work.

      --
      "I am the king of the Romans, and am superior to rules of grammar!"
      -Sigismund, Holy Roman Emperor (1368-1437)
    3. Re:direcway.com SUCKS by Mustang+Matt · · Score: 1

      I see your point but as much time as I had spent on the phone going through 5 or 6 levels of people and the fact that I was told there was no one higher I could go to I was under the impression that this person could allow me to communicate or directly relay a message to the NOC.

      I'm used to professional services such as my ISP (savvis) offers. You call and generally you get someone who is in the same ballpark as myself on knowledge of how things work and how to fix things. I don't think that's asking too much.

      What scares me is what if it had been some sort of emergency. I can't think of any valid examples, but I guess the police would be involved in any real emergencies.

      --
      The man who trades freedom for security does not deserve nor will he ever receive either. - Benjamin Franklin
  38. Spam still coming to old IP address by G4from128k · · Score: 1

    We switched mail servers at our web host and that changed the IP addy of our mail. Two weeks later I looked at the mailboxes on the old server and find that they were still getting about a 10-20 spams per day.

    As an aside, whitelisting our valid email accounts and filtering mail "received from" our own IP addy knocks out about 20-30% of our spam. It appears spammers try to sneek one past by spoofing the header to look like it came from inside. If so, spammers use DNS to get IP addys and then use the IP. I doubt they even think about TTL.

    --
    Two wrongs don't make a right, but three lefts do.
    1. Re:Spam still coming to old IP address by koehn · · Score: 1

      I can confirm that spammers often try to send your mailserver's IP address as a HELO message, in the hopes that dumb sysadmins will think the message came from their own networks. I set up a postfix policy to reject these messages before the DATA command is sent (thus they never consume my bandwidth with the message), saving my users from a few hundred spams. Most MTAs will put not only the HELO message but also the actual IP address that sent the message in a Received: line, for diagnostic purposes.

      I used to play other DNS games to fool spammers, like putting bogus MX records that point to nowhere, and giving them high indexes. The spammers in an effort to bypass Postini-like filters often try to send to higher MXs first, rather than lower ones like the spec says.

  39. People abusing it on the other end... by Evro · · Score: 4, Interesting

    I've heard from a few people that many people are setting their TTL to like 5 minutes; due to this the ISPs are ignoring the TTL.

    --
    rooooar
    1. Re:People abusing it on the other end... by sabat · · Score: 2, Insightful

      Setting a low TTL is not abuse; it's good administration. You need a short TTL in case of outages or other emergency actions. The bandwidth is negligible, even if thousands of sites do this. The ISPs are run by idiots.

      --
      I, for one, welcome our new Antichrist overlord.
    2. Re:People abusing it on the other end... by jilbert · · Score: 1

      Yes, it isn't abuse. I have a DynDNS.org account for my ADSL account which sets a TTL of 60 seconds.

      But my ISP is not run by idiots - their DNS servers respect this TTL. (I just checked with dig.)

    3. Re:People abusing it on the other end... by Supertroll · · Score: 1

      Setting a low TTL is not abuse; it's good administration. You need a short TTL in case of outages or other emergency actions.

      It's also the way that services like dyndns.org work. If your dialup or DSL IP is changing all the time, you need very short TTLs.

    4. Re:People abusing it on the other end... by drew · · Score: 1

      At the place where I work, we use 5 minute TTLs. It used to be lower, but after experimenting for a while the admins discovered that 5 minutes is the smallest amount most ISP's whill honor before just defaulting to 24 hours. I would imagine most ISP's honor the 5 minute TTL, if only because we deal with enough traffic, and we use DNS to direct traffic among multiple datacenters, that I think I would have heard if we had problems with lage numbers of users getting stale DNS information.

      I think in this case, the more likely answer is (as someone else suggested) that this guy had been running his DNS with TTL set at 2 weeks, and then one day decided to change it to 1 day, and wondered why everything was still cached for 2 weeks. I think the default in pretty much every sane DNS server is to respect the TTL, and I can't imagine there are that many admins that would go out of their way to break it for a very small savings.

      --
      If I don't put anything here, will anyone recognize me anymore?
    5. Re:People abusing it on the other end... by grinder · · Score: 1

      ok, in that case I wouldn't blame them if they lifted the minimum TTL that they choose to honor to be an hour. But the OP is talking about 2 weeks. That's abusing it big time.

      More to the point, if some people set their TTLs to 5 minutes, who cares? If, to a first approximation, you never query them, each time a request comes in you'll have to go and fetch it anyway.

      /me notes in passing that Google's TTL is a mere 2 hours...

    6. Re:People abusing it on the other end... by fm6 · · Score: 3, Insightful
      The bandwidth is negligible, even if thousands of sites do this.
      But there are millions of sites out there. Still negligible?

      If DNS bandwidth were a non-issue, you wouldn't even be able to set TTL -- it would just be hardwired to a small value. But it is. Don't lapse into spammer logic: "I'm only wasting a tiny amount of resources, so it doesn't matter." But it does matter, because lots of other people are thinking the same thing.

    7. Re:People abusing it on the other end... by Anonymous Coward · · Score: 0

      It's only good administration if you are likely to change addresses with short notice.

      The only time I can see it being "good administration" is if:

      a) you're on a dialup using dyndns
      or
      b) you're moving networks so lower the TTL for a week or two beforehand.

      It's not good to leave it low all the time. That could count as abuse as DNS relies on a lot of trust and by not using the TTL records properly you as a hostmaster are abusing that trust.

    8. Re:People abusing it on the other end... by jauren · · Score: 1

      If you use something like dyndns.org to run a personal server from your home even w/ a dynamic IP address, you want a low TTL (mine is 5 min) so that, when your IP address changes, you've only (theoretically) got 5 minutes of downtime.

      --
      A foolish inconsistency is not excused by a reference to Emerson.
    9. Re:People abusing it on the other end... by Anonymous Coward · · Score: 0

      Caching is primarily important in order to eliminate latency, not so much to preserve bandwidth.

      Consider the ratio between the size (and packet count) of a DNS query/response and the actual subsequent transfer of data that is done using that response for any typical use.

    10. Re:People abusing it on the other end... by bogado · · Score: 1

      ou have millions of sites, but you do not have millions of users requesting all those sites. Usually you won't need much more than a few site per minute for each user you have, and many of them will be of large sites that you will probably have cached in your DNS.

      TTL and cache is significative for DNS that are in the lower part of the DNS tree. If there were no caches every request would end up in one of the root servers and this would be (very?) serious.

      --
      []'s Victor Bogado da Silva Lins

      ^[:wq

    11. Re:People abusing it on the other end... by mysticalreaper · · Score: 1

      Why do you use 5 minute TTLs? Do you really have machines that change IPs with less that 5 minutes of lead time?

    12. Re:People abusing it on the other end... by sabat · · Score: 1

      Even millions of sites don't add up to that much. Let's say it's still a problem: why not just set a minimum threshold? Maybe publicize that the minimum TTL you will accept is 30 mins. Or 60 mins. At least sites stand a chance. The way things are -- with ISPs not updating DNS for a month at a time -- sites that have been hacked or that are changing providers are completely hosed.

      --
      I, for one, welcome our new Antichrist overlord.
    13. Re:People abusing it on the other end... by Antique+Geekmeister · · Score: 1

      Because when he makes any change in his DNS, he wants it to show up nearly immediately. Never mind that a hand-executed "reload" command can be sent to those servers when he checks his edited DNS files into his source control system automatically. And if you're not using source control for your DNS changes, you should go to a different line of work.

    14. Re:People abusing it on the other end... by drew · · Score: 1

      it's not me personally- i'm only a developer, i just heard the description from one of our operations guys.

      we have multiple data centers around the state and we host dozens of sites for multiple clients. we keep up-to-date copies of each site in each data center, but we only serve each site from one data center at a time. having 5 minute TTLs in our DNS records allows us to shift which data center we are hosting a given site out of with little or no notice in case of problems or maintenance needs.

      there are of course very expensive ways that we could achieve the same results without mucking with DNS, but from what i understand, the DNS system that they put in place back when they didn't have the money for more expensive failover systems has worked well enough that they never really saw the need to spend more money on a 'better' solution.

      --
      If I don't put anything here, will anyone recognize me anymore?
    15. Re:People abusing it on the other end... by mysticalreaper · · Score: 1

      You are aware that TTLs are set on a per-record basis, right?

      So the process goes like this. You realize that some server will be moving to a new IP (for example). The TTL is currently 24 hours. Change the TTL to 5 minutes. Wait 24 hours for all old cached records to expire. Then, move your server, change the record, and voila, no one will remember the old record for more than 5 minutes. The updated record with the new IP can have it's TTL set back to some high number, like 24 hours.

      The only reason you would want to put a low TTL on a record and leave it there is if you expect that record to change, and thus the clients to need new information. As an example, a small IRC network i run has servers that are prone to failing. The TTL on the round-robin DNS record is 10 mins, cause i want people to have a minimum amount of time (less than 10 mins) where they could attempt to connect to a downed server. However, the IN A record of the actual server (who's IP isn't changing, they're just down) is much higher, i think 6 hours.

      In additional response to the parent: DNS is not instant. You can chose the length of others caching your info, so you should chose judiciously. Nothing in your comment contradics this.

    16. Re:People abusing it on the other end... by mysticalreaper · · Score: 1

      Ah i see, you're actually using DNS as a fail-over procedure. This is valid, i guess, and in my other comment (just above, it should appear) i actually use this in my own setup, but only because i have a shoestring budget.

      For failure, using DNS like this is poor, (your response time is still 5 minutes) but using it as a maintenence method to move traffic to a different cluster should work just fine.

      I suppose i didn't expect your fail-over procedures to involve DNS, because i do not feel DNS is a very good solution. But it makes sense. Thanks for the response.

    17. Re:People abusing it on the other end... by Anonymous Coward · · Score: 0

      Except, of course, for old Windows DNS servers and caching servers that use a 24-hour DNS no matter what you do. There are too many such old DNS servers still in use to ignore the problem.

      I've seen the problem on a professional basis on a world-wide company's DNS records. The results of trying to rely on actual $TTL records weren't pretty.

  40. dnscache, BIND, and Windows DNS by Anonymous Coward · · Score: 0

    I actually just tested dnscache, BIND, and Windows DNS, and by default they all respect A record and CNAME TTLs. one of theme (i forget which one, Windows DNS, or BIND, actually drop the cache entry 1 second before the TTL is about to expire).

    Browsers caches are a different story, however. Try to figure out Internet Explorer's caching strategy. it took me a few days before I realized it uses a floating 2 minute TTL.

  41. Bypass their DNS by kherr · · Score: 4, Interesting

    I solved the problem by routing around the providers' poor DNS servers by pointing my home LAN to my own DNS server on my colo box. I run a DNS server in my house which then identifies my colo DNS server(s) with the forwarders option. Instead of relying on who-knows-what from the ISPs I use my own DNS server that I set up and am responsible for.

    I know it's not a solution for everyone, but it does let me avoid stupidity. And having my own, reliable DNS server sure came in handy recently since Comcast has been having bad DNS problems the last couple of weeks.

    1. Re:Bypass their DNS by calibanDNS · · Score: 2, Interesting

      I'm also running my own DNS server after seeing my ISP's DNS Servers go down almost daily for a couple of months. This is a fine solution for me and my small network, but doesn't address the problem of ISPs not configuring their DNS servers properly.

      Even if you run your own DNS, your server still has to pull its data from some root server, and if that server isn't reliable, then your server isn't reliable either. You could avoid this by pulling from THE root DNS servers, but if everyone did that it would put undue strain on the root servers.

    2. Re:Bypass their DNS by tchuladdiass · · Score: 2, Informative

      I've always run my own dns server on my home network, but lately I've noticed several dns servers refusing connection from my cable modem ip. Apparently they are a bunch of service providers that blacklist direct connections from dynamic ip address, probably in responce to ddos attacks. So, in order to have reliable dns I will need to configure my server to forward to my isp's dns server whenever it fails to make a direct connection itself.

    3. Re:Bypass their DNS by Taladar · · Score: 1

      AFAIK only information about top-level DNS-servers (the ones for .com/.net/.org/.us/.uk/.de/...) is available at the root DNS servers and I don't think the TTL for those is that low.

    4. Re:Bypass their DNS by petermgreen · · Score: 5, Informative

      the root servers aren't recursive resolvers so you aren't really pulling from them in any meaningfull sense. you are just hitting them very occasionally when you use a new tld. Most of your data comes direct to your resolver from the authoritive nameservers. also the root nameservers are things that ABSOLOUTELY MUST STAY UP and measures would be taken to spread the load further if needed (this has already been done with bgp anycast for k-root).

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    5. Re:Bypass their DNS by slavemowgli · · Score: 2, Informative

      It's generally a good idea to not rely on your ISP's DNS servers too much. Personally, I just use an OpenNIC server, with one of my ISP's servers as a fallback - that way, I don't get any of the occasional timeouts, failures of new records to propagate properly and all that. Really, ISPs should focus on providing the connection, nothing more. I don't use my ISP's mail servers for email, and I don't use their nntp servers for Usenet; why should I use their name servers for DNS requests?

      --
      quidquid latine dictum sit altum videtur.
    6. Re:Bypass their DNS by fm6 · · Score: 2, Insightful

      A nice hack, but kind of beside the point. Outdated DNS information is pretty unimportant to most web users. How many people routinely access sites that routinely change their IP numbers? Who it matters to is web providers, who are effectively offline if their site names don't resolve properly. A savvy user can work around this kind of problem (if nothing else, by entering the IP number). But only a tiny fraction of users are that savvy.

    7. Re:Bypass their DNS by Anonymous Coward · · Score: 0

      So can the rest of us just put 207.195.195.211 in our DNS settings to use your server?

      Aha, so it IS a solution for everyone!

    8. Re:Bypass their DNS by Transcendent · · Score: 4, Informative

      You could avoid this by pulling from THE root DNS servers, but if everyone did that it would put undue strain on the root servers

      That's not how DNS works.

      The root servers simply point you into the direction of the authorative DNS server for a given domain name. That is why you have to register who is going to be the DNS server for any given domain so the root servers can point people to it. Your own DNS then caches the response from the DNS server (not the root) locally, only updating it after the TTL is expired (which isn't always happening with the provider's DNS, hence the problem).

      The root servers are reliable... they have to be. Sure there have been DoS attacks and the like on them before, but they only need to update themselves for new domain name server registrations (which last I heard is every 5 minutes? So that's a much better "ttl").

    9. Re:Bypass their DNS by slavemowgli · · Score: 1

      Do you think? I'm not sure, but I really doubt it... but then, IANAL, and stranger things are possible in the USA.

      --
      quidquid latine dictum sit altum videtur.
    10. Re:Bypass their DNS by KiloByte · · Score: 1

      Having your own DNS server on your border router isn't a bad idea, even if your LAN is relatively poorly connected.
      My ISP's DNS server keeps going apeshit -- my own one at home works when and only when my connection is up. And uhm, that means it's working exactly when the response is meaningful anyway.

      However, you can bypass only queries done by _you_. If you want to have a name for your dynamic IP box (using Dyndns or the equivalent), you'll name will be sabotages by providers guily of the practice mentioned in the article.

      An example: my home LAN gets its IP forcibly changed every >24h. Whenever this happens, I update my zone file on my domain's primary NS and let bind do its magic to notify the secondary. With a TTL of 10 minutes.

      Now, let's assume that 10 minutes get changed to 7 days. It means that I can ssh home... a week after the IP has been invalidated. Schweet.

      --
      The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
    11. Re:Bypass their DNS by Cat_Byte · · Score: 2, Informative

      Some IPs have multiple sites and have to resolve by url rather than IP. It probably isn't all of them giving you this problem but it may be part of it.

      --
      Two roads diverged in a wood, and I - I took the one the bus load of girls just went down.
    12. Re:Bypass their DNS by John+Hasler · · Score: 1

      > If comcast's dns gets poisoned and sends me to a
      > phishing bank site that I login to, and I get all
      > my money stolen, I could sue comcast... I think?

      You'll lose. Among other things, read the TOS.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    13. Re:Bypass their DNS by The+Conductor · · Score: 1
      dns gets poisoned and sends me to a phishing bank site

      That's what signed SSL keys are for. If the signature doesn't match you get a warning. You're not banking in the clear on http: are you? On an unpatched Win box? With IE?

    14. Re:Bypass their DNS by 2old2rockNroll · · Score: 3, Funny

      You're not banking in the clear on http: are you? On an unpatched Win box? With IE?

      Of course not. That's what telnet's for.

    15. Re:Bypass their DNS by ArbitraryConstant · · Score: 1

      It's also a PITA if it's a virtual host because the webserver may not respond with the correct site if you simply enter the IP address.

      --
      I rarely criticize things I don't care about.
    16. Re:Bypass their DNS by geniusj · · Score: 5, Informative

      To be even more specific, here is how a typical lookup happens (assuming NO cached data):

      Specifics per implementation might be off, but either way it ends in the same result:

      Recursive -> Root Server: "ANY? www.google.com"
      Root Server -> Recursive: "com NS a.gtld-servers.net ....."
      Recursive -> a.gtld-servers.net: "ANY? www.google.com"
      a.gtld-servers.net -> Recursive: "google.com NS ns1.google.com ...."
      Recursive -> ns1.google.com: "ANY? www.google.com"
      ns1.google.com -> Recursive: "www.google.com A 1.2.3.4 ... google.com NS ns1.google.com"

      As you can see, the root server only provides information for the top level domains. Those being com, org, us, uk, au, etc.

      It's commonly thought that they handle things like 'google.com' which isn't true. google.com, in thise case, would be known by {a,b,c,d,etc}.gtld-servers.net. Each TLD has its own nameservers, obviously. But com and net use those.

      As for the TTL issue. I do offer Dynamic DNS which has a default TTL of 180 seconds, however I have not run into this personally. Or myself and my users just haven't noticed it.

      Regards,
      -JD-

    17. Re:Bypass their DNS by geniusj · · Score: 1

      Something I forgot on my little crappy diagram is the fact that you have to also lookup the addresses for the nameservers that the GTLD servers and will give you. And if these are not handled by the GTLD server, e.g. if yourdomain.com uses DNS servers under .org, then it has to start from the beginning and get the IP of that DNS server as well. Otherwise, it will be provided as additional information in the response from the gtld server.

    18. Re:Bypass their DNS by afidel · · Score: 1

      In that case you just add a HOST file entry for the corrected IP and hostname. I've used this trick to check client systems immedietly after making a major change that our own caching DNS servers haven't picked up (generally I set client TTL down to 30 minutes before an expected IP change, I often have to test less than a half hour after the change). This allows you to test virtual servers without relying on outside DNS servers to provide the correct info.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    19. Re:Bypass their DNS by Anonymous Coward · · Score: 1, Funny

      "Instead of relying on who-knows-what from the ISPs I use my own DNS server that I set up and am responsible for."

      Typical bravado of a /. linux user. I don't know why more home users don't take the same approach. My grandma, running gentoo also does this very thing.

    20. Re:Bypass their DNS by blahplusplus · · Score: 1

      I'd be interested in setting up my own DNS, could you point me to an article setting it up and what I'd need?

    21. Re:Bypass their DNS by Cramer · · Score: 2, Insightful

      This, more often than not, is just stupid. DDoS or not, an authoritative name server cannot arbitrarily block ranges of addresses, or classes of users (dialup, cablemodem, etc.) If someone asks you about a domain for which you are authoritative, you MUST answer it. That's the price you've agreed to for running a name server. This is exactly like a Denny's resturant refusing to seat French people... "We've had problems with them in the past." Just because you've had problems with some French people doesn't mean they're all bad.

      We've put up with this sort of subversion for email (SMTP) out of necessity -- there just isn't any other way to deal with dumbass users with unpatched windows boxes sending 95% of the world's spam. Subverting DNS like this should be punishable by death. Face it people, any service can be targeted.

    22. Re:Bypass their DNS by racermd · · Score: 2, Informative

      Ok, I haven't seen a reply to your post, so I think I'll chime in for DNS n00bs.

      Setting up a proper DNS server isn't too hard (as indicated by the number of posters that have done just that). However, it does take a bit of knowledge about how DNS really works. To that end I suggest you read some books about Networking, and DNS in particular.

      I've found the O'Reilly books to be fairly easy to read while providing a great starting point for those that have a broad, basic understanding of how networks (and computers) operate. Specifically, I'd recommend DNS and BIND. This assumes that you have some LAN experience, this is a great place to start. It does tend to focus a bit on BIND (Berkley Internet Name Domain), but most DNS servers are based on it's general feature-set and configuration, anyway.

      By itself, this book won't allow you to set up your own DNS server. However, it will help you get that core understanding of HOW DNS actually works and what you can get it to do for you. You'll have a choice of software on a number of differnet platforms, but the general operation will pretty much be the same across them all.

      And there are plenty of other books and publications on DNS, so don't limit yourself if O'Reilly doesn't do it for you.

      This probably wasn't the answer you were looking for, but it really is what you needed.

      --
      My sources are unreliable, but their information is fascinating. -- Ashleigh Brilliant
    23. Re:Bypass their DNS by Michael+Hunt · · Score: 2, Informative

      DNS server A records will only be provided in the 'additional' section of the response (so-called 'glue' records) if the zone in which they live is delegated to themselves.

      That is to say, if i query a.gtld-servers.net for www.bob.com IN A, and bob.com is delegated to ns1.bob.com and ns2.bob.com, the registry will know the IP addresses of bob.com's two nameservers and return them in the 'additional' section (otherwise nobody would ever be able to find anything under bob.com, including ns1 and ns2.bob.com).

      If bob.com is delegated to ns1.foo.com and ns2.foo.com, but foo.com is delegated somewhere else, then ns1/ns2.foo.com's A records WILL NOT be returned as glue, and your resolver will have to recursively query for those, as well.

      It's amazing that DNS works at all.

    24. Re:Bypass their DNS by Anonymous Coward · · Score: 0
      What a bizzare double standard.

      It's equally valid (or invalid) for DNS as it is for SMTP. In both cases, misuse of the server can cause harm, and in both cases it's appropriate to take necessary actions to stop or mitigate this harm.

      For a time, I even had the DNS server return different results (to a honeypot) for certain requestors.

    25. Re:Bypass their DNS by Anonymous Coward · · Score: 0
      Your own DNS then caches the response from the DNS server (not the root) locally, only updating it after the TTL is expired (which isn't always happening with the provider's DNS, hence the problem).

      Almost. The only time the response is updated is if another request is made for the same record and the TTL is expired. If the TTL expires and another request is never made, the cached record just goes away.

    26. Re:Bypass their DNS by brainburger · · Score: 1

      There is a good windows DNS utility here:
      http://www.extratools.com/
      -It is a souped-up local DNS cache, it might be the sort of thing you are looking for, and the full version works over a LAN.

    27. Re:Bypass their DNS by robfoo · · Score: 1

      I refine my own gas from barrels of crude, who knows what you get from the pumps these days.. :p

    28. Re:Bypass their DNS by Anonymous Coward · · Score: 0

      Since no one else has mentioned it yet, you might want to take a look at djbdns. I've used djbdns for a while now on my (very small) home network, and it works quite well. The aforementioned site includes all the info you need on how to set up and use djbdns in various situations, as well as info on how DNS works in general. Also, the site contains a lot of angry ranting about how BIND is full of security holes and the people who develop it are all evil liars.

    29. Re:Bypass their DNS by Transcendent · · Score: 1

      That was implied.

  42. ELOGICFAULT by Anonymous Coward · · Score: 5, Insightful

    If it's all about trust, then you don't want to extend the TTL, you want to *shorten* it. That way if you're hit with a cache-poisioning attack, you get the correct record *faster*, instead of holding on to crap for weeks.

    Besides, this behavior blows up all sorts of geographical load balancing, datacenter failover, etc. type solutions (google for a F5 3DNS device sometime).

    Bad stuff, mucking about with the TTL that someone has assigned to a record. It's not arbitrary information. To those fucking with TTLs, how about we arbitrarily alter the numbers in your paycheck? Oh? What's that? That doesn't seem like a good idea? Gee. Go Fig. HANDS OFF MY TTL, ASSHAT.

    -AC

    1. Re:ELOGICFAULT by earlytime · · Score: 1

      you can randomly alter the numbers in my paycheck if there are at least 6 (xxxx.yy) digits in your randomizer. I could expect to get anywhere between 9999.99 and 0000.01 each pay period? Not a bad lottery!

      do you need my bank account number for that direct deposit?

      --

    2. Re:ELOGICFAULT by zrk · · Score: 2, Interesting

      There are enough places (ISPs, like AOL), where TTL is completely ignored.

      Case in point. A former high-traffic client (in the million hits per day range) did an 'inverse outsource' and reclaimed their site and corresponding domains. To prep for the move, the client migrated their DNS service to their new servers and changed the NS records with NetSol, several weeks in advance. They dropped their TTL down to two hours around that time. Early on the day of the cutover, changed the DNS records to point to the new location/IP range. That should've been enough, yes?

      Well, they got a lot of complaints on the first few days that the site wasn't working. We ended up having to put create some URL redirection, ising the new IPs, on their old servers, and it took over two weeks for the traffic to die down. It took that long for some companies to flush their cache completely.

      Companies are breaking the 'rules' and there's really not much you can do about it.

    3. Re:ELOGICFAULT by swright · · Score: 1

      I'm seeing a lot of comments about AOL ignoring this here, but this page seems to suggest differently:

      http://dns.info.aol.com/time.shtml

      not sure what they mean by 'cached by recursion' - but I guess that just means normal operation...

    4. Re:ELOGICFAULT by Electrum · · Score: 1

      not sure what they mean by 'cached by recursion'

      Recursive DNS servers are used to perform DNS lookups. These are the servers that you would configure in /etc/resolv.conf, in Windows networking settings, etc. A DNS client asks a recursive server about a name, say www.example.com. The recursive server asks a root server about com. It then asks a com about example.com. It then asks a example.com server about www.example.com. Finally, the recursive server returns the result to the client.

      The recursive server caches these delegations along the way. This obviates the need to ask the root servers everytime a .com lookup is performed. This where TTL comes into play -- how often does it need to re-check these cached names?

    5. Re:ELOGICFAULT by michaelhood · · Score: 1

      Dear Sir,

      Congratulations on coining your new phrase "ELOGICFAULT".
      As you can see here on Google, this phrase has previously gone unused on the Intarweb.

      -Intarweb Buzzword Authority

    6. Re:ELOGICFAULT by monkeydo · · Score: 1

      There's a more likely explanation for what you experienced. If the old authoritative servers thought they were still authoritative, they would have continued to answer queries with the old information. Recursive servers that had the NS record cached would go back to the old server until the TTL of the cached NS record was zero. Problem is that in the meantime, each time the recursive server hits the server listed in cached NS record, the server returns the list of old servers as additional information. Thus as long as someone using the recursive DNS server hits something in that zone before the TTL on the NS record expires, the server will never go back to the root for the new NS records.

      The solution is to update the zone on the old DNS servers, or remove it completely.

      See http://marc.theaimsgroup.com/?t=111057230600004&r= 1&w=4

      --
      Si vis pacem, para bellum
      The only thing more annoying than a Libertarian is an (un|mis)informed Libertarian
    7. Re:ELOGICFAULT by Antique+Geekmeister · · Score: 1

      It's common among Active Directory administrators and other admins who can't spell DNS. Rather than allowing DNS to work as designed, they pull the new zone data from other local servers only when they decide that the data needs to be updated.

      This can actually improve local stability and performance, since the zones do not have to be reloaded, especially for extremely large domains that have are unwilling or unable to delegate subdomains, and can allow sanity checking before the master server grabs the new zones. But it's a direct violation of the standards for DNS, and causes problems getting small additions or changes to those zones updated in an appropriate fashion.

    8. Re:ELOGICFAULT by zrk · · Score: 1

      Sorry to disappoint, but no. I controlled the old nameservers, and they were updated with the new info after the cutover. Beforehand, their TTLs were also dropped to 2 hours well in advance of the changeover. I even killed and restarted nscd on them (Solaris 8 boxen), after the cutover, too.

      BTW, AOL wasn't the worst offender - some other semi-national ISP was.

    9. Re:ELOGICFAULT by Antibozo · · Score: 1
      If it's all about trust, then you don't want to extend the TTL, you want to *shorten* it. That way if you're hit with a cache-poisioning attack, you get the correct record *faster*, instead of holding on to crap for weeks.

      Uh, no. The TTL of a poison record is up to the attacker, not you. A poisoner will simply set the TTL to 99999999 in the poison record.

      If you want trustable DNS, start advocating for DNSSEC.

  43. MOD -1, Just Plain Wrong by Anonymous Coward · · Score: 0

    You quoted the IP TTL info, not the DNS TTL info. Although they are both called "time to live", they are unrelated and trigger very different behavior from their respective protocols.

  44. Re:First Post?!?!? by Anonymous Coward · · Score: 0

    No, last post. But not any more.

  45. Re:TTL is useless, so who cares? by thomasa · · Score: 1

    It allow changing the IP address of a server name dynamically - set the TTL to 60 seconds. There are some fail-over mechanisms that use this as a backup method. If you set up your own DNS servers for your domain then you only have to worry about client computers using their own cache which might be old.

  46. not uncommon by buddha42 · · Score: 1

    My old employer used to lower the DNS TTL time of records to five minutes for switching services over from one server to another. There were often cases where entire ISP's would ignore it and the users would be SOL for the 24 - 48 hours it took for them to update their record. Frankly, I agree with any ISP setting a floor on TTLs, otherwise it exponentially increases the load on the DNS servers.

  47. Re:Is there a valid technical reason to ignore TTL by robnator · · Score: 1

    you are simply NOT a huge ISP if your "bandwidth" is impacted by DNS traffic.

    --
    "If...you can't be a good example, then you'll just have to be a horrible warning" - Catherine Aird
  48. Annoying, but true. by BrotherPope · · Score: 1

    Sysadmins of large, public websites know this one all too well. Well planned data center moves may set the TTL to 5 minutes, but that doesn't mean anyone will respect your TTL.

    Once it's in DNS, it's going to stay there for a long time. Any transition plan has to monitor traffic on the old IP over the course of days to see when 99% of the traffic has tailed off. It sucks, but there it is. He who owns the DNS server, 0wnz the net.

  49. ISP DNS? by cBrewer · · Score: 0

    Top Tier - 4.2.2.1
    4.2.2.2

  50. Exactly one reason to ignore TTL by Anonymous Coward · · Score: 0

    That reason is "didn't receive NXDOMAIN, received delegation information, but I can't reach the server that the domain is delegated to in order to get new information so I'll return the old information and hope its still right."

    Works great in these days of DNS servers with poor stability (for whatever reason).

  51. Wait.... by Anonymous Coward · · Score: 0

    TTL is not the same as a proactive refresh mechanism, no? In other words, once an entry passes it's TTL, it's NOT the case that the DNS server in question immediatly sends out a query to the root name server to update it's cache.

    How this SHOULD work is that, if a request comes in, the DNS server will first check it's cache. If there is a cache entry AND that cache entry is not past it's TTL, return the cached entry. Otherwise, refer to the parent nameserver and cache the response, starting the TTL timer over.

    In other words, stale entries should be expected--they won't be removed until someone actually requests this domain again.

    1. Re:Wait.... by sabat · · Score: 1

      How this SHOULD work is that, if a request comes in, the DNS server will first check it's cache. If there is a cache entry AND that cache entry is not past it's TTL, return the cached entry. Otherwise, refer to the parent nameserver and cache the response, starting the TTL timer over.

      In other words, stale entries should be expected--they won't be removed until someone actually requests this domain again.


      That's precisely how it does work.

      --
      I, for one, welcome our new Antichrist overlord.
    2. Re:Wait.... by Anonymous Coward · · Score: 0

      Or, how it's supposed to work. As per TFA, the complaint is that is't NOT working that way.

      I think the post you're responding to is noting that stale cache entries aren't necessarilly indications of errors per se--only if there's a subsequent request.

  52. You did what? by SamMichaels · · Score: 2, Insightful

    Um...

    ipconfig /flushdns
    ipconfig /registerdns

    But wouldn't an easier way be just using dig to directly query the name servers?

    1. Re:You did what? by sabat · · Score: 2, Insightful

      None of that will help Grandma with her browser. The major ISPs are running cache-ing DNS servers that don't flush their entries when they're told to. That's the problem.

      --
      I, for one, welcome our new Antichrist overlord.
    2. Re:You did what? by CharlieHedlin · · Score: 1

      Uh, ipconfig /flushdns isn't telling the DNS server to flush, it is flushing the client so you can get updates from the DNS server again.

      As for the TTL problem, I haven't seen it, and I work with DNS and large providers frequently. I haven't exactly looked for the problems either though.

  53. Re:TTL is useless, so who cares? by Anonymous Coward · · Score: 0

    Ahhh the geek mentality. Someone posts a very insightful opinion that TTL is useless and geeks get their panties in a bunch and haul off to mark someone as troll.

    How about *gasp* giving a valid reply??

    Haha, does the truth hurt you or .. what?

  54. Article is right on the money by wo1verin3 · · Score: 5, Informative

    Our company made a DNS change for a download server accessed by customers, over a month passed and multiple tickets opened with several large ISPS (Road Runner being the biggest) with no action taken. We finally had to setup a new server name for customers to be able to access the download server...

    In all there were 3 large US isps that were major offenders...

    1. Re:Article is right on the money by NetWurkGuy · · Score: 1

      In situations like this would not a temporary work-around be to advise your clients to directly use the actual IP address.

      If your IPADDR is sufficiently stable, that could even be a long term solution -- saves DNS lookup bandwidth and response time too.

      If the problem is anticipated, the work-around could be advertised to customers before making the change.

      --
      "Obtuse Anger is that which is greater than Right Anger" - Lewis Carroll
    2. Re:Article is right on the money by wo1verin3 · · Score: 1

      >>In situations like this would not a temporary
      >>work-around be to advise your clients to
      >>directly use the actual IP address.

      That would work in some situations, not ours.

      We were using Akamai for content distribution, one single server wouldn't have been able to handle the load of all customers.

    3. Re:Article is right on the money by Anonymous Coward · · Score: 0

      I had a problem with RR not updating the DNS for my own site. I was told they set it for 72 hours.

  55. We have had this issue for years .. by GNUALMAFUERTE · · Score: 3, Informative

    Here in Argentina. We don't have bandwidth problems, bandwidth should be cheap considering the kind of conections that we have. But, all the bandwidth belongs to a few, that are not so interested in letting others grow, so they resell it at really high prices. So, since bandwidth _is_ a problem, many ISPs have Proxys, transparent Proxys, etc. The most dirty thing they are doing now is transparent proxys that never cleans their caches, content seems to never expire, etc. The other is DNSs that updates it's records all at once, every X days, not taking TTLs into account. I worked for about 2 years as a sysadmin for a hosting company, and this was a nightmare. Once, a customer's website was defaced, we cleaned up, restores a backup for him, but many people was still seeing the old website ... for more than a WEEK.
    A solution to this problem would be a law, that would create a set of standard services that a comunications company may give, with well defined names and categorys, and it should be MANDATORY for companys to market their services using this names, in their comercials too. So, for example, we would have categorys such as "Full Duplex Simetric DSL Conection", or "ADSL, With Proxy, Blocked Ports".

    --
    WTF am I doing replying to an AC at 5 A.M on a Friday night?
  56. save money - set your ttl to 2147483647 by Anonymous Coward · · Score: 3, Funny

    this greatly reduces network traffic, as your records will be cached for over 68 years. if caching worked as described in the rfcs, you could probably even forget about keeping your domain registered after a few years, most folks would still come to you even if someone else bought your domain. of course ipv6 is coming any day now and that will probably ruin my evil plan.

  57. been a problem for a long time by rcpitt · · Score: 1
    I noticed this back in the mid to late '90s. Many times AOL's DNS servers would take more than a month to notice an IP move. Same thing with others but AOL was the worst at the time. We used to caution our customers that if/when they moved to us or away from us, they needed to keep something at the old DNS for some time to redirect to the new one (web server, e-mail server, ftp server, etc.)

    The problem was not consistent, some of their servers displayed it and others (lesser number) did not - I believe that the ones that actually did use TTL properly were in fact the newest ones, and that at some time they were pushed into the mold of the old ones after they were put into service.

    --
    Been there, done that, paid for the T-shirt
    and didn't get it
  58. Bandwidth Savings by Anonymous Coward · · Score: 0

    Caching DNS queries beyond the TTL value decreases the amount of bandwidth that an ISP must allocate to DNS by reducing the number of DNS requests that generate internet-bound traffic.

    Basically, they can shove more customers onto one connection if they break DNS in this fashion.

    Makes for a pretty good test of a providers clue vs. greed, come to think of it.

  59. Re:TTL is useless, so who cares? by jd34 · · Score: 1

    *sigh*

    This post is a troll... but in case the poster came by their lack of clue honestly I'll bite...

    1) to spread the dns serving load, keeping the answer to "what is the ip address of google.com" in a nearby dns server for "awhile" is a good thing

    2) the operator of the nearby dns server could decide that "awhile" is a week... but then your dynamically updated dns entry for your PPPoE connection won't be updated by the time you get to work and want to listen to your MP3s

    3) the operator could decide that "awhile" is an hour, and then the authoritative server for "google.com" would be buried in requests

    4) Better to let the operator of the authoritative server tell the nearby servers how long "awhile" should be.

    The issue isn't that the clueless "nearby" DNS administrators ignore TTLs and do not cache at all... the issue is that they ignore what the authoritative server suggests is appropriate but they cache anyway... so you can't listen to your MP3s because your work computer thinks your collection is still where it used to be a week ago, even though the authoritative DNS entry has changed an hour ago.

  60. DNS TTL by Anonymous Coward · · Score: 0

    The TTL is only for non-authoritative nameservers, not secondaries (slaves). It tells the nameserver exactly how long to keep a record in its cache after doing a recursive query to lookup that record on behalf of a client. The TTL countdown begins the second that a nameserver receives a reply back from its query. If you change a zone file and refresh your secondaries, that has absolutely no effect on any cached record until the initial TTL expires and that record is automatically removed from cache, or the cache is purged. Then (and only then) will a subsequent lookup retrieve a fresh record. Only authoritative nameservers will retrieve fresh records via a zone transfer (or partial zone transfer) when the serial number is incremented for that zone, but that has nothing to do with the TTL.

    Your original post does not specify what the original TTL was before you changed it. Was it two weeks, or longer? If so, then you should not expect any records to expire from anyone's cache until that TTL is reached, even if you change the TTL in the zone or for a specific record. Only authoritative nameservers receive NOTIFY messages that a zone has changed. Caching nameservers that are not authoritative do not, and it would be self-defeating for them to check with the authoritative nameserver every time they receive a request for a record that they have in their cache. That is the way DNS is supposed to behave and it is not a conspiracy.

  61. TTL Ignorance by zoontf · · Score: 2, Interesting

    Just to be on the record, a number of local ISPs here in Vermont don't update DNS records for 2-3 weeks. Sovernet, our big local provider, is among them. Very frustrating.

  62. DNS Load Balance / Failover by packethead · · Score: 1

    This of course breaks those expensive DNS appliances that cut the TTL to zer0 for the purpose of wide area failover. This is why I chose to run BGP intead of making F-5 rich...

    --
    .sig
  63. Solution: run Djbdns and cache DNS yourself by bad_outlook · · Score: 0

    This has come up a few times lately, but I'm now running Djbdns and caching DNS directly from rootservers. I've given up on ISP's DNS staying up to date. Here are the previous threads:

    http://ask.slashdot.org/comments.pl?sid=145460&cid =12178906

    http://ask.slashdot.org/comments.pl?sid=145189&cid =12156398

    The more this comes up, the more I think that I (and many others) are on the right path of running such things like this, as well as web, email servers, etc, is the right way to go. How much of the 'joe users' out there that would want to do this? Probably none, but I think it points to a niche market were some geeky types could get together and provide these services (basically anything that is outside, or *free extras* from an ISP). So DNS, web hosting, email, spam, virus, chat, etc - run by ppl that want to do that the best, and not run an ISP. Leave it to Speakeasy to run a great ISP, but leave it to others to run a great services based Co-lo. Hmmm...I would like to do that.

    bo

  64. One possible explanation... by Anonymous Coward · · Score: 0

    ... I havent' yet seen. DNS uses UDP.

    While I am no master in these areas, are DNS updates also using UDP? If so, with the congestion in the networks of today, could it be that DNS UDP update packets simply have got lost?

    Still not a plausible explanation for the times of day a decent DNS cache would request authorative info from upstream, especially for several weeks with a very short DNS TTL. The cache should get it at least once in 472 (or whatever) attempts, right?

  65. how about DNS servers behind a black-list by rcpitt · · Score: 1
    slightly off topic but...

    Another thing I've recently noticed that you might want to study is corporate IT departments (and even one major ISP) putting their DNS servers behind a firewall that black-lists "public" (dhcp/dialup) IP addresses and doesn't respond to them.

    This is very disconcerting when you have your own caching resolver locally because you know that your upstream provider has a DNS server that is broken (too long TTL for example)

    I have my /etc/resolv.conf pointing at my own named because I use it to monitor the DNS servers I administer out in a couple of colocates. I can't resolve (for example) our local gas company's web address because their DNS servers are behind their firewall and won't talk to my IP address off my cable modem. Doing a lookup from my colocate addresses works fine.

    This is very much an issue now that cable and DSL is being used for corporate feeds.

    --
    Been there, done that, paid for the T-shirt
    and didn't get it
  66. Just got bit with this by Bretski · · Score: 1

    I work for a large mortgage company, and we just got screwed with this a few weeks ago. An admin accidentally made a change to our external DNS when the change was supposed to be internal only. Our TTL was set at 24 hours and it was not changed. An incorrect A record for our site was put in place for maybe 30 minutes, and then corrected. Our off-site monitoring (third-party) sites picked up the change in DNS and kept the incorrect IP for almost TWO WEEKS until our correct IP finally got picked up again. They swore up and down that they ran plain vanilla BIND DNS, but I don't see any other explanation other than caching time. I did check all of our slaves, and they did receive the correction right away. I wish people would just follow the rules!

  67. Re:TTL is useless, so who cares? by Kupek · · Score: 0, Offtopic

    I get a flamebait for a response to a troll? Nice.

  68. My two cents on the issue by 7zark7 · · Score: 2, Informative

    I run a DNS server for around 470 domains. I have this problem with our telco/dsl provider(Large Canadian Monopoly).
    What i found is if the TTL is set to less than 3 hours it is automaticly reset to 3 weeks.
    As a result I have set all of out TTLs to at least the 3 hour minimum.

  69. DNS .. by robpoe · · Score: 1

    I have a client who's mail servers I migrated to a Co-Lo facility. I changed the name server TTL way low about 2 weeks in advance.

    The day I moved them (friday at 5:00) I pointed all the DNS records to the CO-Lo facility.

    The next Wednesday the owner of a competing business (the business who serves my clients' peer company) accused me of changing the domain in the middle of the week. It seems that his Microsoft Exchange server had cached the OLD IP address and would not look up the new one.

    I told his engineer to reboot their Exchange server - had a 20 minute argument with him about. He finally did and it re-looked up the DNS for the new server. Problem solved.

    However the idiot owner of the other company still blamed it on me, said I was incompetent for doing the change in the middle of the week (friday?!?!?) and all that.

    Grrrr...

    --
    = Grow a brain...
  70. Using low TTLs for fail-over redundancy by g0at · · Score: 1

    I serve web and mail for a whole bunch of domains off of two servers which are far apart and unrelated (geographically and in terms of network topology). Under normal conditions one is primary and the other secondary; the two of them sync up via cron and rsync at ten-minute intervals. The A records for web sites point to the primary, it has a higher-preference MX and so on. Both machines are authoritative DNS for all domains.

    I have TTLs on all the domains set to 120 (yep, two minutes). The idea is that in case of failure of the primary, the secondary will reconfigure itself as primary and begin handling all traffic, while the end user will experience a maximum of two minutes downtime.

    With 278 days uptime on the primary though and great service from the colo provider, I've never had to implement this scenario. Is my planning fundamentally flawed? Is this an unadvisable practice?

    -ben

    1. Re:Using low TTLs for fail-over redundancy by psyclone · · Score: 1
      I guess this depends if you want one site to be a failover or if you want them to be semi-load-balanced.

      First, you don't have to worry about TTLs for the MX records, multiple records with priorities (same number or otherwise) will take care of themselves.

      For web, if you want load balancing, you can simply create two A records for www.domain -- one IP for server X, one IP for server Y. I'm not entirely sure if both records are returned to the client (browser) or if the ISP will only cache one. Assuming they cache both records and the client gets both A records, it should work in case either server were to fail. (Client should attempt 2nd IP address if first fails).

      For simple failover (say server X is beefy, server Y is only for emergencies) then a low TTL should work -- assuming:
      1) you can handle the DNS requests and
      2) that the Net will honor your TTL.

      Also, you only need the low TTL for your www A records.. your SOA, NS, MX, TXT, etc. should all have a reasonable TTL (>3 hours). There can also be many layers of DNS cache -- the first may be the ISPs resolver, the second could be the ISPs forwarder, and the third level might be the client. So the perceived TTL in this case is 3 * the A record TTL.

      Remember everyone, Time To Live is based on the honor system. If your neighbor doesn't wish to honor your TTL, too bad.

  71. Not unusual to ignore short or long TTL by Mr.+Darl+McBride · · Score: 1
    Many DNS requests come back with abnormally short or long TTL, or are configured to provide unknown record types - types apart from MX, A, CNAME. This is generally indicative of a noncompliant server or a DNS attack attempt.

    When this happens, our own product throws away any records apart from A, CNAME and MX and puts them into a default record structure. The default structure has a 14 day TTL, however we felt sustaining the sanitized record was preferable to reproducing data that could be hazardous to DNS clients. Since many of our largest customers are ISPs, this protection is especially important.

    1. Re:Not unusual to ignore short or long TTL by Anonymous Coward · · Score: 0

      our own product throws away any records apart from A, CNAME and MX

      You know, TXT records are perfectly legal and legitimate...

    2. Re:Not unusual to ignore short or long TTL by Anonymous Coward · · Score: 0

      or are configured to provide unknown record types - types apart from MX, A, CNAME.

      Oh, you mean such unknown types as NS, AAAA, A6, TXT, SRV... Yeah, very bad stuff, must be hackers if they are running IPv6 or something.

  72. It's been my experience by scronline · · Score: 0

    That SBC, and Comcast are the worst. Comcast literally being the worst. Not only due to poorly updated DNS servers, but the proxy servers also pose a bit of a problem.

    As an ISP that's also a host, I can't tell you how many times I'll have a customer call up. "We just moved our website to you, but we can't see it. What's going on?" 99 times out of a hundred they are on SBC/Yahoo DSL or Comcast cable. I've even had some of our webhost resellers argue this point with me. Facts are facts, if I can see the site using my DNS servers, the TLD is pointing to MY DNS servers, it's there and working. If that customer pings their URL and comes back with some other IP than mine, it's obviously going to the wrong location.

    This is only one of the MANY reasons I tell customers to pay a little more for service from a smaller company that pays attention to detail and cares more about quality of service than how much money is going into their pocket.

    There are plenty of smaller providers out there that ARE knowledgable, with help desks in the US, and aren't "technically challenged" that think they can do it because they can work on their own computers without breaking them (which is often not the case anyway).

    My advice before bothering to do any of this crap. Show them your disgust and find a local company. It might cost you $10 more a month, and it might even be cheaper. If you're cable, I'm sure it WILL be cheaper. Not only will you get better service, things will just work right. When you have a problem you'll talk to someone who can actually FIX it instead of making you take 2 days walking through stuff on your computer knowing full well it's a network problem on their end.

    Basically, stop being a cheapskate, then complaining about the level of service you're getting. You get what you pay for.

  73. [OT]Strange problem with Google's dns server. by DJ_Goldfingerz · · Score: 0, Offtopic

    Just as a side note, since we're talking about DNS. Over where I work, we have a check with nagios that verifies if our DNS server is up by asking it to resolve www.google.com.

    Everyday for about a minute or 2, google's dns server will return a SERVFAIL error. Another symptom is that the problem re-occurs every 24 hours and 2 minutes. So everyday the problem re-occurs with an increment of 2 minutes.

    We also run the check with a few more host and only www.google.com gives us an error.

  74. Way OT by Anonymous Coward · · Score: 0

    Can I use dig to find all the addresses for a domain?

    i used to be able to do this with nslookup, but have forgotten how, and I hate having to login to my DNS server to figure out what addresses I have open.

    1. Re:Way OT by itwerx · · Score: 1

      Can I use dig to find all the addresses for a domain?

      Only if the DNS server allows you to. Most don't.

    2. Re:Way OT by Phillup · · Score: 1

      You have bigger issues than not knowing how to use nslookup (or a man page).

      --

      --Phillip

      Can you say BIRTH TAX
    3. Re:Way OT by Anonymous Coward · · Score: 0

      I believe in nslookup you can do 'ls -d' or something like that to list basically all entries for the zone. Most DNS servers disallow that, so the feature is really of not much use.

    4. Re:Way OT by Anonymous Coward · · Score: 0

      The OpenBSD camp is heard from.

      "Don't ask questions, ever. If it isn't clear in the man page, than it isn't desirable."

  75. Submitter is Correct, it's happening by jafiwam · · Score: 1

    Here's my experience with TTLs. (Keep in mind I am a relative newbie when it comes to DNS, I had bind working on Win32 for a couple years for about 300 domains and have since moved to cooperating with a local ISP to use their DNS on RH.)

    There are five types of TTL problems;

    1) the ISP is a large one (AOL, RR, Earthlink) etc. and they have deliberately ignored TTLs on A records or entire zones. Typically it's up to 4 days more than default but they do cycle eventually. Nothing to do but show a few web tools to those people complaining and tell em it's not my fault.

    2) the ISP is a large one that just has crappy DNS servers (Charter Communications, other cable) Resolution as hopeless as above. The crappy part is that Charter in particular FILTERS traffic on port 53 so you CANT use any other DNS servers aside from theirs. Morons, unfilter or fix it.

    3) the ISP is a small local with some high-school part timer admining their servers. In this case, the DNS server is usually just screwed up in other ways too. TTL and old cached inforamation is just part of it. Sometimes you can get their customers to biatch at them to reset the service. I have had to explain how and what to do several times to the OWNERs or CTO of these ISPs. (See newbie comment above)

    4) there is a DNS server somewhere on a medium sized or small LAN and the LAN admin has no frecking clue it is there. Often this is a domain controller for Active Directory, but sometimes its something else. Often resolution is "well, wait until everbody leaves and reboot all your servers and machines"

    5) Individual Windows machines that do not let go of DNS data (I dont think the DNS client service in Windows honors TTLs, I think it uses "window is still open so keep DNS" type rules instead.

    Most often, I run into #4 and less so #2, but the number of large ISPs that dishonor TTLs (even reasonable ones) is growing.

    1. Re:Submitter is Correct, it's happening by Buran · · Score: 2, Informative

      I'm on Charter and I'm not so sure it's filtered... I've switched to backup DNS servers before. Just as a test, I removed Charter's servers from my list (I have like 8 more servers behind their two as fallbacks), applied the change (I use Mac OS X 10.3) and then went to example.net. My machine successfully looked up the domain and went to the associated website.

      What's the easiest way to check to see if your machine does indeed fetch records from another server? dig?

    2. Re:Submitter is Correct, it's happening by jafiwam · · Score: 1

      Dunno about Mac, but on a PC its because I can't do an NSlookup or a dig on any server not on their list. (I get 2 of about 5 in rotation)

      Telnet on port 53 dropped totally. (Though they could be detecting what tool it is and still letting DNS traffic through.)

      I am on the section of Charter that used to be Bresnan@home a while back. I think the filter could be a legacy of that network.

      It really sucks when their DNS is DOWN and I have to use my work server IP to get in, look up each address by hand and then modify my hosts file to browse stuff. Of course, my neighbors are DOWN at that point...

    3. Re:Submitter is Correct, it's happening by DA-MAN · · Score: 1
      Telnet on port 53 dropped totally. (Though they could be detecting what tool it is and still letting DNS traffic through.)

      Not all DNS servers listen in on tcp/53, remember that telnet establishes tcp only connections and dns is typically udp/53.

      Also, I have charter and I just did this:
      C:\>nslookup www.google.com 4.2.2.4
      Server: vnsc-pri-dsl.genuity.net
      Address: 4.2.2.4

      Non-authoritative answer:
      Name: www.l.google.com
      Addresses: 66.102.7.104, 66.102.7.99, 66.102.7.147
      Aliases: www.google.com

      C:\>
      Perhaps there is a problem with your local Charter provider, and not necessarily an issue with Charter.

      It really sucks when their DNS is DOWN and I have to use my work server IP to get in, look up each address by hand and then modify my hosts file to browse stuff. Of course, my neighbors are DOWN at that point...

      You could try running a local caching server, that should get at least your most common sites for the duration of the TTL.
      --
      Can I get an eye poke?
      Dog House Forum
  76. Re:TTL is useless, so who cares? by Anonymous Coward · · Score: 0

    There's a term for it. "being trolled"

  77. Uh oh.... by fm6 · · Score: 1
    The whole thing about the web is it's based on trust.
    You're correct -- if you mean "the Internet" instead of "the web". Is the confusion of ordinary people between Web and Internet creeping into techspeak?
  78. Re:DNS practices --- CHANGE THE !@#$%^& serial by gru3hunt3r · · Score: 3, Interesting



    Waaa.. Waaa.. somebody ignored my TTL.

    Listen -- We are SOA for around 11,000 domains. Both myself and the other uber-admins get tickets like this "escalated" when some clueless newbie wet behind the ears freaking junior admin DOESN'T RTFM and doesn't realize that if the serial #'s don't change then TTL is ignored.

    We interface with nearly every major ISP -- I assure you, their name servers are configured just fine --- It's yours that is broke.

    For those of you who just aren't DNS afficiandos -- so how retarded is this? Well here is another story ideas for slashdot that is along the same lines:

    OMG! Two major RG vendors (NetGear and Dlink) don't follow RFC798 (TCP). See when I block port 80 on my firewall, the web stops working -- Imagine the whole web stops working by blocking just one little port. This is a huge problem! It needs to be addressed!

    How about this little doosey:
    I've just uncovered a SCO/Microsoft conspiracy. They've apparently teamed up because after reinstalling Windows XP onto another partition XP disabled my Linux partition -- the boot menu doesn't come up anymore. Clearly Microsoft is doing this to help SCO protect their intellectual property! Quick tell Groklaw!!!!

    If you don't get either of the two above -- I can't help you. (seriously -- WTF are you reading slashdot for??)

    I swear .. they let anybody read slashdot these days!

  79. Religion?!? by Anonymous Coward · · Score: 0

    the OS/bind/djb/whatever zealots will simply see this as an argument for their particular religion

    djbdns advocacy is definitely not a religion.

    Each of the many reasons that djbdns is better than BIND are straightforward and easy for any intelligent, open-minded person to grasp. No blind belief is required.

    1. Re:Religion?!? by Anonymous Coward · · Score: 0

      Trust me, it is. djb has an ego larger then Mount Everest which alone is a reason not to run his software.

  80. great testing - NOT by Anonymous Coward · · Score: 0

    What was the original TTL on the record? Let me guess, it was the default one? Let me also guess, you did not check to see just how the request went from the headend to the DNS server? Guess what? The servers were most likely doing exactly what they were supposed to do.

    You created an original new record with a default TTL of say... 7 days?

    You queried it form a location that relied on the caching server. That entered the record into the cache with the expiration of 7 days. Why, on earth, would you believe that changing a TTL now would have any effect? That record had been already cached! It wont be re-queried until the TTL expires, no matter how often you change your TTL on the original record. You also need to know how the DNS infrastructure is setup on your providers side.

    Lets see.. what else?
    Ah, savings on bandwidth. DNS bandwidth is very small ever for large networks. IP transit is currently priced at around or under $20K per 1Gbit/sec. If the DNS infrastructure is engineered correctly, even if the TTL is set to 60 seconds for a domain such as www.google.com the load on the DNS servers is not going to bring them to the crawl. Engineering the DNS infrastructure correctly does not mean buying a box from servermatrix and using C-Panel to activate DNS.

    Now... the reason why TTLs should be low is to provide higher availability services. Of course, I encourage my competition to use very high TTL.

  81. Spam, spam, spam by krray · · Score: 4, Interesting

    I've recently "disconnected" my .COM version of my home domain (solely using the .US version now). As I get -0- spam to the .US address' (so far :) it is very apparent that a LOT of DNS servers [world wide] simply ignore TTL. A couple of weeks before the "switch" I set the TTL very low (60 seconds) -- I can easily handle the DNS traffic across my DNS servers (peppered here and there :).

    I would expect, now almost two months later, to be getting -0- traffic to the .COM domain as I set _everything_ to IP address 127.0.0.1 (just to screw with the spammers high-jacked computers). Yet the spam [attempts] still come in. Every minute.

    Technically -- even running your own DNS servers there is nothing you can do if you move/add/delete something and others out there decide not to honor it. Everybody loses.

    1. Re:Spam, spam, spam by Anonymous Coward · · Score: 0

      Uh, spamware will just scan your IP for a port 25 socket, and push it through. Dicking around with DNS will not fool many, or any.

    2. Re:Spam, spam, spam by Anonymous Coward · · Score: 0

      Absolutely, if it is done that way. This is not the case with the majority of the spam traffic [in this case] as the systems in question answer DNS as .US, advertise themselves as .US, not to mention reverse DNS all uses the .US address'. Yet there is specific emails sent to the .COM domain as headers and logs indicate. Sure, I still ACCEPT ".com" traffic at this point (to deal with and monitor potentially broken DNS servers out there). If, however, you were to "follow the rules" [TTL] all .COM address have effectively "moved" to the new IP of 127.0.0.1. There is no indication in the .US DNS of the .COM domains, and vice versa.

      I specifically am "phasing" out the .COM domain name in this manner. For various reasons -- if people email to the "right" place it will work, if you email to the old domain it will bounce pretty quickly. For those broken DNS servers it too will still work, but not for much longer (bounce). I did do it this way to "test" to see how long it WILL take for DNS to "propagate" the Internet. My expectation going in was that it will take 6 mos. to a year...

      Immediately spam traffic (going .US solely) volume dropped off -- and significantly. It is only spam traffic [now], albeit minimal compared to before, that stick out in the logs (not a high volume website :). I was curious to see how long and what it would take -- and I do see (in the future) going from .US back to .COM (re-flip the switch) for the exact same reason.

      I also tend to re-request new IP's sometimes and for no particular reason. Same reason. Better outcome (sometimes :).

      Lost traffic issues? None that has been brought to my attention yet.

    3. Re:Spam, spam, spam by MavEtJu · · Score: 1

      I would expect, now almost two months later, to be getting -0- traffic to the .COM domain as I set _everything_ to IP address 127.0.0.1 (just to screw with the spammers high-jacked computers). Yet the spam [attempts] still come in. Every minute.

      When spammers get their email addresses, they also get the MX servers of the domains and their IP addresses.

      It's not that their DNS is faulty, it's that they use old static data. Remember: it's more profitable to sell updates than to sell a proper working product in the first place.

      --
      bash$ :(){ :|:&};:
  82. Re:Is there a valid technical reason to ignore TTL by retro128 · · Score: 1

    Yeah you're right. I was just thinking that if you had millions of users you could put a lid on a lot of DNS traffic just by ignoring TTLs. Maybe rather than bandwidth, it would have been better for me to say it would ease the load on the DNS servers.

    --
    -R
  83. RR DNS lookup by Anonymous Coward · · Score: 0

    How can I prevent Road Rnner from sending a DNS lookup to my machine about 1 time a minute?

    My firewall log has hundreds if not thousands of them.

  84. Most name servers obeyed DNS TTL for me by wayne · · Score: 1
    I just recently switched ISPs and hence IP addresses. I found that most name servers obeyed the 3 day DNS TTL that I have been using for a very long time.

    I used the Linux Advanced Routing & Traffic Control utilities to set up the split access stuff. This allowed me to send all packets from the old ISP back through their link, while packets from the new ISP went on the new link. I changed the DNS entries and then I monitored the traffic going through the old link. After one TTL period, almost all of my traffic was using the new link. The main exception was NTP clients, which run for a very long time and only do their DNS lookups on startup.

    I run a (non-tech) website that is used by many people, and also a the authoratiatve name server for a domain that gets a couple million lookups per day from tens of thousands of caching name servers. If there were widespread problems, I think I would have noticed it.

    I'm not saying that there aren't a lot of really broken name servers out there, just that they don't appear to be rampant.

    --
    SPF support for most open source mail servers can be found at libspf2.
  85. What? by tidewaterblues · · Score: 1
    I admit that I have never run a DNS server, and I don't know anything more about DNS than the basics. However, to me the idea of having the creator of a DNS record set the TTL field (I believe this is what people are saying is happening) was flawed from the beginning. If anything it should be:
    • globally set by the server, period or
    • globally set by the server to a sane random interval (to avoid overloading the root servers at predictable intervals)
    In any event, is there any real necessary gain by having the record creator specify the TTL?
    --


    ...En að Besta Sem Guð Hefur Skapað Er Nýr Dagur
    1. Re:What? by Todd+Knarr · · Score: 1

      There is. The owner of the domain is the only one who knows what the TTL should be. For example, they're the only ones who know how stable the IP address of a server will be which directly impacts what the TTL should be. They're the only ones who know that they'll be doing a network renumbering next week and that TTLs should thus be shortened in preparation for propagating the changes promptly.

      The problem is that domain owners applied other criteria than correct DNS operation when setting TTLs. TTLs of 10 seconds aren't sane. Neither are TTLs measured in months. Myself, I'd handle this by capping TTLs, not overriding them. I'd put a bottom limit of 1 hour on the TTL, and a top limit of 1 day to 1 week (depending on record type), on the records. If a record's TTL was within those sanity limits, it'd remain unaltered.

  86. Years of frustration by shrtbusrdr · · Score: 1

    I handle DNS for a large government agency. We have a lot of remote offices who are connected by ISP instead of our WAN. In our case they would even stop resolving our whole domain. I have been handling these issues for over 2 years since I arrived here and often I was often blamed for these problems. I decided to get aggressive with ISPs and insist on being escalated to thier higher tiers. I began to uncover over a years time that many of theses ISPs had this problem. Large ISPs would often not tell me what the fix was but it would simply get resolved after a few hours. One very large ISP told me to set up my remote offices to use a different DNS server, the one we were using was not supposed to be used acccording to their engineer. For curiousity sake I checked back with the old DNS server a week later and it was still up and not resolving anything in our domain. I have had to walk a DNS admin at a small 'mom and pop' ISP on how to use nslookup correctly. "What's dig?" I have found that there are a lot of people out there running DNS who do not know what they are doing and/or do not care about how this affects their customers.

  87. We see ignoring DNS as well by neilticktin · · Score: 2, Interesting

    Yep -- we're seeing similar kinds of things. Recently, in preparation to migrating to some new servers we lowered our TTLs on the web server entries. Yesterday, we switched them over, and found that it wouldn't switch the traffic over within the TTL specs. Very frustrating to be sure, and we came to the same conclusion ... many (most?) Internet providers are ignoring DNS TTL. Thanks, Neil Ticktin Publisher, MacTech Magazine

  88. Cellular carriers guilty of this too... by maokh · · Score: 1
    I have noticed that a lot of cellular carriers tend to completely ignore and indefinately cache DNS entries. This sucks for a company like mine.

    About 6 months ago we were switching a wireless application back end from one datacenter to another. I set several records to a very low TTL (15 minutes) about three months before -- just to be safe.

    The application completely broke on one particular carrier -- it was still resolving to the old IP. Every other DNS server in the world picked it up but theirs.

    It required a direct phone call to several network engineers to correct the problem. Given their clueless responses and complete misunderstanding of how DNS even works, I suspected it was a misconfiguration of their caches.

    How did they fix it? They just rebooted the nameserver to clear the DNS cache! How crafty.

    Oh how I can't wait to work with this carrier again!

  89. Why did naming become so crucial? by fishbowl · · Score: 1

    I fully appreciate the value of naming, and I've even worn the hat of a DNS admin for many years. But I've never really understood why naming was so important that it became inconceivable to do without it.

    An IP4 address is only two more digits than a phone number, but we work with phone numbers just fine. But if you try to make the case that we could work with IP numbers just like phone numbers, it's an insane suggestion.

    So what we have is, instead of the idiom of an index from name to number, we've got the idiom where the name *is* the address. I've never been convinced that scheme has the value that it's believed to have, and even less so when most "domain names" end up being nothing more than a single ARecord for a website.

    --
    -fb Everything not expressly forbidden is now mandatory.
    1. Re:Why did naming become so crucial? by Anonymous Coward · · Score: 0

      Quick example fishbowl.com -> 10.10.10.10 You change from foo upstream provider to bar upstream provider. Your replacement IP address is 20.20.20.20 fishbowl.com -> 20.20.20.20 If you gave everyone the ip address, you'd have to inform them all of the change. By giving everyone the name, you can change the underlying addressing and not have to change your stationary. You can also reuse the same ip address for different names and domains, letting the server software redirect the request to the appropriate service. These examples are all off the top of my head...

  90. It's not laziness (was Re:I Noticed Too) by Hamstij · · Score: 1
    Based on my personal experience, a large part of it comes down to sheer ignorance and blatant stupidity.

    A huuuuuuuuuuuuuuuuuuuge number of sysadmins out there have no clue what so ever.

  91. Response time by Chemisor · · Score: 1

    > DNS queries are figgin tiny...

    They are round trips and over a modem line that's a pretty significant delay. Now consider that I visit the very same sites day after day and that their IP addresses almost never change. Running a caching nameserver speeded up browsing considerably, and if I could set it up to just keep the addresses until told otherwise, it would have been very nice indeed. Sadly, bind does not save its DNS cache anywhere and it was a major pet peeve with me, since I don't want to run my computer twenty four hours a day.

  92. I'm aware of that. It isn't. by SamMichaels · · Score: 1

    I was talking to the person who wrote the story.

    It's not supposed to help grandma. It's removing the dns cache from the machine and putting all the dns events in the event viewer. Do that instead of rebooting.

  93. Mountain out of a molehill? by Malc · · Score: 1

    I've been involved with a colocation facility move recently. Nearly all traffic to our old servers died out within 48 hours. After a week we shut down the old servers a week earlier than we had budgetted for. This doesn't seem like much of a problem to me.

  94. Very funny by RLW · · Score: 1

    I've always heard your tag line the other way 'round. That's a very nice zinger. I'll save that one for a special occasion.

    ______________________________________
    There are 10 kinds of people,
    Those who know binary and those who don't.

  95. Just experienced this personally! by Oz0ne · · Score: 1

    I recently moved all my domains to a new server, updating dns AND DNS servers in some cases. Road Runner totally screwed this process up for me. I don't host with them, but a lot of people that visit my websites use them as an ISP.

    Over two weeks after dns had propogated succesfully elsewhere, roadrunner was still serving up old IP's. This affected about 5 of my sites adversely. Some of which had owners using RR, some had clients using RR. Basically a huge cluster@#*! And of course, RR techsupport had no idea what I was talking about, and couldn't direct me to someone that did.

  96. Re:I know AOL used to be an offender, likely still by ScentCone · · Score: 5, Insightful

    Our additude at the time was well screw the AOL users, there's no one importing using AOL anyways

    I'd be curious who's the audience for the site(s) you're talking about. I'm pretty uncomfortable calling tens of millions of users unimportant, especially when it comes to e-commerce. Different "additude", I guess. Or attitude, even.

    I maintain an ancient AOL account specifically so I can see things the way that some of my customers' customers see them. But it has one other advantage: if I've just made DNS changes to domain I care about, I set up a temporary new A record (like X.whatever.com) and then surf to it through AOL's proxies. This seems to get their name servers to notice that the SOA record is new, and it flushes out the rest of their cache. This seems to work on all sorts of servers, most of the time.

    --
    Don't disappoint your bird dog. Go to the range.
  97. AOL used to do this (and probably still does) by lythander · · Score: 2, Insightful

    Simple. Response time and bandwidth.

    Caching provides a response much more quickly (albeit not always right), and for a large scale ISP, DNS lookups consume not-insignificant amounts of bandwidth. This used to cost much more than it does today, and I'll bet much of this continues out of intertia.

  98. Not just the DNS servers... Java is brain dead by Moe+Yerca · · Score: 2, Interesting

    Here's a little tidbit that most people don't realize...

    The Sun JVM implementation implements it's own DNS caching for any name resolution done by the networking APIs. By default the TTL for cached entries is... FOREVER. Not only that, but they will cache NEGATIVE LOOKUPS, so that if your resolution fails the first time it will fail forever.

    The only solution is to restart your app (duh) or set the TTL as a system property on JVM startup.

    I personally spent a few minutes staring at the monitor in shock when I first found this behavior by debugging a problem all the way down to the Java API source. Boggles the mind. Everyone else I've read who've 'discovered' this little known problem have had similar reactions.

    This is unrelated to the TTL issue discussed in the article, but I try to take every opportunity possible to scream 'WTF Sun!?!?'

  99. Re:TTL is useless, so who cares? by Anonymous Coward · · Score: 0

    > 3) the operator could decide that "awhile" is
    > an hour, and then the authoritative server for
    > "google.com" would be buried in requests

    servers at google spend most of their life burried under one type of request or another; what's so damned special about DNS?

    > 4) Better to let the operator of the
    > authoritative server tell the nearby servers
    > how long "awhile" should be.

    Uh, that's what i want... some yahoo out on the internet deciding how long it should take for me to effect a change on my infrastructure. That's routing into damage, not around it.

    The point that everyone is missing is that client TCP state tables are completely divorced from DNS's distributed database parameter (TTL) that dictates how quickly infrastructure can be executed. This is a fundamental flaw in DNS and directly impacts trust relationships on the internet. Anyone who tells you differently either doesn't know what the fsck their talking about or is in love with the code the wrote. ...stuff that in your ISC pipe and smoke it.

  100. Moderators please read! by SiliconEntity · · Score: 0, Offtopic

    The whole thing about the web is it's based on trust... it's amazing it works as well as it does... I can see providors not obeying TTL simply to keep their DNS servers from being stuffed (or whatever the word du jour is)... It's all about trust, and the lack of it nowadays on the web... get used to this sorta thing happening more and more.

    What a trivial comment... and yet it's rated 5. The author has a habit of posting two and three line comments within the first 5 minutes after a topic appears, and many of them end up with ratings of 5. In this case, the comment was posted at 8:32 AM on a topic that appeared at 8:30.

    Please, moderators, use your judgement more carefully. Don't give a 5 rating to these generic and nearly content-free postings. The web is based on trust... well, duh. That's not insightful or interesting! It's only because it was posted early that moderators gave it a boost, and then other moderators followed suit.

    Let's save high level moderation for comments that actually offer some unexpected information or unusual insights, not ones that just restate platitudes that anyone could see are true.

    1. Re:Moderators please read! by Anonymous Coward · · Score: 0

      shutup, twat.

    2. Re:Moderators please read! by Quasar1999 · · Score: 1

      LOL... Oh look, you posted a complaint about the moderation of comments, that has NOTHING to do with the article, and you got rated +5... Who cares? It's a totally flawed rating system... live with it...

      If you read slashdot, you should know that interesting and insightful comments are usually sitting at -1 or +1, not +5... Not to mention the fact that meta-moderators will usually correct out the improperly moderated posts...

      And I still stand by my root post... The web is based on trust, and the whole thing is gonna collapse at some point, and I am truely amazed it hasn't collapsed yet.

      And next time, if you don't think my post is insightful or interesting, or whatever the hell it gets modded to, simply post your own views, don't bitch... add something useful to the conversation, especially if you are complaining that I did not.

      Cheers!

      --

      ---
      Programming is like sex... Make one mistake and support it the rest of your life.
    3. Re:Moderators please read! by fatboy · · Score: 1

      The web is based on trust, and the whole thing is gonna collapse at some point, and I am truely amazed it hasn't collapsed yet.

      s/web/Internet/

      --
      --fatboy
  101. Re:DNS practices --- CHANGE THE !@#$%^& serial by SComps · · Score: 1

    you seem a little stressed. *grin*

  102. tested it correctly? by amiliv · · Score: 1

    You sure you tested it correctly? You did change serial numbers each time you changed your zone info? If you haven't, than DNS server you were testing detected that serial number hasn't changed, and did the right thing (continumed to use cached copy for next TTL period of time). The thing that remote DNS picked up the change eventually (after several weeks, or after you opened ticket with ISP) might be simply due to the fact they restarted DNS server (which would discard all cached entries).

    If your test was performed correctly, than overriding TTL certanly breaks number of things. As most people already noted, experienced system admins will temporarely set TTL low for their domains in preparation for big changes (and raise it once the changes are done).

    Another thing that will break is dynamic DNS. Dynamic DNS uses low TTL (sometimes as low as one minute, or even several seconds) since A records are pointing to IP addresses that change on daily (sometimes hourly, or even shorter) basis. Anybody using any form of dynamic DNS would be hit by this very hard.

    Of course, it also opens a whole bunch of security related issues, for domains that are managed by dynamic DNS services, and/or users (big and small) with static IP addresses when they are switching providers (which usually includes new set of IP addresses being assigned).

  103. Don't know why they ignore TTL but it sucks! by rastin · · Score: 1

    First time I ran into this is when I was learning TCP/IP and DNS by setting up my own small business network. I kept experimenting with DNS files and setting a very small TTL so that I could make frequent changes. Almost drove me mad when I had the correct configuration on my side but the ISP had cached the wrong one. The least they could have done was inform their Support Department that this was something people might call about, all I heard was: "Everything is always right on our side."

  104. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  105. Help for windahs users by keithy · · Score: 1

    Treewalk - brilliant - foolproof (well almost)

    run your own caching DNS server and bypass the problems of slow and incorrectly configured ISP's DNS servers!

    http://www.ntcanuck.com/

    HTH

  106. Re:I know AOL used to be an offender, likely still by Anonymous Coward · · Score: 0

    If you know what nameserver their proxy uses, you can do this with nslookup and the 'server' command... No AOL account required.

  107. Re:DNS practices --- CHANGE THE !@#$%^& serial by oneiros27 · · Score: 2, Insightful

    I feel your pain -- I've done my share of idiot tech support questions that should never have been sent to me.

    But I have seen once when we had changed the serial, we had lowered the TTL for the week preceeding, and yet there were DNS servers out there that just refused to update. (AOL being one of them).

    After we hit two weeks, and the IP still hadn't propagated, I did some digging -- somehow, 4 of the root name servers were forwarding queries to two development DNS servers that someone had set up, which weren't being maintained and getting updates. So yes, it was not the fault of the remote DNS servers that weren't taking the updates ... but we have no clue how the outside world found out about the development DNS servers. (or why the hell they weren't firewalled off, but that's another story).

    But it's not always just a matter of changing the serial.... other things can go wrong with DNS.

    --
    Build it, and they will come^Hplain.
  108. Re:DNS practices --- CHANGE THE !@#$%^& serial by wayne · · Score: 2, Informative
    Listen -- We are SOA for around 11,000 domains. Both myself and the other uber-admins get tickets like this "escalated" when some clueless newbie wet behind the ears freaking junior admin DOESN'T RTFM and doesn't realize that if the serial #'s don't change then TTL is ignored.

    Ok, can you point me to anywhere in RFC1034/RFC1035/RFC2308/etc that says that the SOA record has anything to do with the TTL? The nTTL, yes, but not the TTL. Yeah, if they don't change the serial number, their secondary name servers will take a long time to expire (could be weeks), but again, this doesn't have anything to do with your claim that if the serial number doesn't change, then the TTL is ignored.

    Have I just been trolled?

    --
    SPF support for most open source mail servers can be found at libspf2.
  109. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  110. Re:DNS practices --- CHANGE THE !@#$%^& serial by dzarn · · Score: 2, Interesting

    So rather than bitching about how stupid everyone is, why not take the time to explain why it is done this way? Take 5 minutes out of your busy escalated-ticket day, and tell us why it works the way it does - at least make an effort, rather than complaining about how much better you are than the rest of the world.

  111. That's true by dimss · · Score: 1

    I have seen such server two or three years ago. It was one of main Latvian nameservers. Its misbehaviour made serious damage to our business. Their admins ignored my complaints.

    This winter, another very important nameserver was sure that our domain doesn't exist at all and ignored any changes (which is defined in SOA). 1/3 of Latvian users couldn't visit our site. I've called their admins five or six times! The server was fixed next morning. That day we lost some customers.

  112. How about this as a solution? by NetWurkGuy · · Score: 1

    There should be a protocol by which a client that knows or strongly suspects it is being handed an obsolete IPADDR can request the DNS server to update its cache. In the case of a timeout or connection refusal at the old address, the request can be automatic with the DNS server responding only if the cached address is more than a few hours old and some number, say a hundered or so, such complaint/requests from different clients have been logged. Browsers and other clients might also have an application layer interface for manual requests as well.

    While this might be a new avenue for DOS attacks on DNS servers, they are already open to DOS by ordinary lookup requests anyhow so how much difference could it make?

    --
    "Obtuse Anger is that which is greater than Right Anger" - Lewis Carroll
    1. Re:How about this as a solution? by Anonymous Coward · · Score: 0

      how about DNS servers at popular ISPs respect TTLs? wouldn't that be good enough?

    2. Re:How about this as a solution? by amiliv · · Score: 1

      A lot of difference. Any script kiddie out there would be able to invalidate caches rather quickly. Anyhow, how exactly is the client supposed to know why the connection was not successfull? It might have nothing to do with DNS. Service might be down, or he might be attempting to access the service server is not offering.

      The only good solution is to stop ISPs from playing with TTL. The bandwith they are saving is so marginal, it simply isn't worth it.

  113. Similar problem: stupid ICMP firewalling by sploxx · · Score: 1

    I now ran several times into the problem of sites which do not respond correctly (or at all) with fragmentation requests, see for example IP-Masq-HOWTO.
    Its a very similar problem and causes some websites/tcp connections to hang without any apparent reason. Why the hell can't they configure this properly? It is not like that an immediate DOS attack results from sending back fragmentation requests...

    To start the typical /. rant: :-)
    IMHO it is neccessary to have some kind of "RAW IP" consumer label which would guarantee that:
    1. my or my peers packets are not blocked willingly (no port filtering etc.)

    2. my packets are not traffic shaped, at least not in other ways than I specify by setting TOS fields. I'm not arguing about the possibility of different TOS due to different prices, but rather a telephone/ISP combination slowing down my VoIP traffic to the competition. General disparity in handling traffic should be marked as such, though!

    3. DNS and all other provided 'additional' services (eMail accounts etc.) follow all RFCs and other standards (i.e. this TTL problem).

    Of course, such a label could come in different forms (for example for people really wanting to have a firewall which blocks traffic for them).

    But one needs to be informed to make the decision for the right ISP. The current situation is rather
    intransparent and it steadily gets worse.
    And websites deserve a similar label too. There are "HTML x/y compliant" stickers on some sites, but they are rare and this should be only the beginning.
    I'm still not really sure about who would own these labels (if at all), though.

  114. Microsoft DNS has bugs that do this. by Anonymous Coward · · Score: 0

    I have this same DNS issue as the author from time to time.

    I have seen Microsoft DNS servers set the TTL to be a very long time. I am not sure of the exact amount. But months will pass and the Microsoft DNS server still have the old entrys.

    While it is amazing that the Microsoft DNS server has been up for months in the first place, this is always something I have to deal with when I make DNS changes. I mention this because rebooting the server would flush the cache.

    We have two remote location that use Microsoft DNS servers, and I have to flush their cache from time to time myself due to this issue.

    I have yet to see it get resolved. (grin)

  115. Re:I know AOL used to be an offender, likely still by ScentCone · · Score: 1

    If you know what nameserver their proxy uses, you can do this with nslookup and the 'server' command... No AOL account required.

    Right. The problem is, they have dozens of proxies, and who knows how many name servers - with pretty much no way to know where they are. So, it's easier just to tickle their system through their normal user interface. On other name servers, where I DO know the IP address, I've often done just what you say.

    --
    Don't disappoint your bird dog. Go to the range.
  116. Where to begin... by cbreaker · · Score: 2, Insightful

    Okay first of all this guy doesn't really seem to have much depth of knowledge.

    Asking friends to REBOOT? Why not just ipconfig /flushdns? And For The Love Of God, DNS DOES NOT PROPAGATE. It's a referral system that caches.

    I also have a really hard time taking someone seriously that, in the opening question, mentions something like "well, zealots will argue, and tin foil hats will bitch" or whatever. Yea, he's really unbiased..

    TTL affects the time you should cache the records, at least he seems to get this. So, he can't think of one reason why a large ISP might want to ignore TTL's?

    I'll name a couple and leave it to this guy to fill in the rest:

    A) Because a lot of really terrible DNS admins set the value way too low and leave it there?

    B) Because ISP's might have a need to keep their cache database activity to a resonable level?

    GO on with your study! The results will probably prove to be very uninteresting.

    --
    - It's not the Macs I hate. It's Digg users. -
  117. Re:DNS practices --- CHANGE THE !@#$%^& serial by RollingThunder · · Score: 1

    The TTL operates entirely around the serial number.

    The DNS server that has cached the value knows three things - it has a cached value good until time X, with serial number 12345, and the record is Y.abc.com=Z.

    When the TTL gets close (halfway, I believe is the standard), the caching server asks what the current serial nuber is. This is more efficient than asking per record, because per the spec, you can't change records without changing the serial number. No serial change, no change to recache.

  118. My solution. by Skudd · · Score: 1

    I got sick of waiting for the DNS for a few domains I registered to propigate. I waited a month, and it still hadn't happened. I ended up setting up my own caching DNS server for here at home. This is definitely an issue that needs to be addressed. It really doesn't take hardly ANY traffic to refresh the cache, but if the TTL is modified to something more like an hour, it'd be allright.

  119. New TTL won't take effect until old TTL runs out by VGPowerlord · · Score: 4, Insightful
    I haven't seen this mentioned in any of the comments I've read so far, but changing the TTL on your server will not have any immediate effect on other companies servers.

    In fact, servers that are obeying TTL won't see the new record until the old record's TTL expires.

    The querent doesn't say whether or not there was any wait for the old TTL to expire. They don't even mention what the old TTL was!

    --
    GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
  120. Ignoring TTLs not necessarily intentional by shirpa_kewl · · Score: 5, Insightful

    I work at a hugeISP and we sometimes receive tickets accusing us of ignoring TTLs. However, it has always boiled down to one of three things.

    1. Change in the hosting of a domain to new DNS servers without properly removing the domain from the old hosting DNS servers.

    When this happens, a DNS server caching a domain's info will continue to check the old servers until the old server stops answering.

    2. A change in the TTL of a domain to a lesser value.

    If you change the TTL of a domain from 7 days to 1 hour, DNS servers currently caching that domain's information will hold onto it for 7 days before discovering the new TTL.

    3. A bug in BIND 8 that prevents it from pulling updated information from the primary DNS server for a domain.

    We see this rarely, but it requires a restart of an affected DNS server. We have not diagnosed the specific cause yet since we're moving servers to BIND 9.

  121. Even more stupidity by some hosting companies by Anonymous Coward · · Score: 0

    We are in the process of changing ISP's at my company. They have had a website for about 5 years but didn't use the domain for email.

    About 2 years ago they set up a mail server in house for the first time and everything has been fine. In planning the switch I set up a new A record for the mail server with the ip address from the new ISP.

    Because I am still in the evaluation phase, I set up the MX records for both systems and would play with priority when needed for testing.

    The old mail server address pointed to mail.*****.com and the new address points to smtp.****.com. Should be pretty straight forward. All of a sudden, one of our sales people can't forward email to work anymore from his home account. That ISP (which hosts our web site) long ago added smtp.*****.com as an A record on their DNS server. Since they never hosted email service for this company, I am baffled by it. But it explains why there have been a handful of customers in the area who could never email us.

  122. quick fix by ap0 · · Score: 3, Informative

    My dad uses Comcast and he kept calling me to "make the Internet work" during their recent DNS outages. I just SSH'd in to his router and added a Verizon DNS server (4.2.2.1) to his DHCP info, and his Internet worked right away. His neighbors were complaining they couldn't use the 'Net but he was surfing away just fine.

  123. Re:DNS practices --- CHANGE THE !@#$%^& serial by jafiwam · · Score: 5, Informative

    Grandparent is full of shit or doesn't understand what this thread is about.

    Serials are primarily for the two servers do get the same data (primary/secondary), so when the secondary is done waiting it goes to look at the serial on the primary and grabs the new zone transfer if the serial is higher.

    TTL on an A record is just a recomendation (a specific setting that over-rides the default TTL for the zone up near the SOA).

    IF a server has cached an A record with a TTL of 6000 seconds (just under 2 hours) it should hold and server data for only a maximum of 6000 seconds, and after that time dump the data and go get new data from the authoritative name servers.

    If you do a DIG against them, they'll tell you how much time is left on a cached record.

    Serial doesnt come into the "when to drop cached data" transaction at all.

    Sure, not incrementing the serial can cause all sorts of problems. But that's not what the article is on about.

    AOL et. al are ignoring specific A record TTL and putting their OWN TTL on cached information that over-rides mine. (I know this because the tool I use makes it so I CANT forget to incriment the serial, and I still run into TTL problems. What about that smartypants?) So when I set a domain from default to 3600 seconds a day before an MX record (email server) change and they ignore it, email migration from one server to another stays messed up for days rather than the hour my TTL would do. A good admin doesnt abuse TTL (like yahoo apparently does...) and sets it back up higher when finished moving stuff, most of the time I am prefectly happy with the nice long standard cache time. But sometimes you NEED a low TTL.

    I got the O'Reilly Grasshopper book right here in front of me and none of the TTL sections mentions SOA needing increment for TTL caching. If someone wants to point out a page number that says I am wrong I'd be happy to shut up. But self-righteous indignation better be fact checked... seriously.

  124. You b0rked my domain... oh, wait, my fault, NM by thed00d · · Score: 1

    Personally speaking, I've never had a problem with my DNS servers being ignored. Then again, I took the time to educate myself on how DNS actually works. I got the O'Reilly book 'BIND', read the faqs on djbdns, played with MS dns until I got sick (so, like under 5 minutes with that one), and set up some real world, hard working name servers. I ran into many problems along the - I couldn't see the DNS changes outside of my network, they weren't updating correctly, etc...

    So you know what did about? I fixed my damn mistakes, and the shinizzle started to work just fine. Yeah, that's right. I made some mistakes setting things up for the first time. I can admit it, I'm a big man (and I was young and needed the money).

    Anyway, my point is this - It doesn't matter what DNS server you use (as long as it's not MS DNS), or what your religion is - If you read the documentation, and I mean read it, don't just skim over it and say "Uh huh.. oh that's interesting, I knew that.. ble. This book was written by a monkey, I don't need to make my crap work right", and you set up (initially at least) per the documentation - THEN IT WILL WORK.

    Update your serials, most cach's just check the SOA - this is quicker and less costly than pulling the record down. If the serials match, then no change was made. You can even use a tool for administration (Webmin? not my thing, but you know...) that does this for you. PUT THE DAMN DOTS AFTER THE RECORDS.. this is the biggest problem newbs seen to have with dns. Yes, it's a period, just like ending a sentence. Oh, thats right, you learned l337 sp34k in skool. Yeah, you're useless (not you per se, but a generalization of the 90's generation).

    Check out www.dns.net, it's a great resource, really.

    Most importantly, make sure your stuff works before you complain about how the world doesn't like you. If you don't, it's incompetence, and I've fired people for less.

    Sorry for the harsh tone of the message, but I'm a bitter sysadmin with the HIPAA dedline tomorrow and fresh-out-of-college grad that needs to be trained, and I had to vent somewhere... I mean, I'm saving that "Another insane UNIX sysadmin killed is co-workers" headline for another Slashdot day...

    --
    http://www.accelerateglobalwarming.com
  125. A speed of paperwork... by Maljin+Jolt · · Score: 1

    Is there a valid technical reason to ignore TTL?

    Yes, there is. Both law enforcement and spook surveillance beaurocracies are rather slow with internal processing and more dynamic DNS changes would undermine most of their investigations.

    --
    There you are, staring at me again.
  126. Speakeasy Runs djbdns by jarboy · · Score: 0

    We run djbdns on all our caches, pretty much an out-of the box config, except boosting the cache by quite a bit. Our zones have a 2 hour TTL, as well as for customers. Never heard of any problems, also, the only time we've been compromised was via bind, which I haven't had to worry about for four years now, during which time there has not been any vulnerabilities found in djbdns.

  127. Similar Recent DNS Study by Anonymous Coward · · Score: 0

    A similar preliminary study on this topic was presented at last year's Internet Measurement Conference:

    On the Responsiveness of DNS based Network Control

    They used access logs from Akamai's servers and some webservers at IBM to show that quite a few caching DNS servers don't respect TTLs, sometimes by days or more. In particular, the paper argues that because of this problem, DNS can't be relied on for things like Akamai's load balancing, since it requires using TTLs of only 10s of seconds (IIRC, Akamai DNS TTL's are about 20 seconds).

    The study had a fairly large coverage of caching DNS servers (several 100k). Though it would be interesting to reproduce the results.

  128. You can bypass all this... by bchabot · · Score: 1

    Good timing.

    --
    http://www.justworksnh.com
    1. Re:You can bypass all this... by bchabot · · Score: 1

      (....teach me to typo a /. post... Take 2...) http://www.dyndns.org/news/releases/archives/2005/ 04/587.html

      --
      http://www.justworksnh.com
  129. 'The WEB' by m0rningstar · · Score: 1

    Sadly, 'the web' appears to be slowly mutating into 'the internet'. I've seen it on technical documents and even the somewhat mocking 'interweb' used.

    It's like DMZ or hacker. Not worth fighting, since I'm sure that 90% of the people who use the term automatically include mail and other applications in that term.

    (Hey. Mail is web, right? Just look at Yahoo!, Hotmail or even Outlook Web Access!)

    1. Re:'The WEB' by `Sean · · Score: 1
      I've seen it on technical documents and even the somewhat mocking 'interweb' used.

      I personally prefer Intarweb. :)

    2. Re:'The WEB' by Anonymous Coward · · Score: 0

      I remember hacker and am aware of cluesers confusing the web with the 'net, but a misuse of DMZ is new to me. Care to explain?

    3. Re:'The WEB' by devilspgd · · Score: 1

      Most SOHO gear has a "DMZ IP" -- Anything which hits the external IP and doesn't match a state entry or an explicit NAT rule gets routed to the DMZ IP. This is a perversion of the original concept of a DMZ.

      The idea behind a DMZ is that it's a seperate interface on the firewall which is not totally exposed to the internet (the firewall still plays a role), but doesn't have full access to your local LAN either.

      You'd put machines that need direct internet access into your DMZ (Mail servers, web servers, etc), but you'd build the firewall under the concept that the DMZ'd servers are hostile (or at least will become compromised at some point in the future) and should not have unrestricted access to your local network.

      --
      Give a man a fish, he'll eat for a day, but teach a man to phish...
    4. Re:'The WEB' by gm8419 · · Score: 1

      Sadly, many people believe what you wrote. The "web", as a term and set of technologies we use, is far younger than the "Internet". But like you said, not worth fighting...

  130. This might be a correct response... by Anonymous Coward · · Score: 0

    I read this and thought...

    If you changed your DNS from something larger to 24 hours, you would have to wait the larger number before begining your tests... The reason being is that your DNS servers do not magically go out and tell the ISP DNS servers "Hey you, I updated my TTL, so please update yours".

    Basically, if the value you changed from was originally 7 days, it would make sense that the other DNS servers where incorrect a week later.

    Maybe I read that wrong, but that was my take.

  131. Run your own isn't a solution ... by jon3k · · Score: 1

    ...for my grandmother. Or the vast majority of people for that matter. I'm sure its simply to reduce the load on provider's nameservers (not justifying, just explaining). The fewer times they have to update a record the better (for them, insofar as bandwidth and processing power is concerned).

    Yes, I run my own DNS at home, luckily, I also run the DNS for my company. So I can at least guarantee we aren't handing out absurdly stale responses.

    It really is a sad state of affairs. How much would another nameserver cost to distribute the load? A few thousand bucks? Pathetic, absolutely pathetic.

  132. DNS problems in the UK by MrNemesis · · Score: 1

    I'm not sure it's related to a TTL issue, but the (appallingly slow and unreliable) DNS from my ISP (BT OpenWoe - no, not my choice!) b0rked on pretty much every highly Akamai-sed site I know about.

    Google.co.uk wouldn't resolve (although .com would). Image servers for yahoo, IMDB and a boatload of others were nowhere to be seen. Miscellaneous other sites would slow to a crawl as my router struggled to resolve fifteen different ad servers.

    I set up Bind a week ago just for a laugh, and haven't had a single problem ever since. Can someone more fluent in the wherefores of DNS explain if this has anything to do with the TTL issue? I thought it might be that the IP addresses for the servers in question changed frequently and that British Telecom's notoriously bad DNS wasn't catching up fast enough, but if anyone has a better explanantion I'd love to hear it :)

    --
    Moderation Total: -1 Troll, +3 Goat
  133. I think the issue is complexity by eno2001 · · Score: 1

    There are just too many people out there in charge of DNS boxes that don't know what they are doing. A few years ago I was one of those people. Then I discovered dnsstuff.com. After that I decided it might be a good idea for me to read up on BIND. DNS is a complex system and if you aren't a CLI jockey, thances are that yours is misconfigured.

    --
    -"...bad old ideas look confusingly fresh when they are packaged as technology" - Jaron Lanier (Digital Maoism on Edge.o
  134. Need a good recursive DNS provider? by klm20 · · Score: 1

    We, too, have noticed these problems, and more. Both Comcast and Verizon DSL have consistent problems with their DNS servers. It has not only become extremely frustrating for us here at DynDNS who use those ISPs at home, but we've also received numerous queries from our customers asking if there is anything that can be done to solve the problem.

    To that end, we are now offering a recursive DNS service for customers who wish to ditch their ISPs unreliable servers and sign up for a DNS service that actually works.

    DNS is what we do and we're dedicated to providing the best service possible.

    Check here for more details:

    http://www.dyndns.org/news/releases/archives/200 5/ 04/587.html

  135. Re:I know AOL used to be an offender, likely still by muckdog · · Score: 1

    This was like 6-7 years ago for a small telecom company. My spelling still sucks but, my attitude is less snobbish to the AOLers now that I'm older, wiser and have better understand how business works. Most of our audience was larger telecom companies that likely had their own internet connections. It sounds like AOL has gotten better (I'm surprised). I believe we tried that trick back then with less successful results.

  136. At least you have dns servers by bananasfalklands · · Score: 1

    For British Telecom 'lost'/or had stolen there reverse dns servers that where refered to by ripe.net

    The thing was apperently on 217.32.105.90 whether it is still down is something I gave up caring about.

    --
    Send Peter Clifford Francis Macrae comdoms to 23 Bedford St, St.Neots, PE19 1AX, England
  137. Increment serial by Anonymous Coward · · Score: 0

    Sounds like the submitter forgot to increment his serial number before reloading the zone.

  138. DNSRBL by oglueck · · Score: 1

    Messing with TTL can render DNS RBLs completely useless. When an IP is blacklisted we want the shortest possible notice. I don't care about a blacklisted IP after 7 days.

  139. DNS Failover by Anonymous Coward · · Score: 0

    TTL is a major issue when it comes to DNS Failover, a very low-cost solution for server uptime. Today, service providers will charge around $100 per month on fail-over (and load balancing, which is not required by everyone). If DNS servers would refresh on a timely manner, failover would just be a matter of having more than one server online, a good monitoring service (which you need, anyways) and a dns-entry switch to the backup server. Sadly, since TTL is ignored, our company now is forced to spend an additional $100 per month for this extra .01% of uptime. Such is life.

  140. Scientific article about this by eram · · Score: 5, Informative

    There was an article called On the Responsiveness of DNS-based Network Control presented at the Internet Measurement Conference" last year. It is based on data from the Akamai content distribution network and shows that some DNS servers and even more client applications do not honor DNS TTL information.

  141. Re:DNS practices --- CHANGE THE !@#$%^& serial by gru3hunt3r · · Score: 1

    Wow .. Okay for the record -- I didn't mean to start a troll war. Arrgh.. trolls. Hate trolls.

    I apologize .. first off I was up late last night hacking a Third Party TAPI service provider that integrates as a SIP Proxy (hobby), and then I got abruptly woken up because our VOIP carrier decided to magically change our rates and disable our account because they blew through our prepaid balance. (Arrgh!) .. bad morning. To the individual who pointed out I was angry -- bonus points.

    In my sleep deprived state -- I *incorrectly* expressed what I was trying to say, or if you go back and re-read it, I misconstrued that perhaps the serial # has something to do with TTL. FOR THE RECORD: TTL AND SERIAL # ARE NOT RELATED. That isn't what I meant (you all should know that?!?!?), what I meant was that if you don't bump the TTL then your own nameserver if you do a SIGHUP won't show the changes and you can set the TTL to whatever you want and it won't do a bit of good. Classic newbie mistake.

    Also while we're on the subject of TTL's I that our nameserver is actually setup to increase TTL's less than 24 hours to 24 hours.
    I believe thats in an RFC or best practices guide I read somewhere. I do know that TTL is a recommendation, thats all. It should be set to a sane and reasonable number, and so if you don't set it to something I consider SANE and REASONABLE, I will do it for you.

    As far as the astute individual who pointed out that ridiculously low TTL's are necessary for things like MX record cut overs -- yeah, well little grasshopper -- please stop lecturing me and go get me my coffee.
    See with MX records, if the primary isn't reachable, it's possible to have a secondary. And you probably ought to think about leaving the first box there, setup to forward mail to the NEW BOX --- since (call it a hunch) there's at least one piece of mail that is going to be sent by a screwed up mailserver.
    Heck.. i'm just happy when they attempt to send mail to my MX record instead of my A record (Thanks Micro$oft!)

    Anyway .. I apologize to all who had to read this .. I broke the first rule of Slashdot.. Don't read slashdot angry -- because slashdot posts will do little to calm your nerves.

    Hmm.. or is the first rule of slashdot - don't talk about slashdot?

  142. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  143. Seen it myself by timigoe · · Score: 1

    Its certainly something that happens a bit around this country (UK) with certain ISPs. Had problems due to it myself when updating domains. I also remember having fun in my planetarion days, when we did DNS updates, some places around the world had to acces the game or portal etc via IP for weeks after changes were made. Annoying yes, pointless... probably. Not like DNS traffic is large or anything. Suppose its down to saving every little bite of traffic though as bandwidth costs.

    --
    Tim (http://tim.igoe.me.uk)
    Computers are like Air-con, open windows and they stop working!
  144. GSLB and TTL by jgwythe · · Score: 1

    Has anyone ran into this issue of TTL's trying to implement GSLB? I work for a company that is planning to go active active across two geo locations using GSLB. The ttl is going to very low probly in the 60 second range. I've been trying to get some numbers from venders F5. Foundry, etc. on how many people will get left behind in a failover scenerio, but nobody seems to have a real awnser.

  145. Re:DNS practices --- CHANGE THE !@#$%^& serial by wayne · · Score: 1
    To the best of my knowledge, all of the information you provided is BS.

    I will ask you the same thing I asked the grandparent:

    Can you point me to anywhere in RFC1034/RFC1035/RFC2308/etc that says that the SOA record has anything to do with the TTL?

    I have read most of the DNS RFCs, and the important ones very closely. I have looked carefully at DNS packets and I am working on a proposed RFC that will create a new DNS record type (for SPF).

    I don't know everything about DNS, so I'm always willing to learn more, but if you can't back up what you say with references to RFCs, I'm not going to believe you. Especially when you claim such bizarre things like a caching name server will know the serial number for all domain names that it has cached.

    --
    SPF support for most open source mail servers can be found at libspf2.
  146. Nothing new here by metamatic · · Score: 3, Interesting

    I hate to bear bad news, but there's nothing new here. Back in the 90s I observed similar situations--that no matter what the TTL, and even if you were careful to increment your version IDs, there were plenty of DNS servers that wouldn't notice DNS changes for weeks.

    Hence whenever someone tells me that they're going to move their web hosting, I always advise them to allow for a couple of weeks of overlap, so that they don't lose a ton of traffic. Often they ignore my advice, because of course they have set their TTL low so their changes will take effect immediately, or so they think.

    And then they wonder why they're getting hundreds of e-mails from people telling them that the site is down. And I forward them a copy of the e-mail I sent them beforehand warning them of the problem.

    My gut feeling is that screaming about other people's DNS servers refusing to observe your TTLs is going to get you about as far as screaming about other people's SMTP servers refusing to deliver your spam. It's their server, they can do what they like. For instance, any TTL under 24 hours will be ignored by my caching DNS server. (RFCs say TTLs should be at least a day, more like 1-2 weeks.)

    --
    GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
  147. need a new mod by Anonymous Coward · · Score: 0

    -1, biter.

  148. Our DNS by Cytlid · · Score: 1

    At the ISP I work for, we recently changed the TTLs from about a day to an hour or so. Works out well.

    If we make a change and someone calls up because they haven't seen it yet (even within the hour), I'll just tell them to call their ISP.

    If your ISP does odd things with the TTLs, that's their choice... but what ISP you use is your choice. It's probably something normal like caching servers. If you don't like XYZ about your ISP, then go to another that doesn't do XYZ. Simple.

    --
    FLR
  149. Re:DNS practices --- CHANGE THE !@#$%^& serial by wayne · · Score: 1
    I apologize

    no problem...

    what I meant was that if you don't bump the TTL then your own nameserver if you do a SIGHUP won't show the changes and you can set the TTL to whatever you want and it won't do a bit of good. Classic newbie mistake.

    I'm pretty sure you meant to say that if you don't bump the serial number, not the TTL.

    Also while we're on the subject of TTL's I that our nameserver is actually setup to increase TTL's less than 24 hours to 24 hours. I believe thats in an RFC or best practices guide I read somewhere.

    Yes, RFC1033 and RFC1912 recommend a minimum TTL of one day, but that is just a recommendation. There are times when shorter TTLs are very important, for example many anti-spam DNSBLs have very short TTLs so that machines can be delisted quickly.

    I can understand having minimum and maximum TTL values for caching purposes, but I think 1 hour is probably far more appropriate than 1 day. The bandwidth savings for a 1 day minimum isn't going to be very much but the problems caused could be fairly large.

    --
    SPF support for most open source mail servers can be found at libspf2.
  150. Re:Host file? by Steepe · · Score: 1

    First off, I can't believe this got modded a 2.

    Now for the reasons.

    Reason 1... how many sites do you visit a day? Do you want to put an entry in /etc/hosts (yes, its \windows\system32\drivers\etc\hosts for you windoze dweebs) for each and every single site you visit? Nope, don't think so. additionally,, sites change IP addresses from time to time. We just did it, (took about a month and a half to stop getting calls about can't hit the site from people who's dns servers ignored ttl) so when sites change, you can't get to them until you edit your file again with the new IP address, which you can't get to anyway without removing it from your hosts file, looking up the new IP address, and adding it again.

    --
    Just three more hours seapeople and you can finally take me away from this crappy God Damned planet full of hippies
  151. Some things to keep in mind by Anonymous Coward · · Score: 0

    One thing to keep in mind is that a lot of caches will increase the minimul TTL in order to minimize traffic and load on a DNS server. Another thing to keep in mind is that some broken DNS setups with have a TTL under five minutes long, which will just break DNS caches in certain setups [1].

    Another issue is that chains DNS server that don't implement TTL aging (reducing the visible TTL for a record as the record's expiration approaches) will cause the TLL record to be artificially long.

    I notice a lot of people complaining about this; yet I see no offers to give their ISPs more computers to allow for more processing of DNS traffic, nor do I see offers from people to pay more for their ISP so their ISP can buy more DNS servers.

    Really, if a minimum TTL makes you upset, run a recursive DNS server on your own computer and make the minimul TTL something short like five minutes.

    Dynamic DNS and other means of using an ISP account not meant to be used for running servers to run servers is something that the design of DNS never originally accounted for.

    [1] Think question "example.com 0 A" answer "example.com 0 CNAME example.net"; since we can't cache the CNAME, we can't answer the question, barring a setup that makes writing a recursive DNS server much harder.

  152. Ok by NetWurkGuy · · Score: 1

    Let us know when you find a way to make that happen.

    --
    "Obtuse Anger is that which is greater than Right Anger" - Lewis Carroll
  153. Easier way than resetting computer by DaFrogBoy · · Score: 1

    If you were resetting the computers to flush the dns entries in the local cache, there is an easier way...

    ipconfig /flushdns

  154. Re:DNS practices --- CHANGE THE !@#$%^& serial by afidel · · Score: 1

    Yes, RFC1033 and RFC1912 recommend a minimum TTL of one day,

    NO, they do NOT, RFC 1033 specifically states:
    Then, if you know some data will be changing in the near future, set the TTL for that RR down to a lower value (an hour to a day) until the change takes place,

    It couldn't be much more clear, if you need the TTL to be low you should be able to rely on it being observed specifically so that your changes can be properly propogated.

    --
    There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  155. Re:DNS practices --- CHANGE THE !@#$%^& serial by DA-MAN · · Score: 1

    To the best of my knowledge, all of the information you provided is BS.

    Actually, he is correct. That is the behavior exhibited by most dns servers.

    Can you point me to anywhere in RFC1034/RFC1035/RFC2308/etc that says that the SOA record has anything to do with the TTL?

    I can't because it's not there. I can however point to where it says the Serial # in the SOA needs to be changed for every record update in a zone. The fact that DNS cache's rely on the SOA serial changing to determine whether to expire old records or honor the TTL does not go against the RFC, but it's not explicity stated.

    I have read most of the DNS RFCs, and the important ones very closely. I have looked carefully at DNS packets and I am working on a proposed RFC that will create a new DNS record type (for SPF).

    Might be a good idea to look at the DNS servers from an administrative point of view. There's a lot you don't get from just reading RFC's and looking at packets.

    --
    Can I get an eye poke?
    Dog House Forum
  156. "Is there a valid technical reason to ignore TTL?" by Anonymous Coward · · Score: 0
    To answer the posted question: there may be technical reasons to ignore DNS TTL in particular circumstances, but these will be the exceptions to the rule. To overide DNS TTL as a matter of policy will be a a financial, political, or other a priori decision.

    Follow the money, do bears shit in the forests, is the new pope catholic, etc.

  157. Did the OP allow old TTL to expire before testing? by Gnavpot · · Score: 2, Interesting

    Lowering the TTL to twenty four hours, and making changes and then checking to see when a change was picked up.

    To my knowledge, downstream caching nameservers will not check for changes in TTL before the latest cached TTL expires. Consequently, if the TTL is set to one year, then changed to 24h, the changed TTL will go on unnoticed for up to a year.

    So I would like to know if the OP did allow the old TTL to expire after changing it, before he carried out the test. If not, the results of the test may be misleading.

  158. AOL: wayback machine for DNS by CustomDesigned · · Score: 2, Funny
    Several months ago, we made the mistake of testing a new webmail server using AOL, but forgetting to actually add the DNS record first :-). The negative result is *still* cached at AOL. Bummer for users trying to use the webmail.

    On the plus side, I've used AOL to find out what the IP of names *used* to be while researching problems. Kind of handy that way.

  159. Why would an ISP do it? by IchBinEinPenguin · · Score: 1

    < AFDB >
    to screw up dyndns and force people to pay extra for static IP addresses.
    < /AFDB >
    More likely it's a case of "I know better than you".
    Too many people set TTL's that are too low ("I know better than the guy who wrote the recomendations"), arguably dyndns among them (DNS was never meant to be _that_ dynamic (OTOH a lot of stuff is doing what it was never meant to do))
    ISP admins ("I know better than the guy who set his TTL so low") override the TTL
    As usual, the only loosers are those actally following the rules; admins who set short TTL's in preparation for moving stuff.

  160. I started seeing this in 1999 by Anonymous Coward · · Score: 0

    We built a new web server, but kept the one at the old IP address sending redirects to the new server. Redirects were by IP, not by name, so it was all good.

    A month later I remembered the old web server, and went to go take it down. I decided to check the access log first, just in case, and it turns out that it was *still* being hit. A couple of hundred times a day, in fact. It took nearly two months for all traffic to drop off.

    Lesson? Don't ever lose an IP address.

  161. A French lesson. by UseTheSource · · Score: 2, Informative


    Actually, the word du does mean "of the". It's the equivalent of de and le together. It's le jour because it's masculine.

    --
    "Ein Volk, ein Reich, ein Führer." -Adolf Hitler
    "We are one Nation, we are one People." -The One 'leader'
  162. Re:DNS practices --- CHANGE THE !@#$%^& serial by wayne · · Score: 1
    Can you point me to anywhere in RFC1034/RFC1035/RFC2308/etc that says that the SOA record has anything to do with the TTL?

    I can't because it's not there. [...] The fact that DNS cache's rely on the SOA serial changing to determine whether to expire old records or honor the TTL does not go against the RFC, but it's not explicity stated.

    Might be a good idea to look at the DNS servers from an administrative point of view. There's a lot you don't get from just reading RFC's and looking at packets.

    One advantage of looking at the packets and the source to things like bind, is that you will discover that (*except in a few cases like NXDOMAIN) the SOA record is not sent with the answer. Therefore, no matter what you might believe, it is impossible for most DNS caching software to depend on the SOA values.

    Feel free to show me where in bind/djbdns/etc. that this SOA cache dependancy happens, or to show an actual test case. I would love to see it. Maybe there are DNS servers that do an extra query for the SOA record, but I kind of doubt it.

    --
    SPF support for most open source mail servers can be found at libspf2.
  163. Support Problem by Tekoneiric · · Score: 1


    This isn't just a problem for end users. It's also a problem on the support end. I worked as a Tier 2 support tech for a broadband company and I seemed to be the only one there that understood there was a problem with the DNS servers. I would constantly get calls that had been passed back and forth through customer service, tier 2 and to the ISP's network support then back down the chain. A simple ipconfig /flushdns would get the customer back online but I had been specifically told not to do that but did it anyway.

    The cable ISP I subscribe to has the problem also. They don't have their own DNS servers. They use a DNS subscription service which is to many hops away for my liking. I was having to clear my DNS cache several times a day and then I decided to traceroute to see who the ISP's provider was. I grabbed their DNS address, hard coded it into my router and the problem was solved along with having faster DNS lookup. - Andrea -

    --
    *It's not what you can do for the Dark Side but what the Dark Side can do for you!*
  164. Re:I know AOL used to be an offender, likely still by terminal.dk · · Score: 1

    There is one thing to do.

    Runs newspaper articles (online or in the print media) telling how AOL either hired techies not worth even an indian salary, or how they are trying to destroy the Internet.

  165. Re:DNS practices --- CHANGE THE !@#$%^& serial by mindstrm · · Score: 1

    The serial number needs to be updated so that bind will pick up the new zone, and so that secondary servers replicating from it will also see the change.

    It's got nothing at all to do with 3rd party servers on the net caching responses.

  166. Re:Host file? by idontgno · · Score: 1
    Geez, Dude (or Dudette)... it didn't get modded a 2, it started out a 2 because GP poster has excellent karma...unlike you...

    GP admitted to n00bness WRT DNS. No point taking a 'tude about it, 'cos that's just n00bsniping.

    Putting IPs into a hosts file isn't always a bad idea. If your DNS server is unreliable, and you MUST MUST MUST get through, this would work. (So would adding more reliable DNS servers to your search order, of course.) The downside is that it will work poorly in the case of multi-home (DNS round-robin) sites, or dynamically-IP'd ones.

    Besides, the actual article is about how DNS is often no better than putting static IP addresses into your static hosts file. You did RTFA, didn't you?

    --
    Welcome to the Panopticon. Used to be a prison, now it's your home.
  167. Re:DNS practices --- CHANGE THE !@#$%^& serial by Anonymous Coward · · Score: 1, Insightful
    As far as the astute individual who pointed out that ridiculously low TTL's are necessary for things like MX record cut overs -- yeah, well little grasshopper -- please stop lecturing me and go get me my coffee. See with MX records, if the primary isn't reachable, it's possible to have a secondary.
    Which helps non-MX applications how? The only way to get a web server back up when its data center is destroyed is by propagating DNS entries to its backup.
    [TTL] should be set to a sane and reasonable number, and so if you don't set it to something I consider SANE and REASONABLE, I will do it for you.
    And who are you to dictate to your customers and their Internet associates? If I'm trying to make a critical purchase from a web store, and their data center is carried off by a tornado, I had damn well better get IPs for the backup data center in a big hurry. If I'm using VOIP and a backhoe cuts the provider's POTS trunk, I had damn well better get IPs for the backup interchange in a big hurry.

    You see, the Internet is no longer a bunch of DARPA nerds playing with ftp and gopher. It's an important part of people's lives, often as important as the telephone. (More important for a considerable number of people.) I will only become more important. Capriciously blocking chunks of the network to save a few dimes on bandwidth and DNS server RAM is simply unacceptable. Seriously: the average mail transaction is thousands of bytes, the average web transaction is tens of kilobytes, and the average DNS transaction is under two hundred bytes. The bandwidth is negligible, and gigabytes of cache RAM are utterly cheap these days.

  168. Re:DNS practices --- CHANGE THE !@#$%^& serial by Greyfox · · Score: 1
    Yep, I'm pretty sure that was the problem behind DNS issues at a couple of different sites I visit recently. That's an easy mistake to make the first couple of times you change your records, until you spend a couple of hours trying to figure out why the !@#%! your DNS changes aren't getting out to the rest of the net. After that the serial is the first thing you change when you edit those files (heh heh heh...)

    It's pretty easy to tell the professional internet companies from the ones run in someone's closet by digging around in their name server records for a while. Check out the ones for hotmail sometime -- now THERE's a solid setup. I'm pretty sure it indicates that Microsoft is holding some UNIX guys hostage in some basement somewhere, so we might want to think about taking up arms to liberate the guys...

    --

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

  169. bad dns setups by Anonymous Coward · · Score: 0

    2 weeks seems to be way too long to be keeping DNS records. In my experience, if an old IP is sticking around for that long, I'd re-examine your DNS setup. Often people try to do strange things with 4 different DNS servers and one of them somewhere still has an old DNS server ip which has an old A recrod somewhere.

    Im willing to bet 2 weeks after every DNS server updates to the new IP, hes going to see the old IP pop back up again and have to figure it out.

  170. Re:DNS practices --- CHANGE THE !@#$%^& serial by XO · · Score: 1

    Bzzzt. TTL is absolute maximum. Serial numbers change or not, when you've reached TTL, you go to the authoritative interface.

    --
    "Champagne for my real friends - and real pain for my sham friends!" http://ericblade.postalboard.com/
  171. Re:DNS practices --- CHANGE THE !@#$%^& serial by Anonymous Coward · · Score: 0

    "slashdot these days"...

    Have to look a fair way up the page to find a number higher than 782948...

  172. Re:TTL is useless, so who cares? by jd34 · · Score: 1

    > servers at google spend most of their life burried under
    > one type of request or another; what's so damned special
    > about DNS?

    This is a fascinating example of "I can't make up my mind what I want".... here you seem to be arguing that we might as well not have any caching at all (since it isn't special), but below you complain about "yahoos" deciding how often you
    should refresh your cache.

    > Uh, that's what i want... some yahoo out on the internet
    > deciding how long it should take for me to effect a change
    > on my infrastructure. That's routing into damage, not around it.

    > The point that everyone is missing

    I wish your explanation were more clear, then...

    > is that client TCP state tables are completely divorced from
    > DNS's distributed database parameter (TTL) that dictates how
    > quickly infrastructure can be executed.

    prior to a connection, the TCP state tables are undefined. That is precisely when you need DNS data (you have to specify a destination IP address, Holmes!) ... and it is also when caching pays off... for YOU. Remember... DNS is distributed... the client isn't the only node that benefits from caching.

    > This is a fundamental flaw in DNS and directly impacts
    > trust relationships on the internet.

    Let me get this straight... you could not cache at all, or you could gain some benefit (faster dns response, lower bandwidth use) and still keep your users happy, yet you think it is better to put your ego in the picture and tell your users
    how often they need to learn of changes? Static IP addresses are getting scarce, bub... and your users are going to want to keep up with the dynamic ones.

    > Anyone who tells you
    > differently either doesn't know what the fsck their talking about
    > or is in love with the code the wrote. ...stuff that in your ISC
    > pipe and smoke it.

    Chill, man... one minute you're tryin' to argue coherently, and the next you're usin' fightin' words.

  173. Re:DNS practices --- CHANGE THE !@#$%^& serial by Eil · · Score: 1


    Attention Slashdot user gru3hunt3r, if that is your real name. You are guilty of:

    * Referring to yourself as an "uber-admin";
    * Complaining about people who never once blamed you for high TTLs by name;
    * Insisting that those who know enough to know what a TTL is are merely "wet behind the ears freaking junior admins";
    * Making up two completely unrelated and inapplicable analogies;
    * Using "l3375p33k" in your nickname;
    * Butchering well-known English spelling, capitalization, grammar, and punctuation rules; and
    * Being an all-around dufus.

    That is all. Return now to the games section. Moderation will be swift and painless. (For us.)

  174. Poor hack to avoid cache poisoning by Anonymous Coward · · Score: 0

    I think that they are likely ignoring ttl as a very poor hack to get around cache poisoning attacks. If you ignore the ttl, records basically last for an infinite time, and can't be poisoned.

    Makes it very hard to change them though!

  175. Re:TTL is useless, so who cares? by Anonymous Coward · · Score: 0

    > you complain about "yahoos" deciding how often
    > you should refresh your cache.

    No, actually I think he was arguing that DNS admins else where should respect his decisions about how long to cache lookups for his address/name space... even if they do feel a miniute increase in bandwidth utilization. Maybe DNS admins (or the folks who write the bind code) should set up a decaying/backed-off TTL parameter linked to the number of queries rather than setting some simple minded constant parameter.

    > prior to a connection, the TCP state tables are
    > undefined.

    Not if you get a stale response to your initial DNS query. If you do, then the problem will be passed on to the resulting network connections that are attempted by the application to that old address. Usually stale information will result in incomplete connections (timeouts, re-sends, etc.). Of course, there could be a new web (or whatever) server at the old IP address (as you point out address space is a finite resource), then you have to look at the delivered web content to figure out what's going on... nobody want to attempt to solve that problem, nor should they.

    The smart admin will keep both servers up when transitioning and provide redirect at the old end to the new end. Like a friend of my said about girlfriends and apartments: You don't move your shit on to the street and then go apartment hunting. Then again, that's an ideal that rarely happens. How many folks have had to switch providers due to unsatisfactory performance or expiring domains or a need for more bandwidth that they're current provider can deliver, etc.? More than a few, I bet.

  176. Re:DNS practices --- CHANGE THE !@#$%^& serial by slamb · · Score: 1
    Yeah, if they don't change the serial number, their secondary name servers will take a long time to expire (could be weeks), but again, this doesn't have anything to do with your claim that if the serial number doesn't change, then the TTL is ignored.

    Remember that the article author's actual observation was that old DNS records were being given out. He did not use tools like dig to verify that servers were ignoring the TTL; it was merely a hypothesis. He seems rather ignorant of DNS. He did things like suggesting to people that they reboot to see DNS changes and report back to him, rather than (A) checking himself (B) issuing a command to flush their local cache (C) asking them to hardcode working DNS servers, if the ISP's servers really are broken.

    I'd guess that (at least) one of these two things happened:

    • He decreased the TTL and made the changes...without waiting for records fetched before the TTL decrease to expire. Thus, servers were allowed to keep records until the expiration of his older, longer TTL.
    • He changed the record but not the serial. His secondary servers did not update. The ISPs which he'd observed to hand out old entries were working correctly, but accessing his secondary servers. Remember, the rest of the world considers them authoritative.

    Neither of these support the hypothesis, but they do explain the observed data.

  177. I think it has to do with who is doing the lookup by arete · · Score: 1

    web records are being looked up by an http client running on an arbitrary user machine. So they'll normally hit the popular and overloaded ISP DNS servers.

    MX records are being looked up by a mail SERVER. Such server is much more likely to do it's own root lookups or otherwise use a superior system, because it doesn't have to accept DNS lookups from 3 million possibly hacked DSL machines.

    The mail servers are run by the ISPs. Who would screw with the TTL for THEIR OWN lookups? That'd be kindof silly.

    --
    Looking for freelance Actionscript (Flash/Flex) or ColdFusion work and/or freelance developers. Email me, put Slashdot
  178. Re:DNS practices --- CHANGE THE !@#$%^& serial by Anonymous Coward · · Score: 0

    I assure you, their name servers are configured just fine --- It's yours that is broke.

    Prove it!

    Since you won't be able to... take it down a few hundred notches.

  179. Re:DNS practices --- CHANGE THE !@#$%^& serial by sstidman · · Score: 2, Insightful

    That isn't what I meant (you all should know that?!?!?), what I meant was that if you don't bump the TTL then your own nameserver if you do a SIGHUP won't show the changes and you can set the TTL to whatever you want and it won't do a bit of good.

    I don't know why you assume everyone should know what you meant. The rest of your hateful post made you look uninformed so folks probably generally presumed you were just a newbie admin with an inflated ego.

    And why would they bump the TTL on their nameserver, anyway? Could you possibly mean that they should bump the serial number? I think you keep confusing record caching with zone transfers to secondary servers.


    Also while we're on the subject of TTL's I that our nameserver is actually setup to increase TTL's less than 24 hours to 24 hours. I believe thats in an RFC or best practices guide I read somewhere.

    I presume you know nothing about global load balancing. Global load balancers, which are really just fancy DNS servers, work by varying the A records returned from queries. The GLBs monitor the servers (or more likely load balancer farms) and if one goes down the GLB will no longer resolve to that IP address. For that to work, the TTL must be set to a very short time. If an ISP ignores the TTL, it will cause problems for any of their customers who access the domain with the short TTLs. Many large sites with multiple data centers make use of GLBs to balance traffic accross their data centers. You should not ignore TTLs or you may find that folks who rely on your DNS servers will occasionally be unable to access various sites. Since GLBs also tend to direct traffic toward less busy data centers, you will find that ignoring TTLs will also result in slower access for your clients to their favorite web sites. And if that's in a best practices guide, you might consider throwing that guide away.


    I do know that TTL is a recommendation, thats all.

    And I suppose stopping when the guard rail drops at a train track is technically just a recommendation, too. People have good reasons for lowering TTLs even if you don't seem to think so. Ignoring them can cause real problems.


    I don't know why you need to interject the condescending, hateful speech in your posts. I would have blown it off with your apology, but then you included that unnecessary "you all should know that?!?!?)" crack in your latest post. You act like a genius and then make mistake after mistake in your technical statements, making you look like a buffoon. Why don't you relax and humble yourself a bit. Your ego is too inflated.

    --
    Send/track messages to 100K people: www.xPressAlert.com
  180. Re:TTL is useless, so who cares? by jd34 · · Score: 1

    > > you complain about "yahoos" deciding how often
    > > you should refresh your cache.
    >
    > No, actually I think he was arguing that DNS admins else where should
    > respect his decisions about how long to cache lookups for his
    > address/name space... even if they do feel a miniute increase in bandwidth
    > utilization.

    If that is the case, he mis-read my original comments (which I still think clearly described authoritative servers telling "nearby" caching servers how long to cache), and I interpreted his use of the term "infrastructure" to mean his caching server. However, since he later attacked the existing DNS design, I don't think we misunderstood each other... we just disagreed.

    > Maybe DNS admins (or the folks who write the bind code)
    > should set up a decaying/backed-off TTL parameter linked
    > to the number of queries rather than setting some simple
    > minded constant parameter.

    Unlike congestion relief, I don't think DNS name changes are affected by traffic... they are more of a characteristic of the way IP addresses for the server are handled.

    > > prior to a connection, the TCP state tables are
    > > undefined.
    >
    > Not if you get a stale response to your initial DNS query. If you do,
    > then the problem will be passed on to the resulting network connections
    > that are attempted by the application to that old address.

    My point is that your initial DNS query is a totally separate network interaction than the one associated with opening the connection to the target you REALLY wanted.

    The previous poster tried to argue that this is a broken design, but from the network interaction perspective merging the DNS lookup and target connection state table initialization would look identical... that is, a separate DNS packet exchange of some sort would have to have been completed if the local cache was stale before the target packets could be sent, so why bother merging the two?

  181. BIND is the problem, IME by demon · · Score: 1

    From what I've seen, BIND's recursion stuff has been broken for a very, very long time. It doesn't seem to obey record TTLs for cached records. Unfortunately I haven't dug into the reasons why; however, if I use a different recursor I don't see the problems I do using BIND. I've been told I'm nuts, but I'll stick with alternative nameservers from here on out.

    --

    Sam: "That was needlessly cryptic."
    Max: "I'd be peeing my pants if I wore any!"
  182. Do not use 127.0.0.1 for that! by treczoks · · Score: 1

    Some spammers have enough brain left to filter aginst "127.0.0.1" or even "127.0.0". Remember, loopback is 127.0.0.0/8 - and be creative...

  183. Re:Is there a valid technical reason to ignore TTL by Anonymous Coward · · Score: 0

    The load won't rise by having them wait for other DNS servers to answer. And more users = more effective cache - one user might hit www.google.com 10 times per day (more for geeks), where as a thousand users might hit www.google.com 10000 times per day.

  184. Re:TTL is useless, so who cares? by Anonymous Coward · · Score: 0

    > My point is that your initial DNS query is a
    > totally separate network interaction than the
    > one associated with opening the connection to
    > the target you REALLY wanted.

    Hence the trust issue. DNS should, above all else, return the host that you intend to connect to. Not the one that your DNS thinks I want to connect to. Cache posioning, either intentially or as an unindented side-effect of some esoteric, sub-optimal, unnecessary bind configuration, will always lead to a crisis in trust. Applications inherently "trust" DNS, even when the trust is unwarranted... and that's what ignoring people's TTLs does... it undermines the trust applications usually assume.

    Of course, this is why things like secure DNS were invented, but how many people are ready and willing to switch to that monster and when will the client level support begin to appear?

    In the mean time, clueless ISPs can continue to subvert the DNS-application trust relationship all they want. I personally don't care, since the market tends to self-correct for ignorance and malfeasance. I worry about two things:

    1 - the window of exposure is so slight that the market won't adjust as it should.

    2 - some cleaver, dishonest person will realize that a well leveraged trust gap would greatly assist his phishing expedition.

    On point number two: think about what would happen to an ISP were it to be sued in civil court by, say, a bank because it didn't respect their TTLs and the bank's cutomers were hurt because of that. So, go ahead big ISP, ingore away! Your day (in court) may indeed come sooner that you think.

  185. Re:DNS practices --- CHANGE THE !@#$%^& serial by Anonymous Coward · · Score: 0

    if they don't change the serial number, their secondary name servers will take a long time to expire (could be weeks)

    No, actually. If they don't change (increase) the serial, their secondary name servers will never update. Not "weeks" - never. Because they check the SOA for the serialnumber, and it hasn't updated, so they don't AXFR.

  186. Re:DNS practices --- CHANGE THE !@#$%^& serial by DanAnderson26 · · Score: 1

    Hmmm...

    I'm thinking mid 20's...

    First job after McD's or the help desk...

    Some college, no degree, "Smarter then everyone else"...(ITT?)

    Writes perl scripts...badly...

    Thinks the "king of the world" guy from the movie "GoldenEye" is cool...

    Has at least 1 t-shirt from thinkgeek...(Probably "Got Root?")

    Bad haircut...

    Will probably get fired when his boss finds out what he did to the DNS server.

    Dan

  187. Related measurement experiments by Xin+WM · · Score: 1
    Since we conducted similar experiments recently, we would like to share our methods and results with you. We have conducted two sets of measurement experiments:

    1. the relationships between TTLs and DNS record update frequencies for different kinds of domains and different kinds of records;

    2. the relationships between TTLs and freshness of cached records.
    More than 15000 domain names and around 9000 DNS caches were examed in the first set and second set of experiments. Our experiments confirmed your concern in the effectiveness of TTL-based solution. Based on the measurements, we further proposed a new protocol DNSCUP (DNS Cache Update Protocol) to address this issue.
    You can find more information at: http://www.cs.wm.edu/~xinchen/DNScup.html

  188. Your sig. by WindBourne · · Score: 1

    Does that properly belong to Ed Howd? And are you him?

    --
    I prefer the "u" in honour as it seems to be missing these days.