This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TM4C1294NCPDT: Resolving external host names using DNS

Part Number: TM4C1294NCPDT

Tool/software: Code Composer Studio

We are trying to configure the external DNS server IP address in the application; Any suggestions how set it? 

Thanks,

Regards,

Prasanna

  • Hi,
    I think you should talk to your IT department for support on this. Doesn't your external DNS server either get its IP address from DHCP server or preconfigured with a static address? If your MCU is the client, it just sends query to the DNS server on the network. When the DNS server receives a query, it first checks to see if it can answer the query based on resource record information contained in a locally configured zone on the server. If the queried name matches a corresponding resource record in local zone information, the server answers using this information to resolve the queried name. Of course, the server must be on the network already.
  • Hello,

    If your using LWIP1.4.1 I believe you can configure (lwipopts.h) to static DNS addresses. Charles answer infers the DHCP server will return the DNS IP's to the LWIP client during IP address assignment.
  • Hi BP101,
    Thank you. That is very useful information.

    Below two links will provide some more details too.
    www.nongnu.org/.../group__dns.html
    http://lwip.wikia.com/wiki/DNS