Question About DUNDI

Let’s say that we have this situation:
Server1 (IP= and HostName=S1) and
Server2 (IP= and HostName=S2)
Now i want to link these 2 servers through DUNDI as we know when we need 2 use DUNDI we have 2 connect through the IP addresses now i want to connect these 2 servers through the Host Name so i’m wondering if it’s possible 2 do that or not?
and i’ll be thx