change dst ip by DNS changing???

hi
when i ping to facebook i get this result 31.13.93.7 a facebook irland ip address
can i change this dst ip by changing dns and how that??

thanks

Set static dns entry manually.

so no change in dst ip

So you mean that the domain name is not properly resolved to ip address as you want? Maybe you want a nat rule in forward chain that would conditionally change the dst ip…