LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-11-2009, 04:24 PM   #1
midiox
Member
 
Registered: Oct 2005
Location: Rezekne, Latvia
Distribution: LFS
Posts: 38

Rep: Reputation: 15
Question Can BIND server add a public subdomain to my domain?


Hi!
I am a bit new to all this DNS stuff, I am more prgrammer than network admin. So the question.

I got my domain from a local NIC (actually this is a subdomain like me.id.lv which they give for free but just one subdomain per physical person). Our local NIC do not offer any utility to manage domains, so if I want to change the host to which my domain is connected, I have to e-mail them. So this is a bit lengthy process but anyway - it is free and my site is available even for people who have just local country traffic (else I could use No-IP org as well).

Recently I thought it would be great that I could add my own subdomains for various projects. I know, locally it is just a matter of hosts file an Apache config (I have tried it and it works fine). But I want my subdomains to be accessible from outside.

So I have googled a bit and found about BIND. There are lots of tutorials how to configure it. But I could not find some info for a newbie - how it actually works and is it suited for my case? Can bind somehow add subdomains to my registered domain (well, subdomain) which is hosted by a local NIC or it is possible only if I ask from my NIC? Uhh, and then asking for that every time I want a new web project under my domain ...

If BIND somehow can push my subdomain to other DNS servers, can I then turn BIND off later when I see that it can be accessed from the outside world? Or I misunderstood and BIND does not send anything to other servers and so BIND must run all the time?

How this basically works, what I can do on my own with my domain and what I cannot? If getting a domain would be as easy as just installing bind, then I guess everyone would have it and avoid registrars... But what about subdomains?

Thanks.

Last edited by midiox; 07-11-2009 at 04:37 PM.
 
Old 07-11-2009, 05:29 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
I don't think you can do what you want with BIND (at least not without your ISP doing some work). In order to create a subdomainit must be defined in the parent domain's zone file (that would be on your NIC's DNS server). Then their DNS server would have to delegate to your DNS server the authority for that subdomain (via an IN NS line in the zone file).

Assuming your NIC did this, you would have to keep BIND running at all times to serve queries.

At least this is how I remember it, but it's been awhilesince I've done DNS administration...
 
1 members found this post helpful.
  


Reply

Tags
bind, dns, subdomain



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bind DNS Server - answer a few records for another domain? humbletech99 Linux - Server 15 06-21-2010 02:15 AM
Mail to subdomain need to be redirected to mail server in another domain Tafta Linux - Networking 2 06-08-2009 09:42 PM
Bind server is unable to resolve specific domain bizzaro Linux - Server 4 05-04-2009 08:47 AM
How to add two domain on DNS server (not subdomain) AK007HK Linux - Server 8 07-05-2008 12:29 AM
subdomain in the dns server bind c0nsur Linux - Software 4 03-29-2005 04:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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