As mentioned in the beginning that gethostbyname function will be used.
__Nss_hostname_digits_dots () function again by one of the best run defense.
DNS to resolve without the need there is the case where the user input is IPv4, IPv6 comes in.
Exerted by the function code of the interesting parts, it has a fairly good detail. Author cut.
Only the code portion of the function is as follows: