If you have the spare ethernet port you can connect via ethernet cables to the PS3 that way- you would need to turn on internet connection sharing on the pc for that to work. A quick Google will turn up the instructions for this.
As for the DNS error, are you connecting through a router?