[Dnsmasq-discuss] Redirect internal non existent hosts

Simon Kelley simon at thekelleys.org.uk
Wed Jan 15 17:35:17 GMT 2014


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
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>




More information about the Dnsmasq-discuss mailing list