LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Ubuntu server network issues (https://www.linuxquestions.org/questions/linux-server-73/ubuntu-server-network-issues-4175440620/)

Red Bull 12-08-2012 06:54 PM

Ubuntu server network issues
 
I've been trying to configure my Ubuntu 12.04 network settings using the howtoforge guide and I've ran into a problem with the hostname. All of my network setting seemed fine and I could ping google and everything until I tried to configure the hostname. Right when I did that I could not ping websites, but I can ping LAN devices. I'm guessing it's a DNS error, but I'm new to Ubuntu server so I'm not sure. Any help would be much appricaited, I can provide any information as needed. I'm trying to use this server as a file server and I would like to run a minecraft server as well. Thank you.

acid_kewpie 12-10-2012 04:07 AM

well if you think it's a DNS issue then that's very tirivial to diagnose. If you do a "ping google.com" does it convert it to an IP address on screen or not? If it does, then it's not a DNS problem.

Red Bull 12-10-2012 05:17 AM

Here's the error
Code:

frank@server1:~$ ping www.google.com
ping: unknown host www.google.com
frank@server1:~$ hostname
server1.example.com
frank@server1:~$ hostname -f
server1.example.com
frank@server1:~$ nano /etc/hosts
  GNU nano 2.2.6              File: /etc/hosts

127.0.0.1      localhost.localdomain    localhost
192.168.1.100  server1.example.com      server1

# 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#

I'm honestly not sure what's going on, I was just following the guide.

acid_kewpie 12-10-2012 11:31 AM

ok so name servers will be defined in /etc/resolv.conf check there for DNS server entries


All times are GMT -5. The time now is 09:10 AM.