Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Banned
    Join Date
    Jan 2012
    Posts
    93
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Are DNS lookups generally real time?

    I just added a MX record to my zone file.

    I queried a MX record for my domain name straight after, but nothing returned.
    I am guessing the server I use for DNS lookup will be using a cached record, rather than looking up my DNS server real time, and that their cache will be flushed when their server does a periodic lookup on my DNS server, which will probably be within 48 hours, right?

  • #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,642
    Thanks
    0
    Thanked 649 Times in 639 Posts
    Yes. If the thousands of DNS around the world always did real time lookups of the information then there would be significant delays added to each and every web page access so as to slow the internet down due to the flood of requests that each nameserver would be receiving requesting the information.

    DNS generally update at time intervals between every few minutes for some through every few weeks for others. Most update every few hours and so 99.9%+ will have updated within a couple of days.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #3
    Banned
    Join Date
    Jan 2012
    Posts
    93
    Thanks
    8
    Thanked 0 Times in 0 Posts
    Thank you.

  • #4
    Banned
    Join Date
    Jan 2012
    Posts
    93
    Thanks
    8
    Thanked 0 Times in 0 Posts
    Cool. My ISP DNS server has updated its cache with my new zone file.

    There is something I am not happy about though... when I goto the URL 'mail.mydomain.com', it goes to my webpage 'mydomain.com', when it shouldn't be doing anything.
    I added this to my zone file when adding the MX. Have I did it right?

    IN MX 10 mail.mydomain.com.
    mail IN A 201.124.95.75
    How can I stop this behaviour?

  • #5
    Banned
    Join Date
    Jan 2012
    Posts
    93
    Thanks
    8
    Thanked 0 Times in 0 Posts
    Like this:

    IN MX 10 mydomain.com.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •