Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-23-2002, 12:46 AM   #1
LQ Newbie
Registered: Sep 2002
Location: South Carolina, USA
Distribution: mandrake
Posts: 2

Rep: Reputation: 0
Question Help with DNS config

I'm a Linux Newbie who needs some assistance configuring BIND9. Please help!

I have a home network of 3 Windows 2000 client computers hooked up to a Linux server (which in turn is hooked up to my cable modem). The Linux box runs Mandrake 8.1 and routes traffic with iptables. It also hosts my website.

I registered a while ago to serve as a domain for my website. I soon grew tired of pop-up ads and shoddy redirects, and have spent some time wrangling with registrars to try and host the DNS for it myself (allowing myself more freedom with it). I listed my IP as a nameserver ( and started trying to configure BIND9.

My demands were fairly simple; I wanted to be able to host a website on the server that subdomains would point to by default (so users would be directed to the server whether they typed www. or not) and to be able to host certain subdomains on other computers (I have a webcam on one of the clients that I'd like to stream with).

Unfortunately, I've had a very difficult time finding out how to accomplish this. All the websites I've been to either offer very specialized examples of configurations (that I can't seem to tinker with correctly) or very generalized examples (that I can't seem to tinker with correctly).

Here's my network information: - Internet IP - server IP - gimli (win2k client) - kevin (win2k client w/ webcam) - compaq (win2k client) has listed as its primary nameserver, and is listed as

The config files (zones,SOA,etc) don't seem very difficult, but I can't find a comprehensive explanation of how they work. If someone could either work out the configs I need or point me to an example that very closely resembles my own situation, I would be their best friend.
Old 09-23-2002, 01:38 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975

the DNS howto really does contain everything you'll need, i set up my home network using just the howto and nothing else, and it was very detailed and useful.
Old 09-23-2002, 10:29 PM   #3
LQ Newbie
Registered: Sep 2002
Location: South Carolina, USA
Distribution: mandrake
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks, Chris. I read through the HOWTO more closely this time and got it working. Sort of. I can serve pages on the server itself (the computer connected to the cable modem), but I still can't figure out how to serve pages on an "interior" computer. I have records such as the following in my zone file:

localhost A
ns1 A
weasel A

How would I write a record to send traffic pointed at, say, to, a computer wholly within my network? I want to be able to host pages on both computers at the same time.
Old 09-24-2002, 03:45 AM   #4
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
You cant send out addresses which are internal to your LAN.
The machine receiving them will look into it's lan with those numbers...

Apache can redirect based on the virtual name,
or you can use a proxy server on the first machine and ACL rules to redirect to the other machines,



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Solaris 9 DNS config. (help!) ryan483 Solaris / OpenSolaris 1 08-18-2004 12:59 AM
how to config split DNS..?? cyruz007 Linux - Networking 1 01-22-2004 07:24 AM
bind config (DNS) viniosity Linux - Software 3 06-30-2003 11:24 AM
dns config sheryco Linux - Networking 8 03-26-2003 08:11 PM
DNS Config ramkumar_rkin Linux - Newbie 1 03-16-2002 12:33 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration