updated network to lib; tinydns: use network.lib to change dns