You will be able to connect and host servers just like you did before gamespy was shut down, all you need to do is to edit your windows hosts file. The content in this file will override domain requests, an example would be:
The first part 220.127.116.11 is Qtracker's master server for nolf1 and then after the white space it says master.gamespy.com.18.104.22.168 master.gamespy.com
When the game asks for master.gamespy.com, windows will tell it to go to 22.214.171.124 instead. and Qtracker's server will reply instead of gamespy. this method will also work with Contract J.A.C.K
To read more about Qtracker, click HERE
2. How do I make this change?
Open Notepad by rightclicking your notepad shortcut or notepad.exe file and "run as administrator"
1) browse to c: --> windows --> System32 --> drivers --> etc
2) Select to view "All Files (*.*)"
3) Open hosts
Before editing I would recommend saving a backup of the file, for instance hosts.old just in case you accidently delete everything or need it later.
Go to the bottom of the file and add these lines: (will also fix contract J.A.C.K)
Then replace the original hosts, make sure that the file is named hosts and not hosts.txt
This is windows 7, but the same method is confirmed working in windows 10 as well
You may need to reboot your computer to make the changes active.
When you launch nolf, the server query should look just like in the good old days:
You won't need to have Qtracker installed for this to work.