Greetings,
I am using Debian and dnsmasq as DNS/DHCP server. The machine is used as a
gateway and there are several other servers in local network. Can dnsmasq
do the following thing - domain x.com should be redirected to 10.x.x.x,
domain y.com to 10.y.y.y and domain z.com to 10.z.z.z in local network.
I have tried to modify dnsmasq.conf with the following settings:
address=/x.com/10.x.x.x
address=/y.com/10.y.y.y
address=/z.com/10.z.z.z
All domains have properly set DNS server (that is, IP address of the
gateway), however, these settings only apply to the *local* network -
these domains, when accessed from the Internet, all give the same thing -
services on the gateway.
Can dnsmasq do what I want or it will be necessary to use bind9?
TIA!
--
Everything will be okay
in the end.
If it's not okay
it's not the end!
|