+{
+ char fqdn[IRCD_RES_HOSTLEN + 1];
+ assert(name != 0);
+
+ rb_strlcpy(fqdn, name, sizeof fqdn);
+ add_local_domain(fqdn, IRCD_RES_HOSTLEN);
+ gethost_byname_type_fqdn(fqdn, query, type);
+}
+
+/*
+ * gethost_byname_type_fqdn - get host address from fqdn
+ */
+static void gethost_byname_type_fqdn(const char *name, struct DNSQuery *query,
+ int type)