DNS: List MX servers for domains

IN PROGRESS
Bids
20
Avg Bid (USD)
$265
Project Budget (USD)
$250 - $750

Project Description:
Given a list of domains, collect the MX servers using DNS and output one row per MX server and the following fields:
· AUTO_SEQ_ID (Starting with 1 then 2 and so on)
· Domain (from input file)
· MX_PRIORITY
· MX_SERVER
· FIRST_Y/N

e.g.
$ dig mx +short slb.com
200 mail0.slb.com.
250 mail.messaging.microsoft.com.
600 mail.global.frontbridge.com.

Provide all the records of mx but mark the highest Priority one for each domain. If there are multiple servers with the same highest priority – Mark the one with the shortest field length.

So the output for the above example is as follows:
1,slb.com,200,mail0.slb.com,Y
2,slb.com,250,mail.messaging.microsoft.com,N
3,slb.com,600,mail.global.frontbridge.com,N

Skills required:
DNS, Linux
Hire galaxywatcher
Project posted by:
galaxywatcher United States
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the project creator or as one of the bidders to view bids.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.