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

Laurent SALIN salin.laurent at
Sat Sep 28 17:16:21 UTC 2013

Le 28.09.2013 18:32, Terje Elde a écrit :
> Not sure if I misunderstood what you're trying to do, but the way I recall it, you have two boxes, one running with one recursive and one authoritative nameserver, and you wanted a second box to quey the recursive nameserver on the first box, which is running on another port than 53?

You just right

> Given your setup, that's a valid question. 

that's why I submit it to the FreeBSD-Question list :-)

> It's getting down to patching the resolver I felt was a bit overkill, and a possible source of future pain. 
> How to solve it is a perfectly valid question. 

I was hoping it'll be possible to map destination port with Packet
Filter from nameserver:53 to nameserver:5353 for exemple.

> Personally I'd just think it cleaner to solve it by running a caching resolver on the second host (on port 53), that could forward queries where you'd like, rather than patching or usik firewall redirects. 

I guess that's how I'll fix my problem

Laurent SALIN

More information about the freebsd-questions mailing list