ENC28J60 DNS lookup

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
cruzxia
Posts: 88
Joined: Wed Jan 04, 2006 7:34 am
Been thanked: 8 times

ENC28J60 DNS lookup

Post by cruzxia »

I have setup a web server using the ENC28j60 component.

I have setup a SMTP mail client and to send an email I need two things.
1. The IP address of the mail server
2. The MAC address of the local Router/Gateway.

Is there a way to do a DNS lookup request to retrieve the IP address of the mail server and retrieve the MAC address of the local router/gateway at the same time?

The idea is so that you can just enter your mail server E.g “mail.mymailserver.com” and do a DNS lookup to read the IP and MAC info.

Cruzxia

Post Reply