Update run.js

switched to if statement to not alter the default. Added a small/basic check to only accept a dns value with at least 7 characters.