On Wed, 05 Nov 2014 15:36:46 -0800 Thiago Macieira <[email protected]>
said:

> On Wednesday 05 November 2014 16:40:13 Michael Johnson wrote:
> > Hi All,
> > 
> > I'm just checking if setting the nameservers with connamnctl does work on
> > tizen.  The command I'm using is:
> > 
> >        connmanctl config <myservice> --nameservers <mydns>
> > 
> > but I'm not getting a change in the file /etc/resolv.conf which has:
> > 
> >        #Generated by Connection Manager
> >         nameserver 127.0.0.1
> >         nameserver ::1
> 
> That's the expected behaviour. Connman is the caching name server for local 
> applications and it will forward the requests to the name servers you
> specified in the command above. You won't need nscd.
> 
> This is the right way to do it, as opposed to changing /etc/resolv.conf like 
> other systems do. With the old style, applications need to monitor 
> /etc/resolv.conf for changes and call res_init() if it changed (per-thread!).

and i am not so sure everyone realizes just how majorly this kind of thing
sucks. connman is definitely doing it right not just for itself but for
everyone else involved.


-- 
Carsten Haitzler (The Rasterman) <[email protected]>
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to