By "ad.doubleclick.net" do you mean "127.0.0.1"? Am I missing something, or would that be an easy way to avoid all this mess in the first place (that is, on a box where you have root)?
I have the simplest tastes. I am always satisfied with the best. -- Oscar Wilde