JNDI/DNS Provider - How to get TTL & other header info ?

Hi,
I am using JNDI/DNS Provider for accessing DNS Records from DNS Server. After the DNS lookup, the Attribute collection received from JNDI/DNS Provider does not contain TTL information for SRV records. Further investigation shows that JNDI/DNS Provider only exposes "RData" section of DNS UDP Packet Response through Attributes & its values. The TTL comes in the "Header" section of DNS UDP Packet Response and not included in the Attributes & its values.
When I dig into the source code of JNDI/DNS Provider, it is clear that TTL value is stored in the ResourceRecord class. But there are no get methods for it. Even worse, there does not seem to be ways of getting the collection of ResourceRecord objects!!. Most of the classes / functions in JNDI/DNS provider are either package scoped OR private scoped.
Do anybody know how to get the TTL for SRV records ?. Or, is it not possible at all ? (That means should I move to other DNS libraries like DnsJava ?)
Thanks,
Ram.

Thanks v.r. for your quick reply. In fact we are using the TTL SOA for the time being. But when it is overridden in specific SRV / A / AAAA records, we are not able to get that value. Any idea how to get these overridden record specific TTL values ?
Thanks,
Ram.

Similar Messages

  • I modified the first business card in a template. Does anyone know how to get the other cards on the template to look like the first one without doing each individually? please and thanks!

    I modified the first business card in a template. Does anyone know how to get the other cards on the template to look like the first one without doing each individually? please and thanks!

    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=182&mforum=iworktips ntrick
    Peter

  • How to get contacts and calendar info from my old palm files

    I used to use a Palm Tungsten T3. I no longer have it but until recently I still used the Palm Desktop. My computer "died" and I was able to copy all the Palm files of of it but now I have no idea how to get the contact and calendar(less important than contacts) info in some form I can use. I do not currently have any Palm software installed on my computer. I have Microsoft Windows XP on my computer now and use Outlook or Outlook Express. Does anyone have any advice for me. Thanks in advance.
    Post relates to: Tungsten T3

    I'm having the same problem.  Desktop 4.1.4 on old PC.  New PC with Win 7.   Loaded 6.2 and when I went to Import 6.2 is looking for .aba files.  Old PC has all .dat files.  How do I import or transfer addresses and other contact info to new PC??  Thanks.

  • How to get 3D human head from photo

    Hi all,
    Is it possible to get a 3D head from 2D-photos with front, left, right, back and top directions?
    I only know using texture mapping but this method cannot be used to different size of head.
    Do you have any other easy method to do it? Please give me some suggestion or example. Thanks a lot!

    have a look at photomodeler
    i think the site is simply photomodeler.com
    you can download free 'lite' version to muck around with.
    or order a free 'pro' version demo on cd
    it will help you create 3d objects from 2d photos by referencing similar points on different photos.
    i've only used it for basic models (cubes, etc)
    but for example with a cube i could get a done in about 5 minutes with very good texturemaps
    you can export the model as a wrl. .3ds and if you get the pro version many more file formats.
    have a look

  • How can i get the HTTP header info using Java

    Hi,
    I kinda need to extract the HTTP header info from a page that i goto through a URL objecrt and socket. Java.
    Can someone please help me.. thanks!!!!
    System.out.println("Enter URL : ");
    String getAdd; // The URL that the crawler begins at.
    // Manually take in URL
    Scanner sc = new Scanner(System.in);
    getAdd = sc.nextLine();
    URL myURLobj = new URL(getAdd);
    String hostName = myURLobj.getHost();
              Socket s = new Socket(hostName, 80);

    URL url = new URL(getAdd);HttpURLConnection conn = (HttpURLConnection)url.openConnection();
    Map<String, List<String>> headerFields = conn.getHeaderFields();

  • How to get the other columns of a particular mininum value

    <p>I have a multiple rows per account in a table. I build a object minimum(col1) in the Business Object universe. I need to get the corresponding values of a min(col1) for each account. Problem is when i pull the min(col1) and other column, it always gives every combination of the min(col1) for each account. How do i get only the corresponding values.</p><p>Example</p><p>Acct         Col1     col2     col3 </p><p>1              34       3         4</p><p>1              45        5        6</p><p>2               3         7         8</p><p>output should be</p><p>1           45    5   6</p><p>2         3       7   8</p><p>How i accomplish with data providers or free hand sql combinations</p><p>&#160;</p><p>Thanks</p><p>&#160;</p><p>&#160;</p>

    you can do this very quickly by creating a crosstab with the Acct as the Row, and Col1,2,3 as the Columns, and the Maximum of your field as the summary.

  • How to get the OTHER value in a poplist

    A poplist has 2 values. The one the user sees and the "real" value. I need to access both in my project. Is it possible to get the value of the "other" value, the one the user sees??

    sure thing... I had to send both the "real" value and also the string value the user sees and actually selects in the list to another block. Here's the code:
    total_list_count NUMBER;
    loop_index_var NUMBER;
    list_element_value VARCHAR2(200);
    BEGIN
    --populate actual value
    :SENDING_BLOCK.actual_value := :RECEIVING_BLOCK.actual_value;
    --populate "other" value user sees
    loop_index_var := 1;
    total_list_count := GET_LIST_ELEMENT_COUNT('SENDING_BLOCK.other_value');
    LOOP
    list_element_value := GET_LIST_ELEMENT_VALUE(SENDING_BLOCK.other_value, loop_index_var);
    IF :SENDING_BLOCK.other_value = list_element_value THEN
    :RECEIVING_BLOCK.other_value := GET_LIST_ELEMENT_LABEL('SENDING_BLOCK.other_value', loop_index_var);
    END IF;
    loop_index_var := loop_index_var + 1;
    EXIT WHEN list_element_value = :SENDING_BLOCK.other_value OR
    loop_index_var = total_list_count;
    END LOOP;
    END IF;
    I think i replaced the right variables. I can't understand why there isn't a simple function to get this value, this code does the job.

  • Updated to 5.0 any ideas how to get the OTHER back

    When I updated to 5.0 my OTHER SPACE used went to 7.2 gigs... any way to get that
    space back.

    - A reset may work and you lose nohing by trying.
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Next, restoring from backup works if the other is not in the backup
    - Last, a restore to factory defaults/new iPod always works.

  • How to get regain "other" memory

    I have almost 3 gigs of memory taken by "other."  By now, it seems that Apple should have a remedy other than restoring the entire phone.  Has there been any update to this problem?  Restoring my phone is too cumbersome. 

    Ohio Girl52 wrote:
    I have almost 3 gigs of memory taken by "other."  By now, it seems that Apple should have a remedy other than restoring the entire phone.  Has there been any update to this problem?  Restoring my phone is too cumbersome.
    Assuming you're on IOS 7 then that is normal size.
    What is "Other" and What Can I Do About It?

  • How to get the department heads in the query

    Hi friends,
    I've a requirement like I need the head of each department....
    How do we find that.... we can use the rank function here i guess...
    but can any one put the exact code here pls
    thanks in advance

    Hi,
    776317 wrote:
    Thanks a lot for the reply
    my table is like each employee has a supervisor and each employee has an organization_id and this organization id is the department we are talking about..
    now...how to go about nowWhat you should do now is what Sri said earlier: post CREATE TABLE and INSERT statements for some sample data, and the results that you want from that data. You haven't given nearly enough information about your table or your requirements for anyone to help you yet. Also, say what version of Oracle you're using.
    You'll better better replies sooner if you always provide this information whenever you have a question.
    As Sri said, what is the "head"?
    Is the "head" identified by some other columns (like job='MANAGER' in the scott.emp table)?
    Is the "head" always an ancestor (that is, suprevisor, or supervisor's supervisor, or supervisor's supervisor's supervisor, or ...) with the same organization_id?
    We're willing to share our knowlege of SQL. Are you willing to share your knowlege about the tables and your requirements? I don't think we can solve this without your help.

  • How to get the last column info of the given table

    Hi All,
    I want to get the last column information like :
    column name, datatype of the last column in the given
    table use PL statement. Please help.
    Thanks,
    JP

    SCOTT@orcl SQL> desc emp
    Name                                                  Null?    Type
    EMPNO                                                 NOT NULL NUMBER(4)
    ENAME                                                          VARCHAR2(10)
    JOB                                                            VARCHAR2(9)
    MGR                                                            NUMBER(4)
    HIREDATE                                                       DATE
    SAL                                                            NUMBER(7,2)
    COMM                                                           NUMBER(7,2)
    DEPTNO                                                         NUMBER(2)
    SCOTT@orcl SQL> select column_name, data_type from user_tab_columns
      2  where table_name = 'EMP'
      3  and column_id = (select max(column_id) from user_tab_columns
      4  where table_name = 'EMP');
    COLUMN_NAME                    DATA_TYPE
    DEPTNO                         NUMBER
    SCOTT@orcl SQL>                                                                      

  • How to get content check in info

    Hi,
    I have created a custom check in form and it contains few fields and on is redirected to confirmation page. In the confirmation page, I want to display
    the content id, title, author date,keywords all from the previous screen where user entered the values.
    I am using the following method to get the info but its not working.
    ***************************Check In page**************************************************************************************
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><!--$include ss_layout_head_info-->
    <title>(untitled)</title>
    <script id="ssInfo" type="text/xml" warning="DO NOT MODIFY!">
    <ssinfo>
    </ssinfo>
    </script>
    <script type="text/javascript">
    var checkinService = "CHECKIN_NEW";
    function postCheckIn(form)
         alert("insde js")
    form.IdcService.value = checkinService;
    form.dSecurityGroup.value = form.SecurityGroup.value;
    alert(form.SecurityGroup.value);
    form.dDocType.value = form.DocTypes.value;
    alert(form.DocTypes.value);
    form.dAuthor.value = form.Authors.value;
    alert(form.Authors.value);
    form.submit();
    </script>
    </head>
    <body>
    <form name= "Checkin" enctype="multipart/form-data" method= "post" action = "/idc/idcplg">
    <input type = hidden name = "IdcService"/>
    <input type = hidden name ="primaryFile"/>
    <input type = "hidden" name ="dSecurityGroup">
    <input type = "hidden" name = "dAuthor">
    <input type = "hidden" name = "dDocType">
    <input type =hidden name= "RedirectUrl" value= "http://localhost:7771/marketingkitportal/index.htm"/>
    Title<input type="text" name = "dDocTitle"> <br>
    <!--Generating security group from content server -->
    security group <select id="SecurityGroup" name="SecurityGroup">
    <option selected value="0">
    - please choose one -
    </option>
    <!--$rsMakeFromList("estSecurityGroup","securityGroups","estSecurityGroupName")-->
    <!--$ loop estSecurityGroup -->
    <option value="<!--$estSecurityGroupName-->"><!--$estSecurityGroupName-->
    </option>
    <!--$ endloop -->
    </select>
    <br>
    <!-- Generating doc authors from content server -->
    Author <select id="Authors" name="Authors">
    <option selected value="0">
    - please choose one -
    </option>
    <!--$rsMakeFromList("estAuthors","docAuthors","docAuthorName")-->
    <!--$ loop estAuthors -->
    <option value="<!--$docAuthorName-->"><!--$docAuthorName-->
    </option>
    <!--$ endloop -->
    </select><br>
    <!-- Generating document types dynamically that are available in contnet server -->
    Type <select id="DocTypes" name="DocTypes">
    <option selected value="0">
    - please choose one -
    </option>
    <!--$rsMakeFromList("doc_types","docTypes","docTypeName")-->
    <!--$ loop doc_types -->
    <option value="<!--$docTypeName-->"><!--$docTypeName-->
    </option>
    <!--$ endloop -->
    </select>
    <br>
    PrimaryFile1<input type = File name = "primaryFile"> <br>
    Confidentiality: <select name="xConfidentiality" id="xConfidentiality" style="WIDTH: 250px">
    <option value="0" selected>
    Please select one
    </option>
    <!--$rsMakeFromList("estConfidentiality","xConfidentiality.options","confidentialityName")-->
         <!--$loop estConfidentiality -->
         <option value="<!--$confidentialityName-->"><!--$confidentialityName--></option>
         <!--$endloop-->
    </select>
    <input type=button name=javaSubmit value="Check In" onClick="postCheckIn(this.form)"> <br>
    </body>
    </html>
    ***************************Confirmation page************************************************************
    <h2>Check In Confirmation for '<!--$dDocTitle-->'</h2>
         <!--$executeService("DOC_INFO")-->
         dID                         : <!--$getValue("DOC_INFO","dID")-->
         Content ID                : <!--$getValue("DOC_INFO","dDocName")-->
         Title                    : <!--$getValue("DOC_INFO","dDocTitle")-->
         Checked in by          : <!--$getValue("DOC_INFO","dDocAuthor")-->     
    Edited by: AbhijijitPr on Jun 2, 2010 6:00 PM

    Hi Thanks for the help.
    Can you also let me know if this is correct what I am doing.
    1. I created a custom confirmation template named "CHK_IN_CONFORM"(this is content ID) file name is "marketingportalcheckinconfirmation.hcst"
    2. I have put for RedirectUrl value as :
    document.getElementById('RedirectUrl').value="http://localhost:7771/idc/idcplg? IdcService=GET_DOC_PAGE&Action=GetTemplatePage&Page=chk_in_conform&dID=<$dID$>&dDocTitle=<$url(dDocTitle)$>";"
    3. But when I submit, it says me "Referenced source HTML page not found. Unable to find the template page of form type 'chk_in_conform'."
    4. But when I change the IP and try to redirect I am able to see the dID and docTitle.
    5. Only Issue is to redirect to template page.
    If you can help me it will be great.
    Thanks,
    Abhijit

  • How to get Operating System Space Info from Oracle database using SQL

    Our oracle databases are installed on Unix operating system. Currently our DBA wrote a view to get space info of table spaces and He is requesting me to add Operating system level(file system) drive space info to the same report.
    Can you please let me know the easiest way to get this information to sql table so that it can be used for reporting purposes?

    You should be able to create a shell script with the OS commands to generate the information for the mount points that you want to access in Oracle, then read it in as an external table using the preprocessor feature of external tables:
    http://download.oracle.com/otndocs/products/database/enterprise_edition/utilities/pdf/xtables_preproc11g_1009.pdf

  • How to get JDBC remarks column info oracle database

    How can i add a description to tables in oracle database which describes about the table and retrieve it from JDBC remarks column

    Perform the following ORACLE sql command:
    COMMENT ON TABLE  MyTable IS 'This table is cool'

  • New iMac for wife, how to get all her iPhone info into iTunes on new iMac?

    I bought my wife a new iMac and she has been docking her iPhone 3G on the family iMac and the family iTunes. Now she wants to dock her iPhone on her computer and her iTunes but still have access to all the music and movies we have on the family iMac. How do I do this? Thanks

    you could use home sharing in itunes to allow her to move music/movies between the family computer and her computer. http://support.apple.com/kb/ht3819

Maybe you are looking for