[Dnsmasq-discuss] Multiple domains
didster at gmail.com
Wed Jul 11 12:31:32 BST 2007
This may have been asked before, and apologies if it has been, but I
couldn't find the answer.
We have been using dnsmasq for some time to serve a local private
domain, lets say acme.local. In this setup, there are DHCP allocated
machines, as well as some machines that are fixed and specified in the
hosts file. Currently, an entry is specified like this:
Then, expand-hosts is used so we can say do "ping server" or "ping
We now want to start putting some of these machines on the Internet
under the domain achme.com. The DNS entries for achme.com are to be
hosted else where.
In order for this to work, we need to setup some kind of split DNS so
the address for server.acme.com is returned as 10.0.0.6 from inside.
My first attempt was this:
10.0.0.3 server server.achme.com
Which works - but seems somewhat long winded for lots of hosts.
Is there a better way of doing this?
Thanks a lot
More information about the Dnsmasq-discuss