How to ask a DNS resolver listening on a different port than the tcp/udp 53
Bernt Hansson
bah at bananmonarki.se
Sun Sep 29 18:45:56 UTC 2013
On 2013-09-28 09:37, loran42o wrote:
> Le 28.09.2013 00:08, Terje Elde a écrit :
>> On 28. sep. 2013, at 00:03, Frank Leonhardt <frank2 at fjl.co.uk> 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...
>>
>> Why not just point from resolv.conf to localhost, run a caching and/or recursive dns-server there, and point it whereever?
>>
>> As far as I can tell, that'd solve everything, add caching, and let it all be controlled from the config of the DNS-server?
>>
>> Terje
>
> Hi,
> I guess this is the way that'll end.
>
> Laurent SALIN
>
You'll need to setup your bind.conf;
zone "fqdn" IN {
type forward;
forward first;
forwarders {
127.0.0.1 port 530;
};
};
More information about the freebsd-questions
mailing list