Big part of my clients use the dns servers of my current provider: xxx.yyy.www.1 and xxx.yyy.www.2
How can I catch all dns requests to those servers, and redirect them to the new ones of the new provider, much closer in the new setup ? ( so, all dns reqs. for xxx.yyy.www.1 and xxx.yyy.www.2, or better all dns requests be directed to some ip of my choice - my gw, for example, wich does dns caching, with allow remote requests ?)
You can intercept them and redirrect them.
I would 1st create a rule (firewall) that when a paket for XXX.XXX.XXX.XXX (old dns)
is seen, it forwards it to the new DNS server address.
I would also create a drop rule to catch any that “got away”.
TO keep it easy to manage I would create a new chain IE “DNS_Redirrect”
I would place the “test” rule (look for the DNS traffic) in the forwarding chain
and then forde a jump into the “DNS_Redirrect” chain.
and place the redirrection and drop rules there.
There are other methods as well..
The best person to ask RE DNS issues arround here is Probably “Change-IP” as that is what he does… Sam any ideas ???
Made it, and it is ok. with redirect to ports=53
( the whole point is to intercept clients requests for old dns servers, wich now are far away, and redirect them to local cache, or to new ones, much closer, without having to reconfigure clients.
I do know ho to reconfigure router for new dns. But to reconfigure few hundred clients is … trivial task… and time consuming.