You need to delete A-record with a value of 18.104.22.168, that's a dreamhost IP. (not sure where that came from, but it is a huge part of your problem).
the second record also needs to be deleted, that won't do anything but make a never ending loop.
the third record is correct, per the original forumotion documentation. You might need a second CNAME record without the www, but leave it out for now.
I can't tell from the screenshot, but make certain your domain says "DNS Only" on the manage domains page, and NOT "fully hosted".
Once you make these changes, stop and wait. DNS records are cached everywhere from your browser to your computer, to possible your router, ISP etc. In most cases, dreamhost's TTL (time to live) is 4 hours meaning at just over 4 hours all cached records should have it expired, that's in theory tho, in practice give it 8 or 12 hours. At that point in time be sure to use Ctrl-f5 to force your browser to reload from the server, which should help with the fact browsers tend to like to be really persistent with caching re-directs (for too long).