DnsEndPoint from IEventStoreConnection

I create my eventstore connection:

var connection = EventStoreConnection.Create(eventStoreConnectionString);

Now, I want to check my eventstore for persistent subscriptions:

var subscriptionManager = new PersistentSubscriptionsManager(new ConsoleLogger(), new DnsEndPoint(eventStoreAddress, 2113), TimeSpan.FromSeconds(1));

Is there a way either using connection or some other method that I can get the IP address only from my eventstore connection?

At the moment, I am swithering between using another configuration field, or try some string manipulation to get to the IP address in eventStoreConnectionString.