Jump to content

Recommended Posts

Posted

Hi.

 

Hoping someone can help here...

 

I'm trying to get the DNS API to query NAPTR records (using the DnsQuery function with type DNS_TYPE_NAPTR).

 

It seems that NAPTR queries succeed, and in QuickWatch I can see that the information is there (if garbled) in the DNS_RECORD.Data union but there's no NAPTR member of this union to properly/safely get the data.

 

Does anyone know how I can interpret these results?

 

I have found code samples that attempt to access DNS_RECORD.Data.NAPTR, but this doesn't compile for me under VS2005 ('NAPTR' : is not a member of '_DnsRecordA::'). It seems bizarre that Microsoft would include the search type in windns.h but not provide a structure to handle the response, so I'm guessing I've done something wrong.

 

Any ideas/suggestions?

 

Thanks.

 

More...

 

View All Our Microsoft Related Feeds

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...