Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22

Thread: DNS problem with 8.1 and static ip address

  1. #11
    Join Date
    Jun 2007
    Location
    Norfolk, England
    Beans
    71
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: DNS problem with 8.1 and static ip address

    Quote Originally Posted by chili555 View Post
    Do you really mean nameserver?
    Sorry friend but I didn't even then notice that you told me first ! Perhaps my kids are right ....

  2. #12
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,452
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: DNS problem with 8.1 and static ip address

    Perhaps I should have been clearer and asked you at the outset to change the file. I wondered, however, if you just made an error posting it in the forum and if it was, indeed, correct in the actual file.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  3. #13
    Join Date
    Jun 2007
    Location
    Norfolk, England
    Beans
    71
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: DNS problem with 8.1 and static ip address

    So near yet so far. great I thought - now I can get on the web etc. Well nearly - I cannot yet get to http://localhost

  4. #14
    Join Date
    Sep 2007
    Location
    Masschusetts
    Beans
    1,510
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: DNS problem with 8.1 and static ip address

    Quote Originally Posted by neilg4rqn View Post
    So near yet so far. great I thought - now I can get on the web etc. Well nearly - I cannot yet get to http://localhost
    can you please post the output of

    Code:
    cat /etc/hosts
    look for the line

    Code:
    127.0.0.1          localhost
    add it at the top of the file if it doesn't exist.
    Last edited by DGortze380; March 29th, 2009 at 07:38 PM.
    Registered Linux User: 482377
    MacBook (1,1) - OS X Leopard
    ASUS P5LD2 - Core 2 Duo 3.0GHz - 2GB Corsair RAM - Nvidia 8800GT - Ubuntu 9.04 / Windows 7 Professional

  5. #15
    Join Date
    Jun 2007
    Location
    Norfolk, England
    Beans
    71
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: DNS problem with 8.1 and static ip address

    Hi Dgortze380, here it is

    neil@neil-ubuntu3:~$ cat /etc/hosts
    127.0.0.1 localhost
    127.0.1.1 neil-ubuntu3

    # The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts

  6. #16
    Join Date
    Mar 2009
    Beans
    3

    Re: DNS problem with 8.1 and static ip address

    Hi.
    Sorry for post it here, but I think it's on-topic.

    My /etc/resolv.conf file changes himself. I asked a friend to let me see his file and it said:
    #Generated by network manager
    Mine says:
    # 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
    Anyone knows what the problem can be? I don't want it to change alone

  7. #17
    Join Date
    Sep 2007
    Location
    Masschusetts
    Beans
    1,510
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: DNS problem with 8.1 and static ip address

    Quote Originally Posted by casdio View Post
    Hi.
    Sorry for post it here, but I think it's on-topic.

    My /etc/resolv.conf file changes himself. I asked a friend to let me see his file and it said:


    Mine says:


    Anyone knows what the problem can be? I don't want it to change alone
    Please start your own thread for this problem
    Registered Linux User: 482377
    MacBook (1,1) - OS X Leopard
    ASUS P5LD2 - Core 2 Duo 3.0GHz - 2GB Corsair RAM - Nvidia 8800GT - Ubuntu 9.04 / Windows 7 Professional

  8. #18
    Join Date
    Sep 2007
    Location
    Masschusetts
    Beans
    1,510
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: DNS problem with 8.1 and static ip address

    Quote Originally Posted by neilg4rqn View Post
    Hi Dgortze380, here it is

    neil@neil-ubuntu3:~$ cat /etc/hosts
    127.0.0.1 localhost
    127.0.1.1 neil-ubuntu3

    # The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts
    weird, what happens if you ping localhost?
    Registered Linux User: 482377
    MacBook (1,1) - OS X Leopard
    ASUS P5LD2 - Core 2 Duo 3.0GHz - 2GB Corsair RAM - Nvidia 8800GT - Ubuntu 9.04 / Windows 7 Professional

  9. #19
    Join Date
    Jun 2007
    Location
    Norfolk, England
    Beans
    71
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: DNS problem with 8.1 and static ip address

    I was told that the network manager would overwrite that file and the advice I had was to remove it, bet to read all of this thread first though.

  10. #20
    Join Date
    Jun 2007
    Location
    Norfolk, England
    Beans
    71
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: DNS problem with 8.1 and static ip address

    Hi, yoou wrote "weird, what happens if you ping localhost?"

    neil@neil-ubuntu3:~$ ping http://localhost
    ping: unknown host http://localhost

    then I tried

    neil@neil-ubuntu3:~$ ping localhost
    PING localhost (127.0.0.1) 56(84) bytes of data.
    64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.043 ms

    and I get a reply. When I type localhost into my browser it adds the http:// bit.

Page 2 of 3 FirstFirst 123 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
  •