From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20020104 Description of problem: This is bug was already submitted but was closed with NOT A BUG result. I think this is a BUG. Adding names and alias to /etc/hosts doesn't solve the problem. The local domain is not appended to the hostname. AND THIS IS THE STANDARD NAME RESOLUTION PROCEDURE. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.Try to connect to a xyz.mydomain.* with short name xyz. 2. 3. Actual Results: Slow name resolution. From 15 to 60 seconds. Expected Results: Fast name resolution. Additional info: telnet-0.17-20 binaries. Try to be professional.
This is a glibc bug... hints.ai_family = PF_UNSPEC; getaddrinfo(hostp, portp, &hints, &res0); with AF_INET this works without delays...
I am experiencing a similar problem with slow name resolution. The system is RedHat Linux 7.3. Providing a fqdn results in instant name resolution, using only a host without the domain portion takes upwards of 30 seconds. Our RedHat Linux 7.2 systems are not experiencing this problem. /etc/resolv.conf contains the appropriate entries for name servers and domain. /etc/nsswitch.conf specifies hosts: dns files
Try a recent release. I don't think there are any such problems left.
No reply in almost 6 months. Closing it a fixed in the current code. If there are applications showing this problem file bugs with the applications since they are not using getaddrinfo correctly.