Resolving client IP-address or machine name

In Tree Tier Configuration, how to resolve client IP address or machine name.
Database and App server are on same unix box, but clients are Windows PC's.
Configuration:
     Oracle RDBMS 8.1.7.3 on HP-UX 11.11
     Oracle Application Server Rel.1 (1.0.2.2.2) on HP-UX 11.11 (same as above)
     Oracle Application R11i

I don't have general answer, but I create small perl script for reading Forms server log file.
===========START readfrmlog.pl=========================
#!/usr/contrib/bin/perl
# Read FORMS6i Server logfile
# Autor: Mastakov Konstantin
if ((@ARGV!=2) || (($ARGV[0] ne '-d')&&($ARGV[0] ne '-a')&&($ARGV[0] ne '-x'))) {
&usage;
exit;
if ($ARGV[1] eq 'TEST') {
$logfile='/oracle/test/testora/8.0.6/forms60/log/TEST/frmlsnr.log';
$ORACLE_HOME='/oracle/test/testdb/8.1.7';
else {
$logfile='/oracle/prod1/prodora/8.0.6/forms60/log/PROD/frmlsnr.log';
$ORACLE_HOME='/oracle/prod1/proddb/8.1.7';
$ORACLE_SID=$ARGV[1];
$startread=false;
$vrati=-1;
if (open(FRMLOG,$logfile)) {
$poz=tell(FRMLOG);
while ($linija=<FRMLOG>) {
if (substr($linija,0,1) eq '[') {
$startread=$linija=~/::Server Start-up Data:/;
if ($startread) {
$serverData=&userDT(substr($linija,1,28));
$vrati=$poz;
$poz=tell(FRMLOG);
if ($poz>=0) {
seek(FRMLOG,$vrati,0);
while ($linija=<FRMLOG>) {
if (substr($linija,0,1) eq '[') {
$data=&userDT(substr($linija,1,28));
if ($linija=~/::LISTN: Connection Request/) {
$vtordel=$';
$vtordel=~/ConnId=/;
$tretdel=$';
$tretdel=~/,/;
$connId=$`;
$cetdel=$';
$cetdel=~/Addr=/;
$petdel=$';
$petdel=~/]/;
$ipAddr=$`;
$lsnr{$connId}->[0]=$data;
$lsnr{$connId}->[1]=$ipAddr;
if ($linija=~/::RUNFORM Client Connected/) {
$vtordel=$';
$vtordel=~/ConnId=/;
$tretdel=$';
$tretdel=~/,/;
$connId=$`;
$cetdel=$';
$cetdel=~/PID=/;
$petdel=$';
$petdel=~/]/;
$procId=$`;
$lsnr{$connId}->[2]=$procId;
if ($linija=~/::Client Status/) {
$vtordel=$';
$vtordel=~/ConnId=/;
$tretdel=$';
$tretdel=~/,/;
$connId=$`;
$cetdel=$';
$cetdel=~/PID=/;
$petdel=$';
$petdel=~/]/;
$procId=$`;
$lsnr{$connId}->[3]=$data;
if ($linija=~/::RUNFORM Client Disconnected/) {
$vtordel=$';
$vtordel=~/ConnId=/;
$tretdel=$';
$tretdel=~/,/;
$connId=$`;
$cetdel=$';
$cetdel=~/PID=/;
$petdel=$';
$petdel=~/]/;
$procId=$`;
$lsnr{$connId}->[3]=$data;
close FRMLOG;
if ($ARGV[0] eq '-a') {
@progList = ("ORACLE_HOME=$ORACLE_HOME; export ORACLE_HOME;".
"ORACLE_SID=$ORACLE_SID; export ORACLE_SID;".
"TNS_ADMIN=/oracle/etc/network; export TNS_ADMIN;".
"$ORACLE_HOME/bin/sqlplus ".'-s apps/apps@$ORACLE_SID @spid_to_forms2.sql >frmlog.lst');
system(@progList);
if (open(SQLLOG,'frmlog.lst')) {
while ($linija=<SQLLOG>) {
chop($linija);
@cpole=split(/\s+/,$linija);
$userList{$cpole[1]}=$cpole[0];
close SQLLOG;
unlink('frmlog.lst');
foreach $kluc (keys(%lsnr)) {
$lsnr{$kluc}->[4]=$userList{$lsnr{$kluc}->[2]};
$what="All" if ($ARGV[0] eq '-x');
$what="Disconnected" if ($ARGV[0] eq '-d');
$what="Active" if ($ARGV[0] eq '-a');
print("Print $what Connections\n");
print("Forms Server Up from: $serverData\n\n");
print("Connection Start Who ProcID Connection Ended User\n");
print("------------------- --------------------- ------- ------------------- ----------\n");
foreach $kluc (sort {$lsnr{$a}->[0] cmp $lsnr{$b}->[0]} keys(%lsnr)) {
$iP=substr($lsnr{$kluc}->[1]." ",0,21);
$pRoc=substr($lsnr{$kluc}->[2]." ",0,7);
$endTime=substr($lsnr{$kluc}->[3]." ",0,19);
if (($ARGV[0] eq '-x') || (($ARGV[0] eq '-a') && (length($lsnr{$kluc}->[3])<5)) ||
(($ARGV[0] eq '-d') && (length($lsnr{$kluc}->[3])>5))) {
print($lsnr{$kluc}->[0].' '.$iP.' '.$pRoc.' '.$endTime.' '.$lsnr{$kluc}->[4]."\n");
else {
print("Error reading Forms-log file: $logfile\n");
sub userDT {
my ($sto) = @_;
$mesec{'Jan'}='01';
$mesec{'Feb'}='02';
$mesec{'Mar'}='03';
$mesec{'Apr'}='04';
$mesec{'May'}='05';
$mesec{'Jun'}='06';
$mesec{'Jul'}='07';
$mesec{'Aug'}='08';
$mesec{'Sep'}='09';
$mesec{'Oct'}='10';
$mesec{'Nov'}='11';
$mesec{'Dec'}='12';
return substr($sto,20,4).".".$mesec{substr($sto,4,3)}.".".substr($sto,8,2)." ".substr($sto,11,8);
sub usage {
print("Usage: readfrmlog -x|-a|-d ORACLE_SID\n");
print(" -x all (Active and Disconnected) connection\n");
print(" -a only Active connection\n");
print(" -d only Disconnected connection\n");
===========END readfrmlog.pl=========================
===========START spid_to_forms2.sql==================
set lines 120
column user_name format a20
column user_form_name format a25
column time format a8
column pid format 99999
column spid format 99999
set pages 0
set feedb off
select distinct user_name,process
from fnd_signon_audit_view, v$process, v$session
where fnd_signon_audit_view.pid = v$process.pid and
v$session.paddr = v$process.addr
and user_form_name is not null
exit;
===========END spid_to_forms2.sql==================
Modify all hardcoded variables: ORACLE_SID, ORACLE_HOME, TNS_ADMIN, logfile, password of App R11, location of perl exe, ...
Regards,

Similar Messages

  • UNABLE TO RETRIEVE THE CLIENT IP ADDRESS AND HOST NAME OF A PORTAL USER

    I'm trying to retrive the client IP address and host name of a portal user
    trying to access a portal page using APIs:
    PortletRenderRequest portletRequest =
    (PortletRenderRequest)request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    HttpServletRequest servletRequest =
    (HttpServletRequest)portletRequest.getAttribute(HttpCommonConstants.SERVLET_REQUEST);
    String l_szClientIPAddress = servletRequest.getRemoteAddr();
    String l_szClientHost = servletRequest.getRemoteHost();
    but i found that for all portal users on different machines IP addresses, the
    returned IP is the same for all which is Portal middle tier IP address.
    So how can retrive the IP addess of a portal user trying to access a portal
    page ?

    Brijesh,
    Do you mean how to see hostname/ip address of client requests processed by the server? If yes, depending on what's your front ending component - Web Cache or OHS, you can configure the access log format to have this information recorded in either of these component's access log file.
    For Web Cache access log file, refer this:
    http://download.oracle.com/docs/cd/B14099_19/caching.1012/b14046/diagnostics.htm#sthref2090
    For OHS access log file, refer this:
    http://download.oracle.com/docs/cd/B14099_19/web.1012/b14007/servlog.htm#sthref439
    By default, both Web Cache and OHS are configured to use Common Log Format (CLF) that does record hostname/ip address so if you haven't made any changes to log format, this info is already there for you. Look for $ORACLE_HOME/webcache/logs/access_log file for Web Cache and $ORACLE_HOME/Apache/Apache/logs/access_log file for OHS.
    Thanks
    Shail

  • How to check client machine IP address or Machine name

    I'm trying to check the client machine's IP address to restrict the unauthorised login in unassigned workstation. Any body know how to get the IP address of client machine? Is there any built in function to get it. I'll appreciate if you could send me email. Thanks.

    Hi,
    with the following statement you can get your pc's machine name:
    SELECT UPPER(USERENV('TERMINAL'))
    FROM DUAL;
    Be careful that, if you are dealing with a web envinronment, the outcome will be the Forms Server machine name.
    Regards,
    Marco

  • How to print the client ip address at the server side( reqd for logging )??

    Hello everybody...
    joined this forum recently.....
    In RMI programming.... is there any way by which the server can know the the Client ip address or machine name.... i want to know this bcoz i need to create a log file as to who all had connected withe the server..
    need a solution soon..... thanks in advance....

    @ejp....
    thanks buddy....
    u made my world a better place to live.....

  • GET IP and machine name of user....

    hi friends,
    i want to get IP address and machine name of the user who have access a form in web environment.
    be4 when i was working in client/server invorement i was using the following
    command
    SELECT SYS_CONTEXT('USERENV','IP_ADDRESS'),
    SYS_CONTEXT('USERENV','HOST'),
    SYS_CONTEXT('USERENV','OS_USER') from dual;
    when i try to implement this command for my web form... it gets the information
    (IP and machine name) of the server where applicaiton server resides and my application reside.
    how the get the information of user's mahcine and IP in web environment?
    please help!!!
    regards, imran baig

    hi again,
    thanks for the help, but i am still in problem. i am using forms6i and 9iAS for deployment.
    i tried to use d2kwutility and the code i used is:
    DECLARE
    OS_USER_NAME VARCHAR2(60);
    MACH_NAME          VARCHAR2(100);
    BEGIN
    OS_USER_NAME := win_api_environment.get_windows_username(toBoolean('Y'));
    MACH_NAME := WIN_API_ENVIRONMENT.Get_Computer_Name(toBoolean(MACH_NAME));
    INSERT INTO COMMON.COM_USER_INFO VALUES(:GLOBAL.G_EMPLOYEE_ID,:GLOBAL.G_MODULE_ID,SYSDATE,
    'SETUP > COMPANIES', 'F', :GLOBAL.G_USER_IP, MACH_NAME, OS_USER_NAME);
    COMMIT;
    CALL_FORM('COMPANIES_FRM',NO_HIDE,NO_REPLACE);
    END;
    :( BUT NO RESULTS..
    library is attached but it doest work...
    what to do now..
    Please help its very urgent..
    thanks, Imran Baig

  • How to get client machine name and IP address

    Hi,
    In my office I have one SERVER which has FORMS & Report Server installed and all the clients are accessing that application thru the following URL :
    http://OraServer:8889/forms/frmservlet
    to get the machine name I have read into a global variable like this
    SELECT USERENV('TERMINAL' ) into :global.clientname FROM DUAL;
    but obviously all the time its returning the SERVER machine name...not the name where client is accessing the program....so how can I get the client machine name..
    thanks

    Hi Frank,
    Well I am using Developer Suite 10g Release (10.1.2.0.2) ..I've gone thru the link what you have sent me and noticed that whatever updations of conf file or classpath its already there so i guess needn't to modify cause I think my release 10.1.2.0.2 has did already as webutils been bundled with it.
    Well What i did is to double click on ATTACH LIBRARY and browse the location to find webutil.pll and finally attached it...even though its showing me all the procedures like clientinfo and others...
    on my block's canvas I've put a button and used this trigger to get client info function like this.
    when-button-pressed trigger of INFOBUTTON
    DECLARE
    o_clientinfo varchar2(50) := Webutil_clientinfo.GET_HOST_NAME ;
    begin
    message(o_clientinfo);
    end;
    but when I am trying to open this form its simply not showing up..strange thing is that there is no error as well...so plz kindly guide me how to get clientinfo hostname or ipaddress using that library function.
    thanks

  • Unable to resolve machine names - Anyconnect

    We have an ASA5505 configured for client and clientless VPN access. When using the AnyConnect VPN client, we are unable to resolve machine names without having to fully qualify the domain. For example, instead of specifying exchange we must specify exchange.domain.com. We can connect/ping using IPs. When using the Cisco VPN Client, we are able to resolve names just fine using only the machine name. Both connections show the same correct WINS and DNS servers. I'm not sure where to start looking to resolve this. Any ideas? Thanks!
    Versions:
    ASA 8.0(4)
    ASDM 6.1(5)51
    AnyConnect 2.3.0185

    have you configured the default-domain value <>
    HTH>

  • Finding Session Info (Machine name and IP address)

    All,
    I have a procedure that was called by an applition about three days ago. The issue is I want to determine the IP address of the application server that called the procedure.
    We did not turn on auditing but the issue looks more like an unautorised call to the procedure and thats why we are more interested in th IP / machine name.

    Perhaps you are looking something like this ->
    satyaki>
    satyaki>select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    PL/SQL Release 10.2.0.3.0 - Production
    CORE    10.2.0.3.0      Production
    TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    Elapsed: 00:00:00.06
    satyaki>
    satyaki>
    satyaki>select * from emp;
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7777 SOURAV     SLS                  14-SEP-08      45000       3400         10
          7499 ALLEN      SALESMAN        7698 20-FEB-81       1600        300         30
          7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30
          7566 JONES      MANAGER         7839 02-APR-81       2975                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30
          7698 BLAKE      MANAGER         7839 01-MAY-81       2850                    30
          7782 CLARK      MANAGER         7839 09-JUN-81       4450                    10
          7788 SCOTT      ANALYST         7566 19-APR-87       3000                    20
          7839 KING       PRESIDENT            17-NOV-81       7000                    10
          7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0         30
          7876 ADAMS      CLERK           7788 23-MAY-87       1100                    20
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7900 JAMES      CLERK           7698 03-DEC-81        950                    30
          7902 FORD       ANALYST         7566 03-DEC-81       3000                    20
    13 rows selected.
    Elapsed: 00:00:00.03
    satyaki>
    satyaki>set autotrace on
    satyaki>
    satyaki>
    satyaki>update /*+ Satyaki_De_On_22_Sep_2008_8_25_PM*/emp
      2  set ename = 'Travor'
      3  where empno = 7499;
    1 row updated.
    Elapsed: 00:00:00.95
    Execution Plan
    Plan hash value: 3659136155
    | Id  | Operation          | Name   | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | UPDATE STATEMENT   |        |     1 |    10 |     1   (0)| 00:00:01 |
    |   1 |  UPDATE            | EMP    |       |       |            |          |
    |*  2 |   INDEX UNIQUE SCAN| PK_EMP |     1 |    10 |     0   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - access("EMPNO"=7499)
    Statistics
            145  recursive calls
              3  db block gets
             35  consistent gets
              3  physical reads
              0  redo size
            659  bytes sent via SQL*Net to client
            618  bytes received via SQL*Net from client
              3  SQL*Net roundtrips to/from client
              4  sorts (memory)
              0  sorts (disk)
              1  rows processed
    satyaki>
    satyaki>
    satyaki>commit;
    Commit complete.
    Elapsed: 00:00:00.03
    satyaki>
    satyaki>select * from emp;
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7777 SOURAV     SLS                  14-SEP-08      45000       3400         10
          7499 Travor     SALESMAN        7698 20-FEB-81       1600        300         30
          7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30
          7566 JONES      MANAGER         7839 02-APR-81       2975                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30
          7698 BLAKE      MANAGER         7839 01-MAY-81       2850                    30
          7782 CLARK      MANAGER         7839 09-JUN-81       4450                    10
          7788 SCOTT      ANALYST         7566 19-APR-87       3000                    20
          7839 KING       PRESIDENT            17-NOV-81       7000                    10
          7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0         30
          7876 ADAMS      CLERK           7788 23-MAY-87       1100                    20
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7900 JAMES      CLERK           7698 03-DEC-81        950                    30
          7902 FORD       ANALYST         7566 03-DEC-81       3000                    20
    13 rows selected.
    Elapsed: 00:00:00.21
    Execution Plan
    Plan hash value: 3956160932
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |      |    13 |   481 |     3   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS FULL| EMP  |    13 |   481 |     3   (0)| 00:00:01 |
    Statistics
              0  recursive calls
              0  db block gets
              7  consistent gets
              0  physical reads
              0  redo size
           1323  bytes sent via SQL*Net to client
            396  bytes received via SQL*Net from client
              2  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
             13  rows processed
    satyaki>
    satyaki>set long 40000
    satyaki>
    satyaki>select *
      2  from v$sqltext
      3  where instr(sql_text,'Satyaki_De_On_22_Sep_2008_8_25_PM')> 0;
    ADDRESS  HASH_VALUE SQL_ID        COMMAND_TYPE      PIECE SQL_TEXT
    1D578E00 2499086422 ddfyupqaga22q            6          0 update /*+ Satyaki_De_On_22_Sep_2008_8_25_PM*/emp set en
    Elapsed: 00:00:00.18
    Execution Plan
    Plan hash value: 1787836842
    | Id  | Operation        | Name    | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT |         |     1 |    98 |     0   (0)| 00:00:01 |
    |*  1 |  FIXED TABLE FULL| X$KGLNA |     1 |    98 |     0   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter("KGLOBOCT"<>0 AND INSTR("NAME",'Satyaki_De_On_22_Sep_2008_
                  8_25_PM')>0 AND "INST_ID"=USERENV('INSTANCE'))
    Statistics
              0  recursive calls
              0  db block gets
              0  consistent gets
              0  physical reads
              0  redo size
            794  bytes sent via SQL*Net to client
            396  bytes received via SQL*Net from client
              2  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
              1  rows processed
    satyaki>You have to execute -> set autotrace on as i have shown in my example.
    Regards.
    Satyaki De.

  • Get Machine Name and IP Address from Air Flex App

    New to Air..... Is there a way to get the name of the machine
    and the ip address for the client running the Air application? Not
    that this matters, but the applcation would be a Flex 3 application
    built specifically to be deployed to the Air runtime. I need to be
    able to have the Air/Flex application know what the client's
    machine name and ip address is. Can this be done?
    Thanks

    Hi Frank,
    Well I am using Developer Suite 10g Release (10.1.2.0.2) ..I've gone thru the link what you have sent me and noticed that whatever updations of conf file or classpath its already there so i guess needn't to modify cause I think my release 10.1.2.0.2 has did already as webutils been bundled with it.
    Well What i did is to double click on ATTACH LIBRARY and browse the location to find webutil.pll and finally attached it...even though its showing me all the procedures like clientinfo and others...
    on my block's canvas I've put a button and used this trigger to get client info function like this.
    when-button-pressed trigger of INFOBUTTON
    DECLARE
    o_clientinfo varchar2(50) := Webutil_clientinfo.GET_HOST_NAME ;
    begin
    message(o_clientinfo);
    end;
    but when I am trying to open this form its simply not showing up..strange thing is that there is no error as well...so plz kindly guide me how to get clientinfo hostname or ipaddress using that library function.
    thanks

  • Making windows machine names resolvable in OS X

    Hello,
    On my home network I've two Windows machines and my macbook pro named freestyle, hackster and bluestreak respectively. I've Windows filesharing enabled on my mac. So when I type \\bluestreak on any of the Windows machines, I'm able to reach the file shares on my mac... so 'bluestreak' successfully resolves to my mac's IP address. However, I'm unable to reach my Windows machines from my mac using their names. To reach the fileshares on the Windows machines from my mac, I've to use their IP addresses. Is there a way to make OS X automatically resolve those Windows machine names to their IP addresses? .. I know I could edit my hosts file but then I'd need to assign static IP address to my Windows machines and I'd still need to use IP addresses if there are any temporary guest machines in the network. So what I really wanna do is just how it happens on windows .. name resolution of computer names to their IP addresses.
    thanks,
    regards,
    Puneet

    Really? OS X fully supports NETBIOS/WINS as a discovery protocol.
    Do you have WINS configured in the network pane?
    System Preferences / Network / Select the network interface you want to configure and select Advanced on the right hand side. Select the WINS tab.
    Enter the NETBIOS NAME, select a workgroup from the drop down menu, and enter the IP address of the WINS server.
    Let me know if this helps.

  • HT4061 My gateway PC is locked up after itunes update.  When i restarted the computer for the hangers to take effect. Now my pc is locked up.  It gives me a client Mac address and no boot file name received.  What happened, and how do I get my pc back?

    jute way pc locked up after iTunes update.   It says client Mac address 001320 be ad 25 .  PXE E53  No boot file name received
    pXE MOF.  Exiting Broadcom PXE. ROM .  How do I unlock my pc?

    jute way pc locked up after iTunes update.   It says client Mac address 001320 be ad 25 .  PXE E53  No boot file name received
    pXE MOF.  Exiting Broadcom PXE. ROM .  How do I unlock my pc?

  • HT4061 I downloaded an iTunes update on my HP.  PC and restarted the computer for the hangers to take effect. Now my pc is locked up.  It gives me a client Mac address and no boot file name received.  What happened, and how do I get my pc back?

    I downloaded an iTunes update and when ashen I restarted my pc it locked up.  It says client Mac address 001320bead25,   PXE E53  No boot file name received.  PXE MOF.  Exiting Broadcom pie rom.   How do I get my pc back!

    When you installed iTunes on your work computer, then connected your iPad to that computer, it wiped what was on the iPad, then put the iTunes library (nothing) from the work computer onto the iPad. You can try copying the iTunes folder from your home computer over to your work computer, but since the apps were bought with a different account, they may not load or update properly.

  • IP Address/ Machine Name

    Is the IP Address / Machine Name of the machine on which Oracle is installed is stored somewhere in the database also so that we can query it get it.
    If yes where.
    Thanks in Advance

    short answer is no.
    But you can query it from the OS. I answered a similar question about querying the OS variable on
    thread. Just replace "env" by "hostname" in
    Re: Using Operating System Environment Variables in SQLPLUS
    To get the IP, you can then do something like "host <hostname>".
    If you run the sqlplus script on the server, you can use my second method on the same thread, that is :
    SQL> host echo def ip=`sed -n "s/^\([0-9.]*\)[^0-9.].*\`hostname\`.*/\1/p" /etc/hosts` > /tmp/320367.sql
    SQL> host echo def hostname=`hostname` >> /tmp/320367.sql
    SQL> @/tmp/320367
    SQL> prompt hostname=&hostname ip=&ip
    hostname=dbsrv85a.ex.zkb.ch ip=147.50.59.167
    Regards
    Laurent

  • Resolved IP address from host name-PL\SQL

    Guys,
    I need to get a resolved IP address from Host name.
    ie:Input would be host name and I need to get the resolved IP address of the host as output .
    Can this be done by a PL\SQL program?
    Thoughts please.
    Thanks,
    Gabriel

    SQL> select utl_inaddr.get_host_address('www.oracle.com') from dual ;
    UTL_INADDR.GET_HOST_ADDRESS('WWW.ORACLE.COM')
    141.146.8.66
    1 row selected.
    SQL> select utl_inaddr.get_host_address('www.microsoft.com') from dual ;
    UTL_INADDR.GET_HOST_ADDRESS('WWW.MICROSOFT.COM')
    207.46.199.30
    1 row selected.
    SQL>

  • Ping machine name returns machine.Home and incorrect IP address

    I have a small home network (5 machines) with the E8350 (AC2400) and an ActionTec modem PK5001A from Centurylink.  I put the router in Automatic Configuration - DHCP mode.  The modem WiFi is disabled.  The network appears to function properly except for the fact that when I ping some machines on my network they return an incorrect IP address like below.  All machines are running Windows 8.1 Pro and have all the latest updates. As you can see the machine name is suffixed with .Home and the IP address is to somewhere in Colorado; I'm in Washington state.
    C:\>ping machinename
    Pinging machinename.Home [198.105.244.23] with 32 bytes of data&colon;
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.
    Ping statistics for 198.105.244.23:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
    C:\>
    IP address is actually 192.168.1.100
    What can cause this problem and how do I correct it?

    Below is a list of some things that stick out after analyzing you ipconfig post:
    Your adapter is set to bridging "Ethernet adapter Network Bridge"; why?
    The adapter has a DNS server "205.171.3.25"
    The DNS Suffix Search List is set to: Home; which in itself isn't an issue useless a DNS server has that domain in it's records
    The DNS server "205.171.3.25" actual responds for the domain "home":
    The nslookup command below:
    C:\Users\chad>nslookup
    Default Server:  OpenWrt.lan
    Address:  192.168.200.1
    > server 205.171.3.25
    Default Server:  redirect1.qwest.net
    Address:  205.171.3.25
    > home
    Server:  redirect1.qwest.net
    Address:  205.171.3.25
    Non-authoritative answer:
    Name:    home
    Addresses:  198.105.254.23
              198.105.244.23
    >
    Solutions:
    Remove DNS entry for 205.171.3.25
    Disable bridging on the adapter (AFAIK it's not required or recommended)
    Please remember to Kudo those that help you.
    Linksys
    Communities Technical Support

Maybe you are looking for

  • Object Variable or With block Variable not set-not fr Excel, from BPC Admin

    Hello everyone, Object Variable or With block Variable not set-not from Excel but from BPC Admin.  I searched the form and all posting/solutions talk about this error appearing from Excel. In my case it happens for BPC Admin - when I try to maintain

  • Drag and Drop - detecting drop away from a component

    Flex 4, AIR 2.0 app I have a drag and drop detecting a Button drag away from a Group1 into Group2. When the user drops into a Group2, the Button is added to it, which obviously removes it from Group1. I would like it that if the user drags away from

  • Mail 8.1 won't open links from messges

    When reading a message,  links within the message won't open. When I 2 finger click on the link, the drop-down window ask  "open, open link behind mail, copy link, services" . None of them work. Before Yosemite. I could 2 finger click and choose what

  • Pdf files auto downloading.

    My Macbook is currently auto downloading PDF files. I can't view them unless they're downloaded. I tried reinstalling adobe reader, and unchecking the open safe files after downloading. Its not working. How do I stop files from being auto downloaded?

  • In correct planned Delivery cost

    Dear Experts, I have created one scheduling agreement with quantity 15000 with conditions basic price and delivery cost in percentage 1.65%. Then I have scheduled 5000 quantity in it. But when I take goods receipt of 5000 quantity the delivery cost i