Re: How Do i find the listed functions of DNSAPI

From: William Stacey [MVP] (staceywREMOVE_at_mvps.org)
Date: 10/07/04


Date: Thu, 7 Oct 2004 11:08:55 -0400

I replied to email but will post here. Can't really help with dnsapi.dll as
I wrote my own resolver in c# so I did not run into this issue (but probably
1000 others while developing.) With some pushing I could probably dress it
up into a general library with docs (have been meaning to do that.) hth

-- 
William Stacey, MVP
"lloyd" <lloydmonteiro@rediffmail.com> wrote in message
news:e783765f.0410062124.7f1cb30c@posting.google.com...
> Hi ObiWan,
>
> The problem is like this. We are building a SPF record from the
> queried Domain DNS.
>
> For example, we type in IBM.Com and it returns the listed
> a,mx,ptr,include records and TXT records if any. we then process this
> information.
>
> What we noticed is that sometimes for the Domain like IBM.COM it
> returns the a,mx,ptr,txt records and sometimes it does not return any
> records.
> Resulting in our process to fail
>
> We are releasing all the memory allocated to the DNSAPI via system
> free resources.
>
> There might be a local DNS server on the Web server that hosts this
> application, if so my questions are two fold
>
> 1) What does the DNS local server do? If it has cached the Records and
> is serving us the records from its store, when and how can it be
> serving us wrong Record?
>
> 2) How to byPass the local DNS server in code?
> 3) How to clear the cache on the server, it will have to be done
> programmatically as it is a web interface and is open to all users to
> query their domain.
>
> Thanks in advance.
>
>
> "ObiWan" <anzen.NO@SPAM.gmx.net> wrote in message
news:<eLGWX42qEHA.2588@TK2MSFTNGP12.phx.gbl>...
> > <snip>
> > > What we are noticing is the intermittant and
> > > weird behaviour of the system, sometimes it
> > > does not return any DNS record. Most of the
> > > times it does.
> > > We are struggling to solve this issue,
> >
> > Could you explain the problem with some more
> > details and/or give an example of the problem
> > you're facing ??
> >
> > Also, are you releasing the resource records
> > (buffers) returned from the DnsAPI after parsing
> > them ... or are you keeping them "hung" ?
> >
> > And since I'm at it ... did you try disabling the
> > "dnsclient" (cache) service to see if this has
> > some effect on the above behaviour ?
> >
> > That said, I think this thread may as well belong
> > to the C# newsgroup .. although, talking about
> > DNS it may belong here too
> >
> > Regards


Relevant Pages

  • Re: windows 2003 server and internet explorer
    ... It is usually more reliable to set the local DNS server to forward to the ... If the clients use the DNS service at the ISP, ...
    (microsoft.public.windows.server.networking)
  • Re: BIND 9 on a dynamic ip address
    ... >own local DNS server for faster DNS lookups within my home network. ... network internally isn't connected to your dynamic DNS hostname at all. ... The dynamic DNS hostname only gets internet traffic to your firewall. ...
    (freebsd-questions)
  • Re: Resolver issue
    ... DNS white paper saying it shouldn't? ... All the machines on my network are using the local DNS server, ... > system resolver and appending suffixes) use Exchange system manager, ...
    (microsoft.public.win2000.dns)
  • Re: How Do i find the listed functions of DNSAPI
    ... There might be a local DNS server on the Web server that hosts this ... is serving us the records from its store, when and how can it be ... I think this thread may as well belong ...
    (microsoft.public.win2000.dns)
  • Re: Domain name confusion
    ... computers that belong to the domain "abc.com" get POP email from ... Can I make a manual entry in a DNS Zone that will send Outlook to the ... >> and the fact that client PCs were using external DNS IP Addresses. ...
    (microsoft.public.windows.server.dns)