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.
Thread Tools Display Modes
Old 30th May 2008, 23: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


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 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.
Reply With Quote
Sponsored Links
Old 31st May 2008, 15:10
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

What's in /etc/resolv.conf?
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)
Old 3rd June 2008, 15:57
bellbuk bellbuk is offline
Junior Member
Join Date: Apr 2008
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts

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
Reply With Quote


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 20:51
Google Apps dayjahone General 19 29th March 2008 18:25
DNS Configuration Problems VMartins Installation/Configuration 10 24th July 2007 15:40
Unable send receive emails vassilis3 Installation/Configuration 15 19th May 2007 15:34
No SPF record. beryl Installation/Configuration 6 17th May 2007 20:52

All times are GMT +2. The time now is 22:43.

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