[Dnsmasq-discuss] How does the "unqualified domains" feature work?

Simon Kelley simon at thekelleys.org.uk
Thu Mar 15 12:12:46 GMT 2007


Data Control Systems - Mike Elkevizth wrote:
> Hi,
> 
> I am wondering how the "unqualified domains" feature works in dnsmasq. Also,
> is it possible to have more than one server specified for a certain domain?

It is possible, but it's not too useful for what you want to do.

> Dnsmasq doesn't seem to complain about this, but it also doesn't appear to
> work as I figured it would. Here is my poblem. I have three servers in
> remote locations - which may loose connection from time to time - that I
> would like to be able to have look up address from each other that they have
> leased to clients via DHCP. I tried using the search domain feature on the
> host computers, but that is way to slow. So what I thought was that if I
> could use the unqualified domain feature, it should do the trick. If the
> simple name looked up is not in the local servers leases (or hosts file)
> then it should forward that request to one of the other servers (setup as an
> unqualified domain upstream server). The only problem is that I don't know
> if this could cause a type of loop where server A forwards to server B which
> then forwards it back to server A and so forth. The only way this should
> happen would be if the server didn't have the name and then I would assume
> the first server would break the loop by timing out. But, would it also send
> an upstream query to the third server? The address that the host would be
> requesting would have to be on one of the three or it doesn't exist. I can't
> see any other way to accomplish what I want, but I'm up for suggestions.
> 

I think that having each site as a different domain would probably work,
but you might have to fiddle with the search order and the "ndots"
option in /etc/resolv.conf to make it work reasonably fast.

Cheers,

Simon.


> Thank You,
> 
> Mike Elkevizth
> Data Control Systems
> 
> 
> _______________________________________________
> 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