Read on full site | Join TechSpot! (it's free) | Bookmark / Share this



Setting up a DNS server for going out to Internet in Fedora core 3

qtran101
01-14-2005, 03:28 PM
I am a newbie with Linux so any help is appreciated it. I have a machine set up with Linux Fedora core 3 and the hostname is "monterey", it has a static IP

1) I was instructed to set it up as a DNS machine so other computers can use its IP as their DNS server. I researched that there is a file called /etc/resolv.conf In our file currently are 2 entries, one is sbcglobal.net and the other is the IP of the router which our network connects to to get its DHCP and for its DNS. I guess this would make it our gateway. What I wanted to do was to make monterey the DNS so other computers on our network connect to monterey first before going out to the Internet. By this I mean that all the Windows PC would have the IP address of monterey set in the TCP/IP tab that specify what DNS server to use.

Following the examples from the web
[root@bigboy tmp]# service named start
[root@bigboy tmp]# service named stop
[root@bigboy tmp]# service named restart

I installed the BIND and have it run after every reboot. I also modify resolv.conf file to remove the IP of the router and set it to 127.0.0.1 as the instructed. Do I need to change the domain name of sbcglobal.net also?

After I did this, I tried to test with the PC by setting PC DNS IP address to the IP of monterey. But I then cant seem to connect to any website to the outside. Also whenever I reboot the monterey machine, its ip keeps going back from localhost to its machine Ip for some reason.

So I guess I am asking is how to set up the linux machine so other computers can use it as DNS machine to connect to the outside?

thanks and sorry for the long info

Nodsu
01-14-2005, 06:39 PM
In short. You have to tell the named to ask internet IP addresses from some other DNS server, the one your ISP has for example.

For more information:
http://www.tldp.org/HOWTO/DNS-HOWTO.html

A local DNS server would be useful if your network has more than 10 machines. If it is less than that it would be easier to just set up "hosts" files on all computers.

Ad
01-14-2005, 06:39 PM
  

qtran101
01-19-2005, 08:13 PM
thanks for the reply.

Post a reply, see related topics & more

Tip: Download Advanced SystemCare 3 Free - Clean, Repair, Protect & Optimize your PC.



 Top Technology News

TechSpot Blog: Disable Windows automatic check for solutions after a program crashes

Weekend Open Forum: Google Chrome OS and the future of cloud computing

Tech Tip of the Week: Unearth Region-Specific Windows 7 Themes

Weekend tech reading: How to run Chrome OS as a virtual machine

Sony: PlayStation 3 to be 3D-capable via firmware update

iSuppli: DDR3 to account for over half of DRAM shipments by Q2 2010

Facebook named third most popular video website behind YouTube and Hulu

Patriot introduces new PS-100 SSD series

More Tech News

  
 Software Downloads

Norton Virus Definitions 2003-07 November 20, 2009

AVG Anti-Virus Updates November 20, 2009

Norton Virus Definitions 2008-09 November 20, 2009

avast! Virus Definitions November 20, 2009

McAfee SuperDAT Update 5808

Kaspersky Anti-Virus Update November 20, 2009

Google SketchUp 7.1.6087

More Downloads



Copyright © 1998-2009 TechSpot.com. TechSpot is a registered trademark. All Rights Reserved.