Results 1 to 10 of 19

Thread: DNS not working after Upgrade to 12.04

Threaded View

  1. #1
    Join Date
    Apr 2009
    Beans
    14
    Distro
    Ubuntu 10.04 Lucid Lynx

    DNS not working after Upgrade to 12.04

    I just upgraded from 10.04 to 12.04 and now I cannot access my ISP's DNS when using a static IP. Internet incoming and outgoing is still unaffected.

    Here's my /etc/network/interfaces

    Code:
    auto lo
    iface lo inet loopback
    
    # Set static IP address
    auto eth0
    iface eth0 inet static
    address 192.168.1.10
    netmask 255.255.255.0
    network 192.168.1.0
    broadcast 192.168.1.255
    gateway 192.168.1.1
    If I comment out all of the static IP lines, then NetworkManager kicks in and DNS works fine, and /etc/resolv.conf looks like
    Code:
    # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
    #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
    nameserver 127.0.0.1
    search hsd1.il.comcast.net
    Whereas if I don't comment them out, it looks like
    Code:
    # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
    #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
    nameserver 127.0.0.1
    I know 12.04 has changed the way it handles DNS, but so far all of my attempts to get it working with the static IP have failed. I suspect that I somehow need to add hsd1.il.comcast.net into the /etc/network/interfaces file, but I've tried playing with dns-nameserver and dns-search to no avail.
    Last edited by ScottTParker; May 10th, 2012 at 03:48 AM.

Tags for this Thread

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
  •