Re: DNS Name Resolution Issue

2020-03-12 Thread Nathan Hartman
On Thu, Mar 12, 2020 at 11:33 AM Gregory Nutt wrote: > >> We have analyzed the issue and observed trying to open resolv.conf in > >> "at" mode but There is no such mode as "at" in C programming. > >> So We have experimented with "a+" "w+" etc but these did not work because > >> of the "resolv.c

Re: DNS Name Resolution Issue

2020-03-12 Thread Gregory Nutt
We have analyzed the issue and observed trying to open resolv.conf in "at" mode but There is no such mode as "at" in C programming. So We have experimented with "a+" "w+" etc but these did not work because of the "resolv.conf" file resides in /etc directory in ROMFS, ROMFS supports only "r"

Re: DNS Name Resolution Issue

2020-03-12 Thread Nathan Hartman
On Thu, Mar 12, 2020 at 1:05 AM Surya prakash Verma wrote: > We have analyzed the issue and observed trying to open resolv.conf in "at" > mode but There is no such mode as "at" in C programming. > So We have experimented with "a+" "w+" etc but these did not work because of > the "resolv.conf" f

Re: DNS Name Resolution Issue

2020-03-12 Thread Gregory Nutt
> That seems like a correct analysis.  Can you please submit a PR to https://github.com/apache/incubator-nuttx ? Sorry, that should have been https://github.com/apache/incubator-nuttx-apps/

Re: DNS Name Resolution Issue

2020-03-12 Thread Gregory Nutt
I am trying to test DNS Name resolution but observed issue of file opening fails while running. After debugging we have observed fails at following code: stream = fopen(CONFIG_NETDB_RESOLVCONF_PATH, "at"); in libs/libc/netdb/lib_dnsaddserver.c. We have analyzed the issue and observed tryi

DNS Name Resolution Issue

2020-03-11 Thread Surya prakash Verma
Hello All, I am trying to test DNS Name resolution but observed issue of file opening fails while running. After debugging we have observed fails at following code: stream = fopen(CONFIG_NETDB_RESOLVCONF_PATH, "at"); in libs/libc/netdb/lib_dnsaddserver.c. We have analyzed the issue and observ