Re: dnsmasq



On Thu, 2008-09-25 at 05:04 -0700, Howard Chu wrote:
> Alexander Sack wrote:
> > Hi,
> >
> > some initial comments:
> 
> Hi again,
>     any further comments on the updated patch?

The idea is good and we should enable this sort of thing in the future,
but we need better integration here.

1) NM needs to write out an /etc/resolv.conf that points to 127.0.0.1
when people are using a local caching nameserver

2) What do we do when some other process (bind or a non-dbus-enabled
dnsmasq) is already bound to port 53?  What's the failure mode here?
Fall back to writing out a real resolv.conf?

3) Need some method of telling NM to use a local caching nameserver,
either via the command line or via the system settings service or
something like that

Dan

> > On Sat, Sep 06, 2008 at 04:47:33AM -0700, Howard Chu wrote:
> >> +static gboolean
> >> +dnsmasq_update(NMNamedManager *mgr)
> >> +{
> >> +	NMNamedManagerPrivate *priv;
> >> +	GSList *iter;
> >> +	DBusMessage *msg;
> >> +	const char *domain;
> >>
> >> +	priv = NM_NAMED_MANAGER_GET_PRIVATE (mgr);
> >> +
> >> +	msg = dbus_message_new_method_call(
> >> +		"uk.org.thekelleys.dnsmasq",
> >> +		"/uk/org/thekelleys/dnsmasq",
> >> +		"uk.org.thekelleys.dnsmasq",
> >> +		"SetServers");
> >> +	for (iter = priv->configs; iter; iter = g_slist_next (iter)) {
> 



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