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)?
"You're a creature of the night, Michael. Wait'll Mom hears about this." -- from the movie "The Lost Boys"