Booby pacifier!

My son is almost 6 months old and he used to sleep thru the night but the past 2 months he would wake up 4-5 time in the middle of the night and whine and would only stop if i am nursing him. He’s not eating..he’s sucking for comfort majority of the time. Is there any other method I can do besides giving him my boob? I only want him to nurse when he’s actually eating. He doesn’t take a pacifier.