Do you have, AI_NUMERICHOST, flag set?

For, GETADDRINFO, from: "z/OS Communications Server: IP Sockets Application 
Programming Interface Guide and Reference"
SC27-3660-00

" node          The host name or IP address. If the value of the node parameter 
is an IP address, you also must issue the AI_NUMERICHOST flag. The value of the 
node parameter can be up to 255 bytes in length."

I am thinking if that flag is set, then if you put in a host name, it would be 
rejected because a numeric was expected.

Al Nims
Systems Admin/Programmer 3
UFIT
University of Florida
(352) 273-1298

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Jake Anderson
Sent: Monday, September 18, 2017 1:37 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Unable to resolve server name function= GETADDRINFO

Hi


We share the same resolver TCPDATA dataset between two LPAR and IPNODES are 
specified. We get a correct response for NSLOOKUP HOSTNAME as well.

Why is it only IP address of SMTP server is honored whereas the Domain name is 
not ? Could anyone please explain me on this so that i can research further on 
this.

Also, Can we have Just one SMTP address for a PLEX(in a MAS(Multiaccess 
spool)). So that the products running running in any of the LPAR within the 
SYSPLEX can use the SMTP service ?

On 18-Sep-2017 10:48 AM, "Salva Carrasco" <scarra...@unicaja.es> wrote:

> Alloc a SYSTCPT sysout to see the resolver trace.
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send 
> email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to