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!). -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
