How to get IP address to point to Akamai Staging

Quick Utlity Using Docker

Refer: https://github.com/markSmurphy/akamai-staging

docker run --rm -it \
  node:18-alpine \
  sh -lc "\
    npm install -g akamai-staging && \
    staging www.hollandamerica.com \
  "

Online Tool

https://www.digwebinterface.com/?hostnames=api.barclays.hollandamerica.com.edgekey-staging.net%0D%0Adev-api.barclays.hollandamerica.com.edgekey-staging.net.&type=&ns=resolver&useresolver=9.9.9.10&nameservers=

Overview of Steps

Step 1: dig book.hollandamerica.com | grep -i edgekey
Step 2: take the edgekey value and append -staging to it and dig it again
Step 3: dig www.hollandamerica.com.edgekey-staging.net
Step 4: Use the answer section and grab the IP address, use in your hosts file
Step 5: Turn on modify headers with Akamai Pragma and look for X-Akamai-Staging

Doing the work

$ dig book.hollandamerica.com | grep -i edgekey
book.hollandamerica.com. 29706 IN CNAME book.hollandamerica.com.edgekey.net.
book.hollandamerica.com.edgekey.net. 6 IN CNAME e4069.x.akamaiedge.net.

$ dig book.hollandamerica.com.edgekey-staging.net
;; ANSWER SECTION:
book.hollandamerica.com.edgekey-staging.net. 300 IN CNAME e4069.x.akamaiedge-staging.net.
e4069.x.akamaiedge-staging.net. 20 IN A 23.34.148.111

This works as of 2017-09-22
/etc/hosts
72.246.55.134 book.hollandamerica.com

You shoud now see this in the header response:
X-Akamai-Staging ESSL

Using Fiddler to set Akamai Headers
Refer: https://community.akamai.com/blogs/EmilioMurillo/2016/04/21/troubleshooting-with-fiddler

Simple test page on book.hollandamerica.com to make sure you can see Akamai Stage
https://book.hollandamerica.com/utilities/SessionDump.jsp

Leave a Reply