[Dnsmasq-discuss] Redirect internal non existent hosts

Robert Sweetnam lists at fsck.eu
Thu Jan 16 08:10:55 GMT 2014


That's what I was thinking. Many thanks Simon.

Regards
Robert

----- Original Message -----
From: "Simon Kelley" <simon at thekelleys.org.uk>
To: dnsmasq-discuss at lists.thekelleys.org.uk
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
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>


_______________________________________________
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