That's what I was thinking. Many thanks Simon. Regards Robert
----- Original Message ----- From: "Simon Kelley" <[email protected]> To: [email protected] Sent: Wednesday, 15 January, 2014 5:35:17 PM Subject: Re: [Dnsmasq-discuss] Redirect internal non existent hosts On 14/01/14 09:35, Robert Sweetnam wrote: > Hi all, > > We've been using dnsmasq very successfully now for nearly a year. However I > just have one quick query and unfortunately all my searching has come up with > nothing. > > As we use dnsmasq internally we would like to redirect unknown hosts to an > internal server. > > e.g. there's no host called ghost.mydomain.com so it should instead return an > address of portal.mydomain.com > > Is this possible? I was exploring the use of NXDOMAIN but it didn't seem to > fit the bill. No, it's generally considered to be a bad thing to do, and dnsmasq has a function (bogus-nxdomain) which attempt to reverse it, when ISPs play this trick. It's worth Googling "Verisgn NXDOMAIN" for why it's a bad idea. Cheers, Simon. > > We're currently running dnsmasq 2.62 as shipped with Debian Wheezy. > > Thanks in advance. > > Best regards, > Robert > > _______________________________________________ > Dnsmasq-discuss mailing list > [email protected] > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss > _______________________________________________ Dnsmasq-discuss mailing list [email protected] http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss _______________________________________________ Dnsmasq-discuss mailing list [email protected] http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
