How to ask a DNS resolver listening on a different port than the tcp/udp 53

Frank Leonhardt frank2 at
Fri Sep 27 23:12:07 UTC 2013

On 27/09/2013 23:08, Terje Elde wrote:
> On 28. sep. 2013, at 00:03, Frank Leonhardt <frank2 at> wrote:
>> If I understand the way it works correctly, the resolver pulls a list of the NS and hard-sets the port number for each to 53 (via a manifest constant) . See libc/resolv/res_init.c. All you need to do(!) is change this to a value of your choice and recompile libc
> Sorry, but this is startin to look a lot like a complicated solution to a problem that isn't really there...
It was more of an explanation as to /why/ it's not easy to do what asked 
in the original reasonable-sounding question.

More information about the freebsd-questions mailing list