Subject: | Having resolver be read/write is useless and can lead to confusion |
Looking at Oi's OpenID pull request I was going to suggest that she update the ua's resolver attribute and pass in a new Net::DNS::Paranoid with a new whitelist attribute... but when I tried that the tests failed.
Since the UA calls make_paranoid in the construtor, if you later update the resolver attribute, the new one will never be used.
So do you think it's reasonable to either make the attribute read-only (since you thankfully can update the attributes on the resolver itself)
or to recall make_paranoid when the resolver is updated?