Update net.cpp

Remove old DNS versions.