Results 1 to 3 of 3

Thread: Trouble with defining nameservers with static ip and a proxy.

  1. #1
    Join Date
    Jun 2005
    Beans
    34

    Trouble with defining nameservers with static ip and a proxy.

    I have an ubuntu server using Ubuntu 12.04.2 LTS setup at my job, for one day I was able to ping TLD's and use apt-get to update the packages/install samba/take over the world. During setup I entered the proxy information for my work, and I was able to install openssh and samba soon after it booted up. However, after I tried setting a static ip address my box can no longer resolve any domain name regardless of it being local or out of network. Here are some pieces of info:

    Ping google.com
    Code:
    dude@FileServer02:~$ ping google.com
    ping: unknown host google.com
    Ping google name server
    Code:
    dude@FileServer02:~$ ping 8.8.8.8
    PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
    64 bytes from 8.8.8.8: icmp_req=1 ttl=46 time=10.7 ms
    64 bytes from 8.8.8.8: icmp_req=2 ttl=46 time=10.0 ms
    64 bytes from 8.8.8.8: icmp_req=3 ttl=46 time=16.5 ms
    64 bytes from 8.8.8.8: icmp_req=4 ttl=46 time=10.8 ms
    /etc/network/interfaces
    Code:
    # The loopback network interface
    auto lo
    iface lo inet loopback
    
    # The primary network interface
    auto eth0
    iface eth0 inet static
    address x.x.x.x
    netmask x.x.x.x
    network x.x.x.x
    broadcast x.x.x.x
    gateway x.x.x.x
    dns-nameserver x.x.x.x
    search example.org
    I don't think the proxy comes into play but where should I be defining it?

    Can anyone help?
    Last edited by sesstreets; May 11th, 2013 at 10:52 PM.
    I never think of the future - it comes soon enough. -Albert Einstein

  2. #2
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    11,405
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Trouble with defining nameservers with static ip and a proxy.

    The "dns-nameservers" parameter is misspelled; it needs a final "s".
    If you ask for help, please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  3. #3
    Join Date
    Jun 2005
    Beans
    34

    Re: Trouble with defining nameservers with static ip and a proxy.

    ...trying now

    EDIT: Dear lord... Thank you
    Last edited by sesstreets; May 10th, 2013 at 02:12 PM.
    I never think of the future - it comes soon enough. -Albert Einstein

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
  •