Another wildcard question for virtual hosting from a bind newbie

This is a discussion on Another wildcard question for virtual hosting from a bind newbie within the Bind Users forums, part of the DNS and Related Forums category; I am running Redhat 8.0 and trying to use bind to solve my servers dns issues? I have been ...


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-07-2003
Deadpan110
 
Posts: n/a
Default Another wildcard question for virtual hosting from a bind newbie

I am running Redhat 8.0 and trying to use bind to solve my servers dns
issues?
I have been searching the internet but I cant seem to get any of the
solutions to work.

Deadpan110 tries to explain the problem:

My webserver is called mydomain.com and is inside the network on the
orange
IP address of 192.168.1.2
If i log in to the shell on that machine and type:
host mydomain.com
i get
ind-web.com has address 192.168.XX.XX
but the server can have unlimited virtual hosts (apache 2.x.x)...
so if i type
host someusername.mydomain.com
i get
someusername.mydomain.com is an alias for mydomain.com.
mydomain.com has address XX.XX.XX.XX (external IP of a smoothwall box)

So the question is this:

how do i get the server to know that someusername.mydomain.com is at
192.168.XX.XX (or localhost) and not XX.XX.XX.XX (external address of
a smoothwall box)?

I have found information about using wildcards with bind but I cant
seem to
get anything working (Im not quite sure what to add to named.conf
either but
I do know how to stop and start the service).

I could always add EVERY virtual host to /etc/hosts and restart the
service
that uses the hosts file and continue to do this for every virtual
host added, but that defeats the object.

I know this subject has been covered a lot in the past, but if anyone
can help, i will be greatful!!!

Deadpan110

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:30 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0