Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: How to find my IP, DNS..?

  1. #1
    Join Date
    Dec 2009
    Beans
    107
    Distro
    Ubuntu Development Release

    How to find my IP, DNS..?

    I'd like to find my DNS Server. To be able to run so other programs...

    I typed in Terminal:

    ubuntu@ubuntu:~$ route -n
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    24.141.16.0 0.0.0.0 255.255.240.0 U 1 0 0 eth0
    169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
    0.0.0.0 24.141.16.1 0.0.0.0 UG 0 0 0 eth0

    ubuntu@ubuntu:~$ route
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    24.141.16.0 * 255.255.240.0 U 1 0 0 eth0
    link-local * 255.255.0.0 U 1000 0 0 eth0
    default d24-141-16-1.ho 0.0.0.0 UG 0 0 0 eth0


    If anyone could help that would be great. Also, I'm a newbie, so I need step by step.

    Thanx.

  2. #2
    Join Date
    Mar 2008
    Location
    The Burning Earth.
    Beans
    3,660

    Re: How to find my IP, DNS..?

    Code:
    sudo ipconfig
    I think.
    God does not play dice with the universe - Albert Einstein
    Sure I do, I just use loaded dice. - warfacegod

    An open forum. Its a free for all. Check us out. https://openlinuxforums.org/

  3. #3
    Join Date
    Dec 2009
    Beans
    107
    Distro
    Ubuntu Development Release

    Re: How to find my IP, DNS..?

    Quote Originally Posted by warfacegod View Post
    Code:
    sudo ipconfig
    I think.
    I got this:

    ubuntu@ubuntu:~$ sudo ipconfig
    sudo: ipconfig: command not found

  4. #4
    Join Date
    Mar 2008
    Location
    The Burning Earth.
    Beans
    3,660

    Re: How to find my IP, DNS..?

    Quote Originally Posted by simpleblue View Post
    I got this:

    ubuntu@ubuntu:~$ sudo ipconfig
    sudo: ipconfig: command not found
    I meant ifconfig, sorry.
    God does not play dice with the universe - Albert Einstein
    Sure I do, I just use loaded dice. - warfacegod

    An open forum. Its a free for all. Check us out. https://openlinuxforums.org/

  5. #5
    Join Date
    Feb 2008
    Location
    Lancashire, UK
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How to find my IP, DNS..?

    The command is ifconfig, not ipconfig which is a Windows command

  6. #6
    Join Date
    Dec 2009
    Beans
    107
    Distro
    Ubuntu Development Release

    Re: How to find my IP, DNS..?

    Quote Originally Posted by warfacegod View Post
    I meant ifconfig, sorry.
    Here is what I get:

    ubuntu@ubuntu:~$ ifconfig
    eth0 Link encap:Ethernet HWaddr 00:0e:a6:81:86:30
    inet addr:24.141.27.93 Bcast:24.141.31.255 Mask:255.255.240.0
    inet6 addr: fe80::20e:a6ff:fe81:8630/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:3954 errors:0 dropped:0 overruns:0 frame:0
    TX packets:2861 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:4476166 (4.4 MB) TX bytes:430579 (430.5 KB)
    Interrupt:22 Base address:0x4000

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:4 errors:0 dropped:0 overruns:0 frame:0
    TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:240 (240.0 B) TX bytes:240 (240.0 B)


    Which one is for the DNS Server?

    So many letters and numbers!

    Thanks

  7. #7
    Join Date
    Feb 2008
    Location
    Lancashire, UK
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How to find my IP, DNS..?

    DNS:

    Code:
    cat /etc/resolv.conf

  8. #8
    Join Date
    Dec 2009
    Beans
    107
    Distro
    Ubuntu Development Release

    Re: How to find my IP, DNS..?

    Quote Originally Posted by John Bean View Post
    DNS:

    Code:
    cat /etc/resolv.conf
    Thank you. So which one is it here:


    ubuntu@ubuntu:~$ cat /etc/resolv.conf
    # Generated by NetworkManager
    domain cgocable.net
    search cgocable.net
    nameserver 24.226.1.93
    nameserver 24.226.10.193
    nameserver 24.226.10.194
    # NOTE: the libc resolver may not support more than 3 nameservers.
    # The nameservers listed below may not be recognized.
    nameserver 24.226.1.94



    Thanks for your patience.

  9. #9
    Join Date
    Feb 2008
    Location
    Lancashire, UK
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How to find my IP, DNS..?

    All of those marked nameserver

    They get tried in order, as needed.

  10. #10
    Join Date
    Dec 2009
    Beans
    107
    Distro
    Ubuntu Development Release

    Re: How to find my IP, DNS..?

    Quote Originally Posted by John Bean View Post
    All of those marked nameserver

    They get tried in order, as needed.
    Okay, so what would I enter, given all this info, lol, if I was asked this:


    IP Address:
    Netmask:
    Gateway:
    DNS Server:

    I'd be really happy if someone could fill in the blanks for me. I'm playing around with distros and clearly Ubuntu seems the easiest the way to go, but like most of us I find the playing around with programs fun. And like most of us, I'll never be satisfied.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •