2011/6/23 Grazvydas Ignotas <[email protected]>:
> Hello,
>
> one of our slave servers have changed it's address, and I can no
> longer access it's shares that are forwarded to by the main server
> using DFS redirection. The slave server resolves correctly when trying
> to access it directly, but when trying to access through a mount on
> the main server, cifsFYI shows dns_resolve_server_name_to_ip returns
> the old address. I've verified slave server names match and windows
> clients can access those DFS shares correctly. It has been several
> days since server address change. I'm running 2.6.38.2 kernel on
> Ubuntu 10.04.
>
> Any way to clear that dns_resolver cache? I have no desire to reboot
> the machine.
>

It seems that dns_resolver sets expiry timeout to zero here
(http://lxr.free-electrons.com/source/security/keys/key.c#L310) and
doesn't change it - so, it always returns cached value.

David, can you comment on this problem, please?

-- 
Best regards,
Pavel Shilovsky.
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to