Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-28-2003, 06:04 AM   #1
LQ Newbie
Registered: Apr 2002
Posts: 24

Rep: Reputation: 15
Bind and subdomains

I have a lot of subdomains to create. like It is too much work to create them all, does bind support a kind of "global" that alows you to type anything you want as subdomain like

Old 02-28-2003, 12:31 PM   #2
Registered: May 2001
Location: Louisville, Kentucky, USA
Distribution: RedHat ES
Posts: 120

Rep: Reputation: 15
If you mean you want [anythingatall] to point to the same place, you can use wildcards in the host field of a record, such as:


Note however that this wildcard will take precedence and any other host entries for will not necessarily point to where you want them, for example:

@ IN A
test IN A
* IN CNAME and will resolve to

This setup plus a bit of cgi-scripting is how websites like work. Just out of curiosity, why do you need to create so many subdomains (if in fact, the wildcard thing is what you wanted).
Old 03-01-2003, 09:43 AM   #3
LQ Newbie
Registered: Apr 2002
Posts: 24

Original Poster
Rep: Reputation: 15
Thanks, I'll try your solution.

I want do make a search engine which uses the subdomain as query. like if someone type the search engine will say are you looking for


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
BIND 9 and subdomains carsten.engel Linux - Enterprise 6 07-18-2005 04:21 PM
BIND/DNS: Some subdomains resolve, some don't natetheros Linux - Networking 0 04-22-2005 07:36 PM
Subdomains, Router, BIND? kevinmarsh Linux - Networking 5 06-24-2004 05:11 PM
Subdomains tommytomato Linux - Newbie 5 02-04-2004 10:48 AM
Subdomains papaj Linux - General 7 04-26-2003 05:19 PM > Forums > Linux Forums > Linux - Software

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