Re: Flushing the DNS cache?

Eirik Byrkjeflot Anonsen <[email protected]>
Newsgroups gmane.comp.web.opera.linux
Message-ID <[email protected]>
Kenneth Crudup <[email protected]> writes:

>> > Now, "LOCALNET-GATEWAY" is the DNS server of the place I was connected to
>> > *at the previous network* ; you can't get there from where I'm plugged
>> > into now, and another server is serving DNS entries where I am currently.
>
> On Wed, 17 Dec 2008, Eirik Byrkjeflot Anonsen wrote:
>
>> I'm pretty sure operapluginwrapper doesn't do anything network-related
>> itself.  It shouldn't have any reason to.  So I assume it is the
>> plug-in itself that does it.  And I don't think we can do anything
>> about that.  Unless the plug-in obtains the address of the dns server
>> from opera.  But I don't think opera knows what the address of the dns
>> server is on any reasonably sane system (i.e. one that we believe has
>> a working host resolver.)
>
> New Flash sessions carry on the DNS address of whomever I'm hooked to
> *at the time I start opera* so plugins are most definately getting
> their DNS from opera.

You mean that after you kill operapluginwrapper and it restarts, that
flash still connects to the old dns server?  That sounds weird.

>
> 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.

eirik
--
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.