Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




82 posts

Master Geek

Trusted

Topic # 195281 13-Apr-2016 13:09
Send private message

Hello, if I create a brand new A record on our companies publically accessible DNS server,why does this not automatically resolve to the new value when someone on the internet enters that address is a web browser ?

 

I could understand if this was a change to an existing record i.e. the end user's local or intermediary DNS servers already had the old record cached so would have to wait until it timed out before renewing.

 

But I would have thought that if it was a brand new record, then the end user's local or intermediary DNS servers would query all the way to my DNS server to get the new record  (because it would have been cached anywhere) ?

 

Thanks for any help understanding this.


Create new topic
125 posts

Master Geek
+1 received by user: 22


  Reply # 1532537 13-Apr-2016 13:21
Send private message

What TTL did you set the A record to? Also you might need to flush the DNS cache on any DNS servers along the way?

 

 


13747 posts

Uber Geek
+1 received by user: 2389

Trusted
Subscriber

  Reply # 1532538 13-Apr-2016 13:22
One person supports this post
Send private message

I just tried it, using CloudFlare as my DNS server. 2 seconds after creating an A record I was able to resolve it. This is what I would expect.

 

Tell us more about who your DNS provider is, where the test is from. Maybe there's some aggressive caching done by whatever ISP you're with / DNS server you use.





AWS Certified Solution Architect Professional, Sysop Administrator Associate, and Developer Associate
TOGAF certified enterprise architect
Professional photographer


 
 
 
 


Try Wrike: fast, easy, and efficient project collaboration software
BDFL - Memuneh
60012 posts

Uber Geek
+1 received by user: 11112

Administrator
Trusted
Geekzone
Lifetime subscriber

  Reply # 1532552 13-Apr-2016 13:43
2 people support this post
Send private message

If you do a DNS lookup immediately BEFORE you create the record then the NOTFOUND may be cached on your browser, computer, router, ISP and probably more.

 

DNS does not "propagate" instead servers will cache the results for the specified TTL and request a new value from resolvers when the TTL expires. That's why sometimes you change an existing value it does not reflect instantaneously. It's not waiting for propagation, it's waiting for TTL expiration.

 

Now some ISPs have misconfigured servers that have their own TTL and ignore what DNS tells them - they might do this to save bandwidth checking external resolvers. 

 

Back to your question, it could be a lot of things happening.

 

 





Webhead
1928 posts

Uber Geek
+1 received by user: 577

Trusted
Subscriber

  Reply # 1532567 13-Apr-2016 14:20
Send private message

OpenDNS has a good tool to check what various DNS servers see for your domain/host:

 

https://cachecheck.opendns.com/

 

 





I fix stuff!
1620 posts

Uber Geek
+1 received by user: 279

Trusted
Vocus
Subscriber

  Reply # 1532574 13-Apr-2016 14:34
Send private message

Its all based on TTL.

 

TTL means the dns server will cache your record for X amount of time set by the TTL. The dns server will not ask the authoritive server for that record while its cached.

 

If you are moving A records around all the time, set a low TTL.


2337 posts

Uber Geek
+1 received by user: 373

Trusted

  Reply # 1532575 13-Apr-2016 14:46
One person supports this post
Send private message

It can be caused by a number of things but mostly the SOA Record  which includes a large number of things like the serial number and retry/minimum time values for certain things.

 

If these SOA values are too high it can take a while for other name servers to know about the changes .

 

These values are set normally set to reasonable numbers so your DNS server is not hit every time someone makes a typo (which is what you are doing basically)

 

DNS can be a little confusing at times but if you want to learn all about it, read the O'Reilly DNS and BIND book or if you dare read the DNS RFC's (I don't know what the latest is these days but 1034/1035 should help )

 

 

 

 

 

 

 

 


ldo

2 posts

Wannabe Geek


  Reply # 1553719 16-May-2016 21:18
Send private message

if I know I am going to be making some changes to a DNS zone in a few days, I like to drop the TTL to something short, e.g. 1 hour. Then when I make the actual changes, hopefully they should propagate out quickly. Then I can raise the TTL back again at my leisure.


Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

TCF and Telcos Toughen Up on Scam Callers
Posted 23-Apr-2018 09:39


Amazon launches the International Shopping Experience in the Amazon Shopping App
Posted 19-Apr-2018 08:38


Spark New Zealand and TVNZ to bring coverage of Rugby World Cup 2019
Posted 16-Apr-2018 06:55


How Google can seize Microsoft Office crown
Posted 14-Apr-2018 11:08


How back office transformation drives IRD efficiency
Posted 12-Apr-2018 21:15


iPod laws in a smartphone world: will we ever get copyright right?
Posted 12-Apr-2018 21:13


Lightbox service using big data and analytics to learn more about customers
Posted 9-Apr-2018 12:11


111 mobile caller location extended to iOS
Posted 6-Apr-2018 13:50


Huawei announces the HUAWEI P20 series
Posted 29-Mar-2018 11:41


Symantec Internet Security Threat Report shows increased endpoint technology risks
Posted 26-Mar-2018 18:29


Spark switches on long-range IoT network across New Zealand
Posted 26-Mar-2018 18:22


Stuff Pix enters streaming video market
Posted 21-Mar-2018 09:18


Windows no longer Microsoft’s main focus
Posted 13-Mar-2018 07:47


Why phone makers are obsessed with cameras
Posted 11-Mar-2018 12:25


New Zealand Adopts International Open Data Charter
Posted 3-Mar-2018 12:48



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.