Alternative to DNS it would be good, to use a static IP. For esp* The parameter NetworkAdvancedSetup exists already in user_config.