topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Sunday April 28, 2024, 1:48 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - slickjer [ switch to compact view ]

Pages: [1]
1
Living Room / a little linux DNS/DHCP help requested
« on: April 05, 2007, 04:32 PM »
Hello! I'm having a problem setting up my FC5 box (I'm in iraq, and my FC6 DVD got ruined. Go figure.) The problem is as follows:
I've created a sweet website with lots of information pertaining to all the people living near us, I have all the hardware set up, and I've got apache/php/mysql running great on my linux box. I have BIND installed, and I assume it's working correctly since it starts up fine. Here's what I'd like to do:
I need to get my *NIX server working as a DCHP/DNS server, and have all requests meant for ANY website to be redirected back to the *NIX box (127.0.0.1). I've been using the DHCP on one of our routers to assign IP's to clients so far, but that's just until I get it working on the *NIX box. For now the *NIX box is on a seperate switch connected to the WAN port of the main router. The router is doing DHCP fine, and it's set to use the *NIX box for DNS. All the clients can access the *NIX box just fine to pull up the site by entering the IP manually. I can figure out the DHCP stuff on my own, but I need help with the DNS.
So the real problem is, how do I configure the DNS server on the *NIX box to redirect traffic meant for any website back to itself? I'll use a 404 file to redirect back to the main page, but I can't figure out how to set up BIND correctly for the life of me. Those "zone files" and the named.conf are a little much for someone who's never played with DNS much, and not on a *NIX box at all.
Any help greatly appreciated!
 -- Jer

Pages: [1]