[Dnsmasq-discuss] Multiple domains

Didster didster at gmail.com
Thu Jul 12 18:14:21 BST 2007

Thanks Jima/Simon,

The internal/external thing isn't applicable since the machine only
really has an internal IP.  It's external IP comes from a translation
done by the firewall.

In which case, I'll give the alias thing a shot.

Thanks again

On 7/12/07, Jima <jima at beer.tclug.org> wrote:
> On Thu, 12 Jul 2007, Simon Kelley wrote:
> >Didster wrote:
> >> 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.
>   Hmm, there's possibly *another* way of doing this.  I won't say it's
> better, and it may not apply to your particular setup, but it's an idea.
>   If the only thing being hosted on the IP of the external server.achme.com
> is the same services/content as the internal server.achme.com, you could
> do this:
> alias=,
>   (In your examples you were inconsistent about the internal IP, .3 vs.
> .6, so I'm assuming .3.)
>   Replace with server.achme.com's external IP, obviously.
>   Upside: any DNS queries that would otherwise point to the external IP,
> instead go to the internal one.  Downside: If you have anything that's
> only running on the external host, this approach won't work (or you'll
> have to provide that service internally as well).
>   Take it or leave it. :-)
>       Jima

More information about the Dnsmasq-discuss mailing list