Below is a dialogue between software developers, the first one used ChatGPT in his solution of code task and makes a comment,   the second one gives him reply on his solution. Write a reply that appropriately answers the comment.

### Comment:
also ive asked chatgpt for a solution to see if there are any other way of doing it and it recommended following name disable internet dns methodrun echo nameserver ...  sudo tee etcresolv.confshell bash name buildrun colcon build eventhandlers console_cohesion packagesaboveanddependencies  inputs.targetpackages  cmakeargs dcmake_build_type inputs.cmakebuildtype  mixin coveragegcc coveragepytest compilecommandsshell bash name restore internet dns methodif alwaysrun echo nameserver ...  sudo tee etcresolv.confshell### Reply:
xmfcx i prefer using the nsswitch method because we make sure that even if etcresolv.conf gets updated e.g. via dhcp, we wont be using it