[Dnsmasq-discuss] Overwrite a public domain with dnsmasq while preserving external records?

Simon Kelley simon at thekelleys.org.uk
Sun Aug 28 12:22:17 BST 2016


It all depends on how you configure things: if you use entries in
/etc/hosts or --host-record, --mx-record etc then they will only "mask"
the external values for that exact domain name and record type.

See the '#' targer for --server=/<domain> for another option.


Cheers,

Simon.



On 28/08/16 09:57, Hans Schmidt wrote:
> Hello,
> 
> I have the following setup, and wonder if this is possible with dnsmasq:
> 
> I own a domain called example.com, which has some records on a public
> name server, for example a MX record, an A or an AAAA record for
> example.com directly, but also some subdomains.
> 
> I want to reuse this domain also for internal use, so that my machines
> internally are having entries like workstation1.example.com and
> workstation2.example.com. The only problem is that dnsmasq will block
> the records which are not managed by dnsmasq, instead of forwarding the
> requests to the external name server.
> 
> Is there a way to solve this problem? Or should I rather put my private
> machines on a subdomain (letting dnsmasq manage it), e.g.
> internal.example.com, then having workstation1.internal.example.com?
> 
> Thanks :)
> 
> 
> 
> _______________________________________________
> 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