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.

Similar Messages

  • 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

  • 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.

  • 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.

  • DirectAccess on Server 2012 R2 with Single NIC behind NAT on IPv4 only Corporate Network Results in "DNS Not Working Properly"

    I hit this problem at a customer site and can re-produce it in a simple lab.  Lab environment: servers:
    1x Server 2012 R2 DC and DNS server - DC1 - 10.0.0.1
    1x Server 2012 R2 DirectAccess (DA) server - DA1 - 10.0.0.100
    Servers are running "Update" (KB2919355) and following DA hotfixes:
    KB2929930
    KB2966087
    I configured DA (via advanced wizard) as follows:
    DA and remote access
    AD group
    directaccess-webprobehost DNA (A) record pointing to 10.0.0.100
    behind an edge device (with a single network adapter)
    SSL certificate from enterprise root CA issued to directaccess.contoso.com
    NLS on remote server using https://nls.corp.contoso.com
    DNS: corp.contoso.com = 10.0.0.1; nls.corp.contoso.com = ""
    DNS suffix search list = corp.contoso.com
    The DNS server validates successfully in the configuration UI.
    With this configuration, I get a static IPv6 address of fd79:7a37:cbd9:3333::1/128 assigned to the NIC
    The operations status is all green apart from DNS which displays the following error:
    "DNS: Not Working Properly"
    Error:
    None of the enterprise DNS servers fd79:7a37:cbd9:7777::a00:1 used by DirectAccess clients for name resolution are responding. This might affect DirectAccess client connectivity to corporate resources.
    Causes:
    Enterprise DNS servers fd79:7a37:cbd9:7777::a00:1 are not responding.
    I can, however ping fd79:7a37:cbd9:7777::a00:1 (which is the DNS64 translation of 10.0.0.1)
    I would like to know what checks are failing as there are no failures in Event Viewer.
    I have come across forums where people have the same issue and fix it by specifying the local IP (in this case 10.0.0.100) as the DNS server, however Richard Hicks has confirmed with me that the DNS server should be set to the DNS server, not the DA server's
    IP.

    Thanks for the post Matt,
    ISATAP has been disabled on my DA server, so the results of a "ROUTE PRINT -6" command yields:
    ===========================================================================
    Interface List
     12...00 15 5d 01 03 64 ......Microsoft Hyper-V Network Adapter
      1...........................Software Loopback Interface 1
     14...00 00 00 00 00 00 00 e0 IPHTTPSInterface
    ===========================================================================
    IPv6 Route Table
    ===========================================================================
    Active Routes:
     If Metric Network Destination                           Gateway
      1    306 ::1/128                                               On-link
     12    261 fd79:7a37:cbd9::/48                         On-link
     14    306 fd79:7a37:cbd9:1000::/64                On-link
     14    306 fd79:7a37:cbd9:1000::/128              On-link
     14    306 fd79:7a37:cbd9:1000::1/128            On-link
     14    306 fd79:7a37:cbd9:1000::2/128            On-link
     14    306 fd79:7a37:cbd9:1000:814c:28be:46b5:52c1/128     On-link
     12    261 fd79:7a37:cbd9:3333::1/128            On-link
     12    261 fd79:7a37:cbd9:7777::/96                On-link
     12    261 fe80::/64                                           On-link
     14    306 fe80::/64                                           On-link
     12    261 fe80::20c0:e848:d304:9f01/128       On-link
     14    306 fe80::814c:28be:46b5:52c1/128      On-link
      1    306 ff00::/8                                               On-link
     12    261 ff00::/8                                              On-link
     14    306 ff00::/8                                             On-link
    ===========================================================================
    Persistent Routes:
     If Metric Network Destination                            Gateway
      0 4294967295 fd79:7a37:cbd9:1000::/64       On-link
      0 4294967295 fd79:7a37:cbd9::/48                On-link
      0 4294967295 fd79:7a37:cbd9:7777::/96       On-link
    ===========================================================================

  • 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 :-)

  • The list of extensions for InDesign now have a yellow triangle warning symbol in front of a good many of the extensions and when moused over i get one of two messages:  "Extensions may not function properly because it does not meet the dependency conditio

    The list of extensions for InDesign now have a yellow triangle warning symbol in front of a good many of the extensions and when moused over i get one of two messages:
    "Extensions may not function properly because it does not meet the dependency condition."
    OR
    Extension Status is not consistent with extension set configuration."
    The reason I opened the Extension Manager in the first place was to check to see if I had installed a third party extension.  And I was presented with these warning symbols.  I haven't added anything, I haven't done anything that would cause this.
    Does anyone know how to fix this???
    I am running OSX 10.9.5; Indesign CS6 version 8.0.2 And Adobe Extension Manager version  6.0.8.28.
    Thanks in advance!
    Nina

    Many InDesign pre-installed extensions (Those extensions you have immediately after InDesign installation) define dependency rules in their mxi files. Dependency means that one extension works well only if one or more other extensions are installed and enabled. If this condition is not met, the yellow triangle warning will be shown.
    You can select an extension with warning, click "Advanced" tag page in the lower right panel. You will see "This extension has dependency on: <extension name> ...". Check whether every extensions listed here are available and enabled. If not, enable them. Repeat these steps for all the extensions which have warning.

  • HT1665 Bluetooth on my IPhone 3GS seems not function properly

    Bluetooth on my IPhone 3GS seems not function properly. How to check and rectify it.

    It would help if you explained what you mean when you say it doesn't function properly. What are you attempting to do? What happens when you try? What troubleshooting steps have you already taken?

  • 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 do QTVR interactive images do not function properly or at all?

    QTVR interactive images do not function properly. Check this page out in firefox and then in safari and see the difference.....
    http://www.edfruinphotography.com/MILLCITY_2.html

    I have Safari 5.1.7. I am using Mac Snow Leopard.
    That page is using Flash as well as Quicktime. With Firefox, when I drag the cursor, there is no movement until I let go of the button. That makes it very jerky.
    You could try disabling hardware acceleration and see if that works better with Firefox, in Preferences > Advanced > General.

  • Click and Drag in OS X Yosemite 10.10.3 is not functioning properly on desktop folders

    The click and drag on my Mac 10.10.3 is not functioning properly.  It won't allow me to click and drag folders on desktop or dropping them into emails.  Thought I looked every where for solution....... Any input would be appreciated.....Thanks! 

    Select
              View ▹ Show View Options
    from the Finder menu bar. In the dialog that opens, select
              Sort by: None

  • 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?

  • My iPad is not functioning properly, I want to restore it. but I'm unsure if my Minecraft world will be saved in the backup

    My iPad is not functioning properly, I want to restore it. but I'm unsure if my Minecraft world will be saved in the backup. Please help, I need to use it ASAP

    How to BackUp
    http://support.apple.com/kb/ht1766
    See iTunes will backup the following Information  Here...
    http://support.apple.com/kb/HT4946

  • Cropping tool does not function properly in Photoshop CS3

    Cropping tool does not function properly in Photoshop CS3. Always crops to .004" x .004". Tried reinstall with no luck. Any fixes out there?

    Reset the tool by right-clicking on the crop tool drop-down/fly-out menu in the top options bar (big crop tool icon above the tools panel, when the crop tool is selected). Be sure to check there aren't values in the crop tool by hitting the clear button in the options bar.

  • HT4623 The APP application on my iPad does not function properly - any downloads requested immediately fail and send me back to the main iPad screen.  Any suggestions on how to fix this - all software has been updated to iOS 5.1.1 and no other updates are

    The APP application on my iPad does not function properly - any downloads requested immediately fail and send me back tot he main iPad screen.  Any suggestions on to hoe to fix this?  The software has been updated to iOS 5.1.1, and no furthe updates are available.

    This is my boilerplate response when app downloads are stalled or in the "waiting" mode. There are a bunch of things here to try.
    Tap on the "installing" icon and see if you can pause the install, then tap on it again in order to resume the install.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Make sure that you do not have a stalled download in iTunes - a song or podcast .... if you have a download in there that did not finish, complete that one first. Only one thing can download and install at a time on the iPad so that could be what is causing the problem.
    If that doesn't work - sign out of your account, restart the iPad and then sign in again.
    Settings>iTunes & App Store>Apple ID. Tap your ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Go back to Settings>iTunes & App Store>Sign in and see if the install resumes.
    If all else fails, download the updates or the apps in iTunes on your computer and then sync the content to your iPad.

Maybe you are looking for