WebPagetest Forums
DNS Setting to use local DNS - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Discuss Test Results (/forumdisplay.php?fid=4)
+--- Thread: DNS Setting to use local DNS (/showthread.php?tid=13374)

DNS Setting to use local DNS - gurucharan - 11-14-2014 04:19 AM

Hello Forum,

Sorry if this thread was already discussed earlier.

I am trying to use WebPageTest (WPT) for a test a webpage what uses some analytic tags and it seems like for some reason, it always uses a DNS server which is located in the US! Like even though I choose Singapore as the test origin, it come all the way to US and this causing latency issues!

The only link I was able to find about this is - https://sites.google.com/a/webpagetest.org/docs/using-webpagetest/scripting

Questions I have are:
  1. Is this a local browser setting?
  2. Can we configure it in such a way that it always uses the nearest local DNS ?


RE: DNS Setting to use local DNS - josephscott - 11-15-2014 09:10 AM

Depends on how the Singapore test server is setup.

Do you have a test results link that shows the DNS lag?

RE: DNS Setting to use local DNS - pmeenan - 11-18-2014 06:33 AM

The tester info page has information about the DNS servers configured for each test location: http://www.webpagetest.org/getTesters.php?f=html

It looks like Singapore is probably run on EC2 but it uses anycast resolvers local to Singapore. What makes you think it is using servers in the US? If you are using a geo-location service that relies on DNS there's a chance that they don't handle EC2 geo-location well (and those usually also do a really bad job for anyone using Google's global DNS servers).