Reverse DNS not function properly ? URGENT HELP ..PLEASE..

Please tell me how to do a Reverse DNs in java
e.g IP address of a network machine is 192.168.0.30
Then how can i get its name (i.e machine name)?
I know that i mus thave to use a jdk 1.4
Please prvide a full solution.
Thanks.

Not all IP addresses map to a hostname. Try:
InetAddress.getByName( args[ i ] )And PLEASE don't post messages that say "URGENT"; it turns people off, by implying that your problems are more important thatn everyone else's. See http://forum.java.sun.com/thread.jsp?forum=57&thread=271752

Similar Messages

  • Reverse DNS not function properly

    Please tell me how to do a Reverse DNs in java
    e.g IP address of a network machine is 192.168.0.30
    Then how can i get its name (i.e machine name)?
    I know that i mus thave to use a jdk 1.4
    Please prvide a full solution.
    Thanks.

    The following code shows how to get the hostname for an IP address:
    import java.net.*;
    public class TestReverse {
         public static void main(String[] args) {
              try {
                   InetAddress local = InetAddress.getByName(args[0]);
                   System.out.println(local.getHostAddress());
                   System.out.println(local.getHostName());
                   System.out.println(local.getCanonicalHostName());
              } catch(Exception e) {
                   e.printStackTrace();
    }For example, running java TestReverse 207.46.230.220 produces:
    207.46.230.220
    www.domestic.microsoft.com
    www.domestic.microsoft.comNote that it is possible to resolve names for your local network (at least it is on my Windows machine) when you put names for your IP addresses in the local host file (or of course, when you set up an internal DNS that resolves reverse lookups).
    Local network ranges may not be valid on the Internet, they are valid InetAddress'es.

  • ITunes has detected a problem with your audio configuration.Audio/video playback may not operate properly. Help please.

    I haven't used itunes here much just been playing the songs I had on it. Now i downloaded some more songs i plugged in my Ipod touch and it's not showing up and giving me the message above (Itunes has detected a problem with you audio configuration. Audio/video playback may not operate properly. I uninstalled Itunes and quicktime restarted computer and still the same thing. What is going on?

    Try reinstalling QuickTime, as this article suggests
    http://docs.info.apple.com/article.html?artnum=304424
    Other people have had luck with deleting their QT rpeferences file:
    C:\Documents and Settings\username\Local Settings\Application Data\Apple Computer\QuickTime\QuickTime.qtp

  • I have upgraded to 10.10.3 on my MacBook Pro now the Calendar is not working properly. Help please?!?

    Yesterday I upgraded my MacBook Pro 13" (Early 2013) to 10.10.3. I immediately started having problems with it opening apps slowly. So I read and discovered it had replaced some of my apps with newer versions. I also restarted it 2 or 3 times. That seemed to solve that problem. This morning I get on and it is doing the same thing, but it is limited to the Calendar. Anything I try to do in the Calendar gets me the spinning beachball, from opening it to editing to adding an event. I have many dates and events saved that I don't want to lose. Am I going to have to reinstall the Calendar? If so, how can I do it without losing my content?

    This is the note I sent to the other thread (Macbook is slow since OS X 10.10.3. I'm sorry. I hope this helps
    I did not have a specific category that said "log list" once I got to "All Messages". It just showed "Log" so that is what I am sending you. The other thing is that the timestamp is 9:23:?? the next is 9:34:?? and the problem occurred at 9:32:??. So you are getting the log from 9:23 until it repeats.
    Apr 13 09:23:49 -MBP com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): The _DirtyJetsamMemoryLimit key is not available on this platform.
    Apr 13 09:34:43 -MBP hidd[96]: IOHIDEventQueue unable to get policy for event of type 11. (e00002e8)
    Apr 13 09:34:47 --- last message repeated 83 times ---
    Apr 13 09:34:47 -MBP spindump[1465]: Got xpc error message in libspindump client connection: Connection invalid
    Apr 13 09:37:56 -MBP apsd[73]: Failed to initialize budgeting, not using budgeting: Error Domain=Timed out waiting for XPC and/or reply handler Code=104 "The operation couldn’t be completed. (Timed out waiting for XPC and/or reply handler error 104.)"
    Apr 13 09:37:56 -MBP apsd[73]: apsd(73,0x7fff7a8d5300) malloc: *** error for object 0x7fd5e0c43ef0: pointer being freed was not allocated
      *** set a breakpoint in malloc_error_break to debug
    Apr 13 09:38:29 -MBP com.apple.xpc.launchd[1] (com.apple.Finder[221]): Service exited due to signal: Terminated: 15
    Apr 13 09:38:29 -MBP kernel[0]: process Messages[57790] caught causing excessive wakeups. Observed wakeups rate (per sec): 115; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45001
    Apr 13 09:38:29 -MBP com.apple.xpc.launchd[1] (com.apple.ReportCrash[57808]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash
    Apr 13 09:38:29 -MBP ReportCrash[57808]: Invoking spindump for pid=57790 wakeups_rate=115 duration=392 because of excessive wakeups
    Apr 13 09:38:29 -MBP com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): The _DirtyJetsamMemoryLimit key is not available on this platform.
    Apr 13 09:38:29 --- last message repeated 1 time ---
    Thank you for your times!

  • Toshiba Satellite WILL NOT BOOT PROPERLY -- URGENT -- HELP NEEDED

    Hey guys, 
    I have a Toshiba Satellite P745-S4217, running x64 Windows 7 Home Premium. On Saturday (19/4), a problem occured where my computer automatically booted in Safe Mode. Normally I wouldn't start my PC in Safe Mode, so I turned the computer off to reboot it normally. When I went to reboot, though, at the *Starting Windows* screen, it went straight to a BSOD and rebooted by itself, then giving me to option to Launch Startup Repair or try again. Of course, I went to launch the Startup Repair, but then it simply went into a black screen and stayed there for around 4 hours before I chose to reboot again. The second time I rebooted, it did the BSOD thing again and gave me the two options. Every time I chose Start Normally, it went into the BSOD and returned to the menu, and every time I launched Startup Repair, it went into the black screen.
    By Sunday (20/4) I'd had enough of this. When I went to boot my computer, I rapidly tapped F12 to go into setup and reset the BIOS (another forum told me to do so). After this, however, when the computer went to reboot, it displayed a screen that said 'Select Proper Boot Device or Reboot and Insert Boot Device' or something along those lines. Since I don't have a Win7 Boot Disc (my PC came without that, a recovery disc, OR an installation disc since Win7 was preinstalled), I was thinking about creating a boot disc to solve the problem. However, since my PC runs slowly, I was also contemplating creating a restore disc that would return the PC to factory defaults -- yet, I don't have a hard drive to backup my files onto (I also have no way of doing this even if I did, remember my PC refuses to boot). Are there anymore solutions I could try to boot the computer correctly, or will I have to reinstall Win7? PLEASE HELP!

    You might want to try any other suggestions in this article that you haven't already tried:
    What can I do if my Windows 7 or Windows Vista laptop won't start?
    - Peter

  • The u, j, m and 7 keys on the keyboard are not functioning properly on my macbook air. Please Help!

    The u, j, m and 7 keys on the keyboard are not functioning properly on my macbook air. In its place are a random assortment of keys (Ex - u = "eqrw" or "IOUY"). This randomly happened when logging back in after sleep mode. No liquid damage at all. Please help!

    OK, I fixed the problem by doing a SMC (System Management Controller) reset as follows:
    1. Powered off my MacBook and removed everything connected except for the power chord.
    2. When powered off, I held "Shift" + "ctrl" + "Option" + "Power button" for 5 seconds or so until the little light on the front started to blink rapidly.
    3. Powered up my Mac, which took a little longer than usual to start and tested the "missing" keys which now works perfectly again.
    Just added another couple of years usage with my aging mac :-)

  • HCPL0631 is not functioning properly please help!!

    To adminitrator,
    I am trying to use the HCPL0631 optocoupler for my simulation. However, this optocoupler will not function properly and will not give me a good result.
    I have attached the circuit diagram in the attachment, please let me know what is wrong with my circuit causing the components to fail.
    thank you for your kind attention
    Message Edited by justinycc on 04-11-2009 06:40 AM
    Message Edited by justinycc on 04-11-2009 06:41 AM
    Solved!
    Go to Solution.
    Attachments:
    circuit1.PNG ‏69 KB

    Actually, never mind about that, the model for the HCPL0631 isn't very good. It doesn't actual have a open collector output. It also has a built in VCC of 5V, so the power supply that you are attaching isn't really being used. Your problem is grounding. Multisim constructs mesh current and node voltage equations for simulation and can't do it accurately if you don't specify the ground for your circuit.
    Try adding a ground to the GND terminal of the optoisolator. You should also have a ground attached to the cathode of the optoisolator or neutral wire of the function generator. The GROUND component is in the Master Database in the Sources group and in the POWER_SOURCES family.
    Yi
    Software Developer
    National Instruments - Electronics Workbench Group

  • My iTunes card won't redeem and when I try to it comes up with this "The gift certificate or prepaid card code you entered has not been properly activated. Please contact iTunes Store costumer support for assistance" can anyone help me?

    My iTunes card won't redeem and when I try to it comes up with this "The gift certificate or prepaid card code you entered has not been properly activated. Please contact iTunes Store costumer support for assistance" can anyone help me?

    Is the store that you bought the card from nearby so that you can try going back and asking if they can activate the card properly ? If it's not, or if they can't/won't activate, then you will need to do as the message says and contact iTunes Support (these are user-to-user forums) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then iTunes Cards And Codes (you will probably need to give them images of the front and back of the card, and possibly its receipt)

  • Just bought Elements 13. Input serial number (starting 1057), which is not recognised and the installation stalls here. Urgent help please...

    Just bought Elements 13. Input serial number (starting 1057), which is not recognised and the installation stalls here. Urgent help please...

    Maryrhire910 I am sorry that you are facing difficulty downloading and installing Photoshop Elements 12.  Are you downloading the installation files from Download Photoshop Elements products | 13, 12, 11, 10?  If so what specific error are you receiving?

  • TS1702 I am using iPad 3, today I upgraded it to iOS 6 however after updating a particular application is not functioning properly. it's Candy Shoot, need help in playing that game

    I am currently using iPad 3, and upgraded it to ios6 today. However after updating the software e a particular game Candy Shoot is not functioning properly. Please suggest how to get it solved

    thanks, but can you tell me how do I get in touch with the app development team?

  • DNS feature not functioning properly

    DNS feature not working properly after latest update. When DNS is active calls from Favorites do not go through and is sent to voicemail. Texts from favorites also do not go through. Why even have this feature when it does not function properly.

    I assume you mean DND. Double check the settings to make sure your favorites are permitted. Reboot the phone if they are not coming through.
    Text messages will NEVER sound an alert when DND is turned on, regardless of whether favorites are allowed by DND. Only calls are allowed.

  • HT2584 why isn't my mac pro work properly as it is new. the connection for the bluetooth is totally out and its not functioning at all. kindly please assist me on this

    THE BLUETOOTH CONNECTION IS NOT FUNCTIONING PROPERLY AND IT BEING DIFFICULT TO DOWNLOAD THE UPDATES

    The standard first attempt at "fixing" BT problems is to do a smc and pram reset (try these first).  But for mac pro's, if you are using a magic mouse say, about 3 or more feet, from the mac pro, you are most likely in for some continued aggravation.  That's because the BT antenna is hidden in the back of the mac pro (faraday cage) and the magic mouse BT, for lack of better words, $ucks.
    Here's a thread on this subject:
    Poor Bluetooth reception and jerky mouse
    Basically it comes down to wiring your own external antenna in place of the internal one already there or using a BT USB dongle.  I use a dongle myself on my 2010 mac pro.

  • Satellite P300D-110 integrated webcam is not functioning properly.

    Hello everyone,
    as the title says, the integrated webcam of my Toshiba Satellite P300D-110 is not functioning properly. Allow me to explain. Using the Camera Assistance Software I can take photo's and record music. If I try to record a video the preview screen turns up black and the end result tuns out black aswell, completely black.
    Whenever I try to use my camera with applications such as MSN Live Messenger, Skype or at community websites using Firefox, Internet Explorer or Safari the application in question crashes.
    *How did this happen?*
    You tell me. This is how it went;
    * Day 1: I've started up my laptop and looked at my fresh and clean install of windows vista home premium. I tried out my webcam using the webcam assistance software and it worked like a charm.
    * Day 2: Once again I boot up my laptop and try to start my webcam only to find out that it no longer functions.
    To give a quick summary of the thread;
    * Using Camera Assistance Software provided by Toshiba I can take pictures.
    * Using Camera Assistance Software provided by Toshiba I can record sound.
    * Using Camera Assistance Software provided by Toshiba I can _*NOT*_ record or preview a video.
    * I can not start my camera using any other application such as but not limited to; MSN Live Messenger, Skype, Mozilla Firefox, Internet Explorer and Safar.
    * I have downloaded and isntalled the latest drivers from the Toshiba website.
    * My laptop is about a week old.
    I'm not sure what more I can do, all I want is for the webcam to work, if anyone can help me out please do so.
    And if possible WITHOUT having to reinstall Windows Vista Home Premium.
    I haven't even used it and wouldn't want to make that a solution for all the problems that might occur in the future.
    Sincerely,
    a sad customer.

    Using Camera Assistance Software provided by Toshiba I can NOT record or preview a video.
    Can you please describe the steps how you try to do this? I must ask you this because it runs well on my notebook. When the recording is finished player opens and you can see recorded movie. It is avi format and at the top of this player you can see the path where the movie is saved.
    Most strange thing for me is that you cannot use it with Skype. Ok for MSN is not the perfect but there is absolutely no problem with Skype. Check the settings and it must work somehow.

  • DNS not working properly

    Hello,
    Since a couple of days I got DNS problems. (DNS not working properly). This started happening after a Windows update. I tried to deinstall all of them and see if that helped but it did not. 
    I'm quite inexperienced with this.
    Hope someone can help out.  
    Regards,

    Hello,
    is that in a domain or workgroup? Single machine only?
    Please post an unedited ipconfig /all from the problem machine and also, if domain, from the DC/DNS server.
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://blogs.msmvps.com/MWeber
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
    Twitter:  

  • Why are my firefox icons and tabs not functioning properly?

    My firefox is not functioning properly since Monday. I have tried uninstalling and installing firefox but the problem is still there when I open it. Please help.

    Unfortunately, the most likely explanation is an incompatibility with your graphics card/chipset driver software. One of the effects of Safe Mode is to disable Firefox from using hardware acceleration. To turn that feature off in normal mode as well:
    "3-bar" menu button (or Tools menu) > Options > Advanced
    On the "General" mini-tab, uncheck the box for "Use hardware acceleration when available"
    This takes effect the next time you exit Firefox and start it up again. Any difference?

Maybe you are looking for