Simple DNS Plus - Community Forums Back to JH Software
Welcome Guest Search | Active Topics | Log In | Register

DNS Client Library for .net issue pulling SPF Options
David
#1 Posted : Friday, March 16, 2012 9:21:18 PM



Joined: 3/16/2012
Posts: 1
Location: Canada
Hi,

I'm trying to make a couple of forms for a site, and one checks MX record, with the other checking SPF record. I'm having an issue so I thought I'd ask the experts on here.

The MX lookup works fine, and retrieves the data (name, type, ttl, data) properly.

The SPF one is giving me a problem. The code for the SPF lookup lists the same fields as the MX record (name, type, ttl, data).

Is that correct? If not, what would the fields be for SPF?

thanks

David
Jesper
#2 Posted : Saturday, March 17, 2012 12:47:37 PM



Joined: 1/14/2008
Posts: 553
Location: Frederikshavn, Denmark
If you use the generic "Lookup" method for both types (for MX-records, you can also use the "LookupMX" method which has a different return type) - then yes you will have the same fields.
Of course the "data" field for each record will look different for each record type.

Sincerely,
Jesper
JH Software
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.