[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] DNS host not resolving using lwip_gethostbyname functio
From: |
rohanm |
Subject: |
Re: [lwip-users] DNS host not resolving using lwip_gethostbyname function using ppp over serial |
Date: |
Mon, 2 Mar 2015 07:29:05 -0700 (MST) |
hello,
thanks for your reply.
now i start from start.
1)I am trying to implement ppp over serial using gsm modem to post data on
server .
2)till now i have done following things:
i have initialized GSM and lwip and successfully and able to receive ip
address which i have already shared in .DNS_LOG.log file.
3) once device gets ip adress, and link is connected .calling following
function:
Hostsent =lwip_gethostbyname("www.google.com");
if(NULL != Hostsent)
{
//DNS resolved;
}else{
//DNS Not resolved.
}
i have put www.google.com for testing .i am trying to resolve DNS of
www.google.com
but i have receiving null value continuously which means device not able to
resolve ip address of www.google.com Detailed_LOG.log
<http://lwip.100.n7.nabble.com/file/n24018/Detailed_LOG.log>
i have shared detailed log with this thread which includes ipcp link up log
and dns resolve time out issue log.
so is there any way to debug issue or i am doing something wrong...pls help
me...
--
View this message in context:
http://lwip.100.n7.nabble.com/DNS-host-not-resolving-using-lwip-gethostbyname-function-using-ppp-over-serial-tp23972p24018.html
Sent from the lwip-users mailing list archive at Nabble.com.