Recently a new ut2003 master server came on line which works with both the ut2003 demo as well as the full game. It might be useful to add this to your install script. I was able to fix the ut2003 demo by just editing my hosts file and pointing the old dns records to the new ip of utmaster.openspy.net. See e.g. here:
https://github.com/SicariusFeroxis/ut2003demo/tree/main