Welcome to the most active Linux Forum on the web.
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 12-29-2004, 04:28 PM   #1
LQ Newbie
Registered: Dec 2004
Posts: 2

Rep: Reputation: 0
DNS server on redhat 9 with a router

Hi Everyone,
I am a DNS newbie. I have read some things and i dont understand basically how it all works on linux but i need some help.

What i am trying to acheive is being able to create my own subdomains and have internet users access them.

for example should reach a server that hosts the fun application.

I have registered and the registrar also provides hosting serverices. So if someone goes to they will reach my host's IP.

this poses a problem because the FUN server is NOT with the host but its in my local internal network.

my current network has a DSL router and a linux box hosting the fun application.

how exactly do i map to this computer rather than my web hosts computer?

from the tutorials i have read it seems that BIND handles domains and subdomains. So do i have to tell my domain host/registrar that i am going to handle the domains myself and that he should not associate to his ip?? Do i have to somehow use the name severs the host gave me and put it in resolv.conf so peopel can access

Thanks for the clarification.

edit: the host only provides HTTP/ftp requests rerouting. so If i get an http request i can route it to my local ip address and it works. except the FUN application does not use the http or ftp protocol. my routers and firewalls are all set up correctly so i dont need any help on that. Its just that i am unsure how to create subdomains when the main domain is managed by another computer.

Last edited by sairam71; 12-29-2004 at 04:31 PM.
Old 12-29-2004, 05:36 PM   #2
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
You'll need access to the domain's DNS server configuration, which is usually provided by either the host or registar. Who controls the nameservers for your domain? will list them if you're not sure. Anyway, unless you have access to the nameservers or can get whomever controls them to add an NS record for "" that points to your IP, you're probably not going to get it to work the way you want.
Old 12-29-2004, 06:27 PM   #3
LQ Newbie
Registered: Nov 2004
Location: Conyers
Distribution: Fedora Core 3
Posts: 17

Rep: Reputation: 0

Old 12-29-2004, 06:30 PM   #4
Senior Member
Registered: Oct 2004
Posts: 1,192

Rep: Reputation: 101Reputation: 101
You registrar should provide services for adding records to the zone file for your domain. You should be able to add an A record that points to your IP, if you want to run your own DNS servers then you need to make name servers that point to your IP and make your domain use them nameservers instead of the registrars, all this is done through the registrars web interface.

You then need to set up the DNS software on your own computer, if you want to use BIND then you *really* need to read the documentation for it, it can be complex and a bit daunting for those who are new to it. I like nsd from ninetlabs, its a simple authoritive only dns server and is very easy to configure and has never let me down *touch wood*


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
DNS Server not working on Linux Router Trano Linux - Networking 5 04-21-2005 02:41 PM
NFS Broke my Router and DNS Server? Gsee *BSD 2 04-08-2005 02:30 AM
DNS server setup behind router goodman Linux - Networking 2 04-30-2004 04:42 AM
DNS server configuration with router??? deepika Linux - Networking 10 09-24-2003 03:40 PM
How do I setup DNS on my Redhat 8.0 Server? acegamer Linux - Newbie 3 12-29-2002 01:20 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:00 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