DEV Community

Discussion on: Quick terminal-based DNS switching

Collapse
 
stanleynguyen profile image
Stanley Nguyen

Hey Ben, thanks for the great suggestion. I didn't think of this when I was trying to solve the problem.
Nevertheless, taking this approach wouldn't save much effort though as whenever I switch to a new network (which often happens if I travel from point to point) I will need to trigger a script to figure out the default NS and append them to the current list. Let me know if I didn't get you correctly