Hot Spot Client DNS servers

Hi,

Can someone help me with this?

In ip/dns my MT box is configured with primary and secondary dns servers as supplied by my ISP (ie out on the internet)

My hotspot clients are supplied their IP numbers and dns servers by the MT DHCP server.

The DNS servers they get is the gatway address on the local net (ie 192.168.12.1) but they are also given as secondaries the ones out on the internet, ie the ones that my ISP provide.

I want them only to use the MT box DNS server. (I have some static entries). How can I prevent the MT Box DHCP server from giving them the ISP dns servers? Is there a way?

I’d be very grateful for any pointers.

Thanks and rgds
Jim Heck

Your’s clients propably gets dns servers from outside your network or set it manualy.

You must redirect all traffic for 53 port to your router address:

add chain=dstnat in-interface=local protocol=udp dst-port=53 action=dst-nat to-addresses=192.168.12.1 to-ports=53 comment="" disabled=no

Where 192.168.12.1 is your router address

Have you tried adding just the router IP DNS address in the DHCP server Networks section? I think this will do what you want.

Many thanks for the input on this. The solution was as per jarosoup’s comment above. Now each client only gets one DNS server address, which is excatly what I wanted!

Many thanks again
Jim Heck