AnsweredAssumed Answered

DNS SERVER

Question asked by Thippeswamy J on Sep 20, 2014
Latest reply on Oct 29, 2014 by vallinath s

Hello all,

 

I'm  using MQX 4.1. I want to use   www.dnsserver.com instead of an  IP address .  (ip is 192.168.1.202 --> 0xC0A801CA).

 

I define DNS parameters under source/if/dnshost.c the following way:

1. i enabled DNS

 

2.char DNS_Local_network_name[] = "arc.com.";

char DNS_Local_server_name[] = "DnsServer";

DNS_SLIST_STRUCT DNS_Local_server_list[] =

   {{DNS_Local_server_name, 0, 0xC0A801CA, 0, 0, 0, 0,

     0, DNS_A, DNS_IN }};

 

3.Then I call DNS_init() in my code.

 

actually the  dns task is created  but i am putting  www.DnsServer.com in chrome browser  but web page is not opening .it is opening

only for ip adress.

 

any one  can guide me, any other modification or any other function has to be add.

 

Regards

thippeswamy

Outcomes