[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: HTTPAPI Host name look up failed



In your debug listing for EXAMPLE1, do you see these lines?
DNS resolver retrans: 2               
DNS resolver retry  : 2               
DNS resolver options: x'00000136'     
DNS default domain: YOURCOMPANY.COM
DNS server found: 172.22.1.99         
DNS server found: 172.21.1.99
         

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Mike Krebs
Sent: Thursday, May 28, 2015 11:20 AM
To: HTTPAPI and FTPAPI Projects
Subject: RE: HTTPAPI Host name look up failed

Can you ping the DNS hosts?

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Nuno Carrico
Sent: Thursday, May 28, 2015 11:03 AM
To: 'HTTPAPI and FTPAPI Projects'
Subject: RE: HTTPAPI Host name look up failed

Hi Scott,

If I remove from option 10 the entry I can't ping it.
The DNS that is setup on option 12 is the same as I have in my regular web browser setup.

Any idea?

Nuno

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: Thursday, May 28, 2015 16:54
To: HTTPAPI and FTPAPI Projects
Subject: Re: HTTPAPI Host name look up failed

Nuno,

I would remove the entry for scottklement.com from the host table (CFGTCP opt 10).  That's not the right way to do things...  there are billions of hosts on the Internet, you shouldn't have to put each one into your host table and keep them all up to date, that's crazy!

So remove the host name.  Can you still ping it?   If not, then there's 
something wrong with your DNS setup.

If you can still ping it, but get a 'Host name lookup failed' or 'Host not found' in HTTPAPI, then you need to check the spelling closely to make sure they match.  You mention 'scottklement.com' in your e-mail, but EXAMPLE1 actually uses 'www.scottklement.com' -- so they are not the same.

-SK

On 5/28/2015 8:38 AM, Nuno Carrico wrote:
>     Hi,
>
>
>     I'm testing with the HTTPAPI and keep getting the "Host name look up
>     failed"
>
>     I call example 1 and get the error message.
>
>     I have configures the DNS on cghtcp option 12 and also included
>     scottklement.com in cfgtcg option 10, I even can ping scottklement.com
>     in the iseries command line.
>
>     Anyone can help me?
>
>
>     thanks
>
>
>     Nuno Carriço
>
>
>     @ [1]nuno.carrico@xxxxxxxxxxxxxx
>
>
>     [2]www.igsolutions.eu
>
>
>     cid:image002.png@01D0827C.00B74230
>
>
>
>     PORTUGAL (Lisboa)
>
>     + Rua do Mar Vermelho
>
>     N.º 2 - 3.4
>
>     1990-152 LISBOA
>
>
>     ( +351 21 842 33 00
>
>     Dir.+351 21 842 33 04
>
>     Ê +351 21 846 05 70
>
>                          ESPANHA (Madrid)
>
>                          + Centro de Empresas Alcalá Office
>
>                          Avda. de Madrid, 48
>
>                          28802 Alcalá de Henares - MADRID
>
>
>                          ( +34 910 609 965
>
>                          Recepção: +34 911 341 582
>
>                                                            ESPANHA
(Barcelona)
>
>                                                            + Calle
Sepúlveda, 143
>
>                                                            Sobre 
> Ático, 4ª
y 5ª
>                                                            08011 
> BARCELONA
>
>
>                                                            ( +34 937
> 247
477
>
>
>                                                            Ê +34 937
> 247
476
>
>
>     The information contained in this communication is for the exclusive
>     use of the above named addressee, it should be only read by them. If
>     you have received this communication by mistake, please notify the
>     sender a.s.a.p., and delete it totally without reading, coping,
saving,
>     distributing it or using it by anyway. This message and its contain is
>     confidential, so its usage is expressly forbidden if without sender's
>     authorization.
>
> References
>
>     1. mailto:nuno.carrico@xxxxxxxxxxxxxx
>     2. http://www.igsolutions.eu/
>
>
>
> ----------------------------------------------------------------------
> - This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> ----------------------------------------------------------------------
> -

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------