Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Ubuntu 12.04 Server - No network connection even though web server fully works.

  1. #11
    Join Date
    Mar 2006
    Beans
    18

    Re: Ubuntu 12.04 Server - No network connection even though web server fully works.

    Quote Originally Posted by jdthood View Post
    It's useful to know that this fixed name service, but you should now restore /etc/resolv.conf and fix the problem the right way by setting RESOLVCONF=no in /etc/default/bind9. To restore /etc/resolv.conf, run "sudo dpkg-reconfigure resolvconf", then check to make sure that /etc/resolv.conf is a symbolic link to "../run/resolvconf/resolv.conf".
    Okay you see now jdthood I applied the fix you said
    Code:
    sudo dpkg-reconfigure resolvconf
    I then rebooted and the issue came back. Unable to connect to the internet and RESOVCONF is set to NO. in /etc/default/bind9

    I also noticed that after reconfiguring Resolvconf all my bind9 issues went away. I can now restart bind without any error codes due to rndc like before
    Code:
    root@igemonas:~# service bind9 restart
     * Stopping domain name service... bind9                                                                                                                       waiting for pid 1242 to die
                                                                                                                                                            [ OK ]
     * Starting domain name service... bind9                                                                                                                [ OK ] 
    root@igemonas:~# ping google.com
    ping: unknown host google.com
    root@igemonas:~# cat /etc/default/bind9 
    # run resolvconf?
    RESOLVCONF=no
    
    # startup options for the server
    OPTIONS="-u bind"
    
    root@igemonas:~# ping sammojohn.com
    PING sammojohn.com (108.92.196.86) 56(84) bytes of data.
    64 bytes from igemonas.sammojohn.com (108.92.196.86): icmp_req=1 ttl=64 time=0.030 ms
    64 bytes from igemonas.sammojohn.com (108.92.196.86): icmp_req=2 ttl=64 time=0.044 ms
    64 bytes from igemonas.sammojohn.com (108.92.196.86): icmp_req=3 ttl=64 time=0.043 ms
    ^C
    --- sammojohn.com ping statistics ---
    3 packets transmitted, 3 received, 0% packet loss, time 1998ms
    rtt min/avg/max/mdev = 0.030/0.039/0.044/0.006 ms
    Also can you please tell me how to check to see if resolv.conf is a symlink to ../run/resolvconf/resolv.conf like you mentioned? Not sure I understand how to do that.

  2. #12
    Join Date
    Mar 2005
    Beans
    211

    Re: Ubuntu 12.04 Server - No network connection even though web server fully works.

    Quote Originally Posted by L1mit30 View Post
    Also can you please tell me how to check to see if resolv.conf is a symlink to ../run/resolvconf/resolv.conf like you mentioned? Not sure I understand how to do that.

    To see whether or not /etc/resolv.conf is a symbolic link, do the following.
    Code:
    ls -l /etc/resolv.conf
    Please post the output of this command here.

    Also post the contents of /etc/resolv.conf, i.e., the output of
    Code:
    cat /etc/resolv.conf

Page 2 of 2 FirstFirst 12

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
  •