Questions tagged [getaddrinfo]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
135 views

DNS client to lookup CNAME records automatically

We've just migrated to a new internal DNS resolver, and discovered a limitation that impacts our ability to lookup specific records. Our internal (private) authoritative domain is example.net.. We ...
Danielle M.'s user avatar
2 votes
1 answer
2k views

Linux getaddrinfo not working with .local domains

I'm connected by PPTP VPN to another network, mainly a windows network. Running Ubuntu 16.04.1, freshly installed. Most of the things I would like to connect to are on a .local domain. I find ...
Rich Duzenbury's user avatar
0 votes
1 answer
568 views

DNS: getaddrinfo() returning different answers depending on trailing dot

Probably a noob question but please explain me what changes in name resolution if I add the trailing dot to a domain name? (hosts file is empty, shouldn't be a problem) >>> print socket....
Rápli András's user avatar
0 votes
3 answers
10k views

nginx and php | can't resolve hostname and make connection with FQDN

I don't know what can cause this problem, nginx configs or php or anything else but : I can not make connection when host value for these php functions listed below is set to FQDN like http://www....
Timberland's user avatar
1 vote
1 answer
2k views

getaddrinfo(3) failed

I'm trying to connect to a webservice using a PHP wrapper (which is using curl under the covers). On my local linux machine running PHP 5.3 it works perfectly. However, when I move to a remote server ...
user101289's user avatar
4 votes
2 answers
32k views

How do I fix "getaddrinfo: localhost Name or service not found" for telnet server?

I need to enable telnet (no i can't use ssh, and I don't want to discuss why I have to use telnet either), I have 127.0.0.1 localhost.localdomain localhost in /etc/hosts. I have installed telnet-...
Nick Anderson's user avatar
24 votes
2 answers
29k views

Setting IPv4 as preferred protocol over IPv6

I'm using both IPv6 and IPv4 in a LAN network containing Slackware 13.0 boxes. How can I set IPv4 as preferred protocol on the workstations in this network? I want to use IPv6 either explicitly or ...
Georgi Hristozov's user avatar
11 votes
6 answers
95k views

Temporary failure in name resolution : Host name lookup failure [closed]

I've got a script in PHP that's been running fine for months. It recently stopped working. This script connects to gmail to send out an email to my customers. Recently, I started getting this error ...
GeoffreyF67's user avatar