[Dnsmasq-discuss] Multiple domains
simon at thekelleys.org.uk
Thu Jul 12 11:17:36 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:
> 10.0.0.3 server
> 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?
Sadly, there isn't. It would be nice to have, but is more difficult than
it seems for historical reasons. Said reasons have been aired on the
mailing list before, so I won't repeat them here.
> Thanks a lot
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
More information about the Dnsmasq-discuss