On 2005-06-09,
(E-Mail Removed) <(E-Mail Removed)> wrote:
> here is the problem: I run a remote DNS server that is supposed to
> resolve names only for authorized clients.
>
> The clients are behind a router/firewall and the DNS server is on the
> internet. Therefore, the server cannot see the MAC-addresses of the
> clientes neither it can see their local IP's, as they all appear to the
> server under the IP of the router.
>
You need to start thinking that the DNS server is not part of the network and
treat it as a locally controlled resource on the router/firewall thats doing
your NAT for you.
> [snipped]
>
> Any ideas on where I can look for further correlations between
> succesive requests? maybe the IP headers of the packet?
>
Do the 'authorisation' on the router/firewall and not on the DNS server.
There is nothing to authenicate with in a UDP packet unless you want to
restrict particular lookups.
You could really just install a caching nameserver on the firewall/router is
possible and then relay the requests to the one on the Internet. If its a
linux box I think you can get away with an iptables REDIRECT for the UDP
packet.
Cheers
Alex
> Thanks to all.
>