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…
- open the Network GUI app
- uncheck the Enable Device and click Apply (otherwise it will add the
entries back) - go to the Network tab in the app
- select each Nameserver entry and click remove
- 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…
- open the Network GUI app
- uncheck the Enable Device and click Apply (otherwise it will add the
entries back)- go to the Network tab in the app
- select each Nameserver entry and click remove
- 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
\