I am trying to use DNS on the M52259DEMO board. I have been able to get the gateway and DNS IP addresses set via DHCP, as shown by the ipconfig command. I defined RTCSCFG_ENABLE_UDP and RTCSCFG_ENABLE_DNS as 1 in user_config.h, then rebuilt all of MQX. I also had to move the #if RTCSCFG_ENABLE_DNS after some #includes in a few source files to get rid of some link errors.
Now I can ping IP addresses out on the internet as long as I enter the explicit dotted quad IP address I want to ping. But as some as I try to ping a domain name, I get no response, and the serial shell and telnet stop responding.
Any ideas?
Thanks
Solved! Go to Solution.
Hello,
please get latest release, where you can try to use lwdns feature now.
You just need to define RTCSCFG_ENABLE_LWDNS 1 in your user_config.h.
It works over either UDP or TCP.
Regards,
PetrM
Hello,
please get latest release, where you can try to use lwdns feature now.
You just need to define RTCSCFG_ENABLE_LWDNS 1 in your user_config.h.
It works over either UDP or TCP.
Regards,
PetrM