Juan Rodriguez Hervella <j...@it.uc3m.es> said: > On Wednesday 10 March 2004 17:07, Alberto Gonzalez Iniesta wrote: > > Hi James et all, > > > > I have just got this bug report [1]. The problem is: When a hostname is > > given to the 'route' option, only a route to the first IP address for that > > hostname is added. > > > > route(8) works the same way, and I don't know if this is really a bug, > > or The Way is Meant to Be (tm).... Any thoughts? > > > > > > > > [1] http://bugs.debian.org/237251 > > Hi Alberto! > > After reading the bug track, it seems to me that he/she is right, > and the --route command should add all the addresses returned by > the query. It's not a hard thing to implement, imho.
Yes, this is a limitation in the current code -- all address resolution in OpenVPN is handled in the getaddr function in socket.c which doesn't (yet) deal with DNS names which resolve to multiple addresses. James