I configure mine manually to point to my modem/router’s LAN IP.
It looks like this (Control Panel - Network - General)
After you’ve done this, Control Panel - Update & Restore will probably tell you DSM Updates are waiting to be installed. Package Center will probably show the same thing too Take care of that first