Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 30th May 2008, 22:35
bellbuk bellbuk is offline
Junior Member
 
Join Date: Apr 2008
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default ubuntu configure dns-nameserver pointer on eth0

Hi,

First time posting, so I hope I get the problem across ok.

Using VMware workstation on WinXp. I've installed an Ubuntu 7.10 server to act as a firewall hooked up to the vmware bridge. If I ping, for example, news.bbc.co.uk, I get a positive response, so I know this server is working OK. I can also run apt-get update and it responded ok.

I then created a 2nd Ubuntu 7.10 server sitting inside the firewall (it's to represent a DMZ web server) It can ping across the firewall server no problems. If I ping the ip address for news.bb.co.uk, it responds OK. If I ping news.bbc.co.uk, it comes back with unknown host. I suspect that this means that the server inside the firewall cannot access a DNS server to convert the URL to an ip address. In the file /etc/network/interfaces, I've added the line dns-nameserver 212.20.226.130 to the eth0 definition, bounced eth0, but still getting the same result. Also apt-get update gives an error on everyline because it can't locate the security.ubuntu.com site, giving the error message "temporary failure resolving security.ubuntu.com/....". This worked fine on the firewall server.

Can anyone shed some light on what I'm doing wrong here.

Much appreciated.
Bryan
Reply With Quote
Sponsored Links
  #2  
Old 31st May 2008, 14:10
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

What's in /etc/resolv.conf?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
bellbuk (3rd June 2008)
  #3  
Old 3rd June 2008, 14:57
bellbuk bellbuk is offline
Junior Member
 
Join Date: Apr 2008
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Hi Falko,

Thanks for the response. Sorry it's taken a while to get back but this is a setup that I'm doing in my spare time.

The resolv.conf was the issue. On the server, the file was empty. Had a look in the firewall copy and made the server the same, i.e. it should point to the ADSL router's lan address.

This seems to have fixed it as last night I was able to run 'apt-get upgrade' on the server without DNS issues.

Many thanks.

Best regards
Bryan
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid Proxy Caching on Linux obzerver Installation/Configuration 4 13th August 2008 19:51
Google Apps dayjahone General 19 29th March 2008 17:25
DNS Configuration Problems VMartins Installation/Configuration 10 24th July 2007 14:40
Unable send receive emails vassilis3 Installation/Configuration 15 19th May 2007 14:34
No SPF record. beryl Installation/Configuration 6 17th May 2007 19:52


All times are GMT +2. The time now is 21:01.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.