Re: Flushing the DNS cache?

Daniel Pittman <[email protected]>
Newsgroups gmane.comp.web.opera.linux
Organization I know I put it down here, somewhere.
Message-ID <[email protected]>
Eirik Byrkjeflot Anonsen <[email protected]> writes:
> Kenneth Crudup <[email protected]> writes:

[...]

>> I dunno if it's 'cause of the way y'all are using libresolv (or similar),
>> but it's appearing to take on the first DNS I use. Try it and see.
>
> I guess it is possible that the system resolver (which would be libc
> on linux, I think) caches the dns server address.  But even in that
> case, I would assume that it only caches it per application.
>
> I'd be very disappointed in the desktop team if they aren't leaving
> the whole job of dns resolution to the system resolver.  We do cache
> the addresses the dns server returns, but we should never have a
> reason to know what the address of the dns server itself is.

Well, if you cache the result yourself, and the team responsible for
that code have done a decent job, they *can't* use the libc resolver.

The default code doesn't return the TTL of results, just the result, so
to be able to implement a correct DNS cache you must talk DNS
directly...

Just sayin'
          Daniel

--
Opera-Linux: https://list.opera.com/mailman/listinfo/opera-linux
More lists: https://list.opera.com/mailman/listinfo/
Unsubscribe: mailto:[email protected]?subject=unsubscribe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.