There are gracious ways to strong-arm guests into behaving. But you have to be assertive.
Buddy: "Hi, I thought I'd drop by!"
You: "How thoughtful of you, but I'm afraid DH and I had a night planned just for each other tonight. Call you later!"
Buddy and DH: "Hi, we're going to let the dog run loose, have beers and hang out."
You: "I'll just take care of the dog then, and you boys can order a pizza." (Shut dog in garage/kennel.)
Buddy: "But my dog is special/not a prey-driven idiot/extra-cute!"
You: (walking away with your back turned, dog in hand) "Just be a minute!"
DH: "Buddy wants to come over for Turkey Day, he's all aloooooonnnne, sob sob sob."
You: "Great, I could use some help in the kitchen. What dishes will he be bringing?"
Daughter: "Mom, Buddy's dog barfed cat poo all over my new comforter!"
You: "Buddy, could you come here just a minute? Yes, I'm afraid your dog had a little accident. Would you prefer to try to dry-clean this or just replace it?"
(Dog caught chasing chickens/cats.) You: "It's a shame Dumb Dog doesn't get along too well with other animals. I'll just shut the dog in the kennel until you boys are done with your visit."
Note, none of these things tell your husband or Buddy what to do. They are merely a statement of fact about what YOU are doing, i.e., not allowing the dog to run loose, not cooking dinner for jerks, not picking up the drycleaning bill.
Sure, DH can have his rude, ignorant friends over. He's got to have SOMEONE whose couch he can sleep on, right? And you can have your most annoying friends over, too. You could try explaining that this is not a winnable situation he is creating for himself. You could try asking (in a very hurt tone of voice, as if you're really considering it) if he's gone a little Brokeback Mountain on you, since he likes spending so much time with Buddy, who clearly doesn't like you. A much nicer situation is that you both agree that since Buddy can't behave like a civilized guest for whatever reason, they can have their Boys' Night somewhere out on the town instead of moping around the house. Wouldn't they be more comfy in a sports bar or something? And then you can have a little me-time, enjoy a bubble bath and a glass of Chardonnay or something.