> > I want to be able to make SA rotate DNS servers.
> 
> Apparently that is a limitation of Net::DNS. There was some 
> discussion of it on-list a few weeks back; I don't clearly remember the 
> details.
> 
> You might want check the current status of Net::DNS w/r/t fallback, 
> rotation, etc., and work with the developers of that package, rather 
> than talking about it here...

Isn't SA using its own resolver class (DnsResolver) for performing background 
queries? DnsReslover seems to work like this:
- create a Net::DNS::Reslover instance
- get the Net::DNS::Reslover nameserver list
- use the first entry in the above list, create a socket to the nameserver
- craft some Net::DNS::Packets and flush them through the socket to the 
nameserver
- from time to time poll_responses() on the socket, and when sth comes in use 
the Net::DNS::Resolver bgread() to get the response packet
- trigger a callback function for associated query

If this is true then I think I've asked the right people for help. Correct me 
if I'm wrong.

-- 
Pawel Sasin

WIRTUALNA  POLSKA  SA, ul. Traugutta 115c, 80-226 Gdansk; NIP: 957-07-51-216; 
Sad Rejonowy Gdansk-Polnoc KRS 0000068548, kapital zakladowy 62.880.024 zlotych 
(w calosci wplacony)

Reply via email to