RFC3696 s2 does not say that all-numeric labels are not permitted, only that all-numeric TLD's are not. Even if it did, the counterfactual that some invalid names are accepted would be irrelevant
gethostbyname is operating entirely correctly.
RFC3696 s2 does not say that all-numeric labels are not permitted, only that all-numeric TLD's are not. Even if it did, the counterfactual that some invalid names are accepted would be irrelevant
gethostbyname is operating entirely correctly.