WebPagetest Forums
Newbie Testing for CDN wihout DNS changes - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: General Discussion (/forumdisplay.php?fid=25)
+--- Thread: Newbie Testing for CDN wihout DNS changes (/showthread.php?tid=15372)

Newbie Testing for CDN wihout DNS changes - gautamedu - 05-18-2018 01:53 PM


i have a couple of applications that i am going to move to CDN like cloudflare or Incapsula.

I have got a POC that i am doing and got hte CNAME changes to be done. What i want to do it take a snapshot of the application before and after without actually doing the CNAME changes in the DNS servers.

so my question is how can i use the setDNSName in on the site

usage: setDnsName <name to override> <real name>
example: setDnsName pat.aol.com http://www.aol.com

I have tried to give the above in the scrip section, however that is not helping.

setDnsName z5q63a7.x.mydns.net http://www.mydomain.com.au
navigate http://www.mydomain.com.au

Appreciate your help.


RE: Newbie Testing for CDN wihout DNS changes - pmeenan - 05-19-2018 02:13 AM

Looks like you have them flipped. Put the domain you want to override first and the name you want it to use under the covers second. Make sure the command and both names are all separated with tabs.

The only other issue that comes to mind is that the DNS override doesn't work with iOS but it should work with all of the other browsers/devices.