Re: Working with a local DNS cache



Hi Adam,

> > Well, Marcel had some valid issues with dnsmasq, and others may want to
> > use bind, so in the end we probably want a GInterface for this and then
> > have classes that implement the GInterface for each of the specific
> > caching name daemons.  I don't really have a problem with that; we'll
> > probably have to add arguments and a config file option for which one
> > you want to use, because people may want to use dnsmasq underneath
> > chromium too and have chromium still use 127.0.0.1.
> 
> I only wrote the code using org.chromium.LocalDNSCache because that's
> what I have running here. For the final version, I think it should use
> the dnsmasq interface[1]. I've no desire to fork interfaces with out a
> good reason. (The dnsmasq interface isn't very pretty, but I don't
> know if that's a good enough reason.)

in this case it is, because it is bluntly overloading one method call
like crazy. And there is also no way to determine which settings are
currently used by dnsmasq. That is pretty bad.

Regards

Marcel




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]