[Solved] Find domain names from ip addresses bash cli

I am trying to figure out if there is a reliable way (or any way) to convert ip addresses to domain names in the terminal. Like etherape does.
Last edited by dodo3773 (2011-06-03 23:20:29)

karol wrote:Like 'whois'?
I tried whois and cannot seem to get the data I am looking for. It tells me a lot of good information. Just no actual domain name.

Similar Messages

  • Newbie question - Changing domain name from .local

    Hi, I'm trying to change my domain name from dns.local to dns.domain.edu. Can someone help me with this. The server was already set up and some places it has:
    dns.local and other places is has dns.domain.edu. when i type in dns.domain.edu into a browser it works. when i type in dns.local i get an error.

    Leave the .local alone. That is your Bonjour access name.
    Bonjour is also known as ZeroConf in the Unix world, and is how your Mac discovers other Macs, Mac file servers, and Mac print servers on your local network (also know as a subnet).
    You can add search domains via
    System Preferences -> Network -> Advanced -> DNS -> Search Domains -> [+]
    A search domain is where you can enter 'fred' and the name lookup will look for fred.local, fred.domain.edu assuming both .local and .domain.edu are provied as search domains.
    As to other people finding your via dns.domain.edu, that is up to the domain.edu name servers, and their administrators. Your Mac does not establish that, unless they have a dynamic DNS updating service.
    To have a DNS name in a domain, your DNS name must be registered with the domain server that owns that domain name. That is not automatic.
    In this case if you have not already been assigned dns.domain.edu by the domain name and fixed IP address by the owners of domain.edu, then you cannot just take the name dns.domain.edu. If you have been assigned the name dns.domain.edu and a fixed IP address, then you would set that up in System Preferences -> Network -> Advanced -> TCP/IP
    At best, if domain.edu allows the DHCP servers on campus to both assign an IP address and also create a dynamic DNS name in domain.edu, then you might get a name like
    college-name-192-168-27-232-subnet-12-dorm-name.domain.edu
    A very creative and memorable name
    If you cannot get the domain.edu administrators to give you dns.domain.edu as an addressable name, you can go ahead and get a dynamic DNS name from a service such as No-IP.com or DynDNS.org (free ones are available), and just run one of their dynamic DNS updating utilities on your Mac so that when your DHCP IP address changes, your dynamic DNS name is updated with the new IP address as well.
    A dynamic DNS name service such as the 2 I just mentioned, will give you a fixed name such as fred.dynamicDNSnameService.net that will not change, and when you run an updating utility on your Mac, the dynamic DNS service will keep the fred.dynamicDNSnameService.net updated with the every changing DHCP assigned IP address.

  • Domain name from the configuerd mail server

    HI,
    How to get the domain name from the mail server that i configure using java Mail..
    Properties props = new Properties();
    props.put("mail.smtp.host", mailServer);
    mailServer has my mailServer name like email.something.com
    in my application, from address is the one user sets.. if they forgot to set it and tries to send a mail then i need to send that mail with a default address like [email protected] where something.com must be the domain name.. so i juz want to know how to get the domain name.?
    hope it is clear. can any of u help me out?

    There's no well-defined way to do this. The
    simplest approach is to offer this as a configuration
    option.
    A more complicated approach would be to use
    the host name of the mail server and look up
    that name in DNS and try to find the DNS record
    that tells which mail server to use for that host
    name, perhaps stripping off elements of the name
    until you find something. (And no, I can't explain
    to you exactly how to do that.)

  • How can I get the host name from Email address?

    hi
    When I using socket to develope an email-sending servlet,I don't know how to get the host name from emial address.can you help me,thanks

    Stripping off the user name will give you the domain of from field in the message. This is not the same as the host. Take a look at:
    http://www.stopspam.org/email/headers/headers.html
    Theres a pretty good discussion about email headers and how to use the information. You probably want to check the information here against the RFC.
    Sean

  • How to get the domain name from the System

    I need to get the domain name from the system in JDK 1.1.8
    Any Ideas?

    InetAddress.getLocalHost().getHostName() will get you the name of the computer the code is executed on. If that isn't the "domain name" then perhaps you could give more detail about what "domain" you are trying to find the name of.

  • Domain name and IP address - 11.5.8

    Hi All,
    We are running Oracle Application 11.5.8 on HP-UX (two node). Now we want to change Domain name and ip address of the server.
    How can I do this. From where can I get the documentation for this task.
    Thanks.

    Hi, this job is very easy if you use autoconfig tool, for maore information you can read the note 165195.1 in Metalink.
    Good Luck...

  • How do I get IE to drop the domain name from authentication responses

    All,
    I have a number of internal www servers that run various non MS operating systems which are not tied to the windows domain in any way. They are secure www sites and require authentication.
    When I connect to one via IE on a domain joined workstation or server (ie 8 & 9) I am unable to authenticate because I can not remove the domain name from the authentication credentials that IE is passing back to the www server.  I get an authentication
    prompt for user name & password with the domain pre populated.
    How the heck to I get IE to NOT pass the domain name as part of the authentication process. I've tried putting .\ in front of the user name but to no avail.
    Thanks,
    Steve D.

    As you can see below, when you first attempt the auth it defaults to you domain user account... in this case win\username.
    When you select use another account, you get the following with no means to remove the domain name which causes auth failure as this www server isn't a domain member and doesn't use the domain for auth.
    How do I get rid of Domain: .... ???
    Thanks,
    Steve D.

  • Is there a way to delete names from the address book?

    Is there a way to delete names from the address book?

    I found it thank you. Need to highlight name then press delete button

  • All calls received come in as "unknown" with no phone number or contact name from my address book?

    All calls received come in as "unknown" with no phone number or contact name from my address book? This started to happen after returning from being overseas.

    It was a caller id feature accidentally turned off when I I changed my account when returning to the US

  • I have an iPhone 4s. Suddnely for past two days, the contact names from my address book are disappeared.  Has anyone came across this issue earlier and know the solution please?

    I have an iPhone 4s. Suddnely for past two days, The contact names from my address book are disappeared.  Has anyone came across this issue earlier and know the solution please?

    You had to have some kudos for the effort put in to your thread as week as the point you make.

  • Changing Domain Name and IP address of a server

    We have an Oracle 10G server (running on Windows) that needs to have its domain name and IP address changed. I did a search on this forum and found similar threads to this one (e.g. Rename server name & change domain Just wondering if anyone has any other comments to make that haven't been mentioned previously.
    Looks like on the server side, we just have to change the listener and tnsnames.ora file. Anything else we have to worry about? (Unfortunately this is something I've never done before.)

    TomF:
    Yeah I know the listner SHOULD be the only thing that needs to know the server's network information. However, databases are big, complex pieces of software, and I'm just a bit paranoid that there's some system variable that needs to also get changed that I might be overlooking.
    You suggested I might need to change the global_name... Upon further research, I've found references to other variables that may need to change... local_listener, remote_listner, and dispatcher. (Note: I don't have the Oracle documentation handy so I can't verify how valid those are.)

  • How to change domain name from "LocalHost" to ipaddress in Jdeveloper?

    Hi
    When i run any application from JDeveloper, the page opening with the URL keeping "*LocalHost*" as a domain name,
    eg: http://*localhost*:7101/Testing/faces/index.jsf
    How can i change the domain name from "localHost" to my system's ipaddress. So that whenever i execute the page, the page should open with the ipaddress and not with "localhost", like http://*10.34.65.175*:7101/Testing/faces/index.jsf
    Regards
    Raj

    Thank you Timo.
    I changed domain name from "localhost" to ipaddress as you said, after that the server stopped working. Unable to run any application.
    Then I changed it back to "localhost" and its working fine.
    I am doing it for 2 reasons,
    1) With localhost as domain name, I am unable to open ADF mobile browser application in Android emulator.
    2) Unable to do remote debugging. Hope this could be the reason.
    Regards
    Raj

  • How to retrieve the fully qualified domain name from the IP Address?

    Hi,
    How can i retrieve the commplete host name along with the domain name (something like x.y.com) of a server?
    I tried using the InetAddress.getHostName(), getCanonicalHostName(), etc but it retrieves me only the host name (only x in x.y.com)
    Is there a way to solve ?
    Thanx and Regards
    Biju Nair

    getInetAddress() of Socket Class will return the remote IP address in a InetAddress object.
    Use the object with the getCanonicalHostName() of InetAddress class.
    I may be wrong though. Cheers!

  • [Solved] Set domain name on systemd system

    Since the demise of rc.conf I have been unable to find out how to set the system's domain name. I tried "hostnamectl set-hostname hostname.domain" but it just set the hostname to "hostnamedomain". I also tried setting it manually through the hostname utility but it broke GUI applications (could not connect to display error). No luck with google or tge wiki either. Any ideas?
    Last edited by jiggpig (2013-02-04 16:16:55)

    First of all, see "man archlinux" for how to set the hostname.
    Second, is Bash treating the period as a special character? Try "hostnamectl set-hostname hostname\.domain".
    Thirdly, my hostname is just set to "archsystem". Are you thinking of what goes in "/etc/hosts"?
    # /etc/hosts: static lookup table for host names
    #<ip-address> <hostname.domain.org> <hostname>
    127.0.0.1 localhost.localdomain localhost archsystem
    ::1 localhost.localdomain localhost
    # End of file
    Last edited by drcouzelis (2013-02-04 04:18:47)

  • How do I transfert my domain name from the first registrar to business catalyst ?

    Hey,
    I don't find where (on the Admin Console) I have to put the EEP Key of my domain name I want to use for the website on BC. This EPP Key  come from the registrar of my  site that I want to transfer to BC. I want use this name domain.
    Can you help me ?
    Thank you.
    Marion

    Hi Marion,
    After you have gone live with your BC site you'll need to access your domain's registrar and input our NS records. 
    So you'll need go where you purchased the domain to set this up.  Please view the article below for step by step instructions.
    - http://helpx.adobe.com/business-catalyst/using/change-site-domain.html
    Kind regards,
    -Sidney

Maybe you are looking for

  • My ant video player after i updated to firefox four is now in the upper part of the screen where it opens up and i cant find out how to fix it

    my ant video player after i updated to firefox four is now in the upper part of the screen where it opens up and i cant find out how to fix it

  • Problem with Variable 0I_CUFQU

    Hi all, We are using Fiscal year/ Period with variable SAP Exit 0I_CUFQU  in FIGL_V11 reports. Earlier It was working fine but after Patch Upgrade when I run the same report I am getting the Follwing error. Variable 0I_CUFQU could not be replaced. If

  • How to reformat my N6680?

    please help me? How to reformat my Nokia 6680? the problem is..... "Full memmory please delete some data" my phone memmory didn't receive any messages.... and i buy a MMC 1gb. to free up my phone memmory

  • How do you run Server Assistant on Lion?

    Hi, all, I am trying to migrate from a 10.5.8 server to a new Mini running Lion Server and I'm unable to complete the migration as described in the documentation. There have been other threads covering this issue but I can't find a clear answer. To e

  • InitialContext and PROVIDER_URL

    I'm creating an InitialContext in a server-side object, relying on the WebLogic Server to use the local naming service. This works as expected. However, once created, I would like to determine the URL and initial context factory for the local naming