Link to home
Start Free TrialLog in
Avatar of David Sankovsky
David SankovskyFlag for Israel

asked on

User Defined function to find the MX of a Domain

Hello everyone.
I've found a link that shows a user-defined function that allows me to perform nslookup on a domain and recieve the IP Address of said Domain (Namely, the A record).
I need however a way to modify this UDF or create one from scratch that recieves a domain and returns teh MX record of the domain.
also, if the query returns multiple results, the UDF should return the one with the lower priority only.
Avatar of David Sankovsky
David Sankovsky
Flag of Israel image

ASKER

ASKER CERTIFIED SOLUTION
Avatar of als315
als315
Flag of Russian Federation image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Worked Like a charm.
Thank you very much