[Opera-Linux] Flushing the DNS cache?

Eirik Byrkjeflot Anonsen eirik at opera.com
Fri Dec 19 09:09:55 UTC 2008


Kenneth Crudup <kenny at panix.com> 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


More information about the Opera-Linux mailing list