Re: djb and multiple IPs
Hello!
> > cache and a server running on the same machine, which can only have one public
> > IP address?
>
> Yes. I mean, I can assign more addresses but queries must come to the
> same address (and answers must go back from the same address).
Set up external dnscache on the public IP, and set up tinydns on IP 127.0.0.1
Then, if you host a domain eg. test.com, you simple create a file:
echo "127.0.0.1" > /service/dnscachex/root/servers/test.com
So when a client is asking for the domain on the public IP, dnscache
will ask tinydns on local IP about the domain. This way queries can go
to one IP, and come from the same.
I hope it helps.
Regards,
Balazs Kinszler
Reply to: