how to use different port for dns on Yosemite?

Solution 1:

So, the reason for this was that my ISP is filtering DNS requests on port 53. What I did in order to circumvent this hideous action by Vodafone was to install dnsmasq on my mac and add this line to the dnsmasq.conf file:

server=208.67.222.222#5353

as you can see I'm now happily using open dns' DNS on port 5353