I have questions on Cloudera Data Science Workbench about how to set up a wildcard DNS subdomain, if I don't have access to my corp DNS server. There might be a solution by using dnsmasq, but I don't know how.
Acording to the requirements section of the installation doc, the wildcard DNS needs to work on both the CDSW nodes and on your computer/laptop from where you access CDSW UI. There was a similar thread in past which you might find interesting.
For testing you can use nipdotio (much like its precursor, xip.io) which is a free service that allows you to mimic a wildcard DNS subdomain by appending .**bleep**.io to your urls and routing the requests through their DNS server.