[Dnsmasq-discuss] Can't serve more than 1 local domain

Simon Kelley simon at thekelleys.org.uk
Tue Oct 21 14:34:58 BST 2008


Holger Schletz wrote:
> Hi,
> 
> I'm using dnsmasq 2.35 on Debian to serve a local domain. This has 
> worked for a long time without problems. Now I want to serve a second 
> domain as an alias for the old domain. I use this option:
> 
> local=/olddomain/newdomain/
> 
> After restarting dnsmasq, the logfile says, as expexted:
> 
> using local addresses only for domain newdomain
> using local addresses only for domain olddomain
> 
> Querying hosts from olddomain still works, but newdomain always gives me 
> an NXDOMAIN:
> 

Does it work if you remove the local=..... line? Its only effect is on 
what happens if a name cannot be found locally, so not having it there 
shouldn't stop a genuinely local name from being found.

Cheers,

Simon.



More information about the Dnsmasq-discuss mailing list