[Dnsmasq-discuss] Multiple domains

Simon Kelley simon at thekelleys.org.uk
Thu Jul 12 11:17:36 BST 2007

Didster wrote:
> Hi,
> 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:
>                server
> Then, expand-hosts is used so we can say do "ping server" or "ping
> server.acme.local"
> 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 from inside.
> My first attempt was this:
>                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
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

More information about the Dnsmasq-discuss mailing list