removing entries entered by confstr()

Is there a way to remove nameserver entries (CS_RESOLVE) that are added with
confstr() or setconf? I can see routines/commands to add entries and read
entries. But nothing to remove entries…
Jay spoon@scubadiving.com

We found one way to accomplish removal of the nameserver entries, but only
through the GUI…

  1. open the Network GUI app
  2. uncheck the Enable Device and click Apply (otherwise it will add the
    entries back)
  3. go to the Network tab in the app
  4. select each Nameserver entry and click remove
  5. click Apply
    and the nameserver entries are gone!

It would still be better to be able to do this through APIs or a shell
script…

“Jay Witherspoon” <spoon@scubadiving.com> wrote in message
news:btl4nk$reb$1@inn.qnx.com

Is there a way to remove nameserver entries (CS_RESOLVE) that are added
with
confstr() or setconf? I can see routines/commands to add entries and read
entries. But nothing to remove entries…
Jay > spoon@scubadiving.com

You could always set the value to an empty string…

setconf CS_RESOLVE “”

Regards,
Barry

Jay Witherspoon <spoon@scubadiving.com> wrote in message
news:btml0b$64s$1@inn.qnx.com

We found one way to accomplish removal of the nameserver entries, but only
through the GUI…

  1. open the Network GUI app
  2. uncheck the Enable Device and click Apply (otherwise it will add the
    entries back)
  3. go to the Network tab in the app
  4. select each Nameserver entry and click remove
  5. click Apply
    and the nameserver entries are gone!

It would still be better to be able to do this through APIs or a shell
script…

“Jay Witherspoon” <> spoon@scubadiving.com> > wrote in message
news:btl4nk$reb$> 1@inn.qnx.com> …
Is there a way to remove nameserver entries (CS_RESOLVE) that are added
with
confstr() or setconf? I can see routines/commands to add entries and
read
entries. But nothing to remove entries…
Jay > spoon@scubadiving.com
\