Each link-local address (which can be identifiable by looking at the address) will be bound to pre-configured NETWORK INTERFACE. +{section: NODNS and IPv6} + +In NODNS mode, hostname is set by machine's IP address and DEFAULT_DOMAIN_NAME from condor_config. For example, if the IP address of the machine is 127.0.0.1 and DEFAULT_DOMAIN_NAME is nodns.com, the hostname is 127-0-0-1.nodns.com + +For IPv6 address, it follows same scheme. ':' character in IPv6 address will be changed to '-'. + +When converting NODNS hostname to IP address, we follow those criteria. + +1) if there are 7 dashes in the hostname, it is IPv6 address +2) if there is '--' in the hostname, it is IPv6 address. + +Valid IPv6 address will always contain 7 colons or one '::' (which compacts multiple zeroes). Thus, we can determine the type of address without confusion. + {section: network_adapter.* and IPv6} Current method of getting network adapter is totally incompatible with IPv6 address. Current Condor uses ioctl() with SIOCGIFCONF that only returns IPv4 addresses.