hi ya sebastian > I am trying to trick a webserver with bind. This is the situation: > > - I have a domain server for sacred-key.org
- am ignoring email, ftp, ping, etc.etc.. since oyu didnt mention where you want those to be directed named.sacred file # dont foreget to increment your serial number IN SOA ... ( serial number ; ) ; ... ... # brute-force redirect www.sacred-key.org to this other server www IN A www.cosjoan.box.nl restart dns where is the dns for cosjoan.box.nl ??? where is the dns for the "real machine" hosting the virtual domains ?? - what is its contents/records ?? > - I have a webpage which is located at www.cosjoan.box.nl, which is in > fact a virtual host on the real machine that hosts the virtual domain www.cosjaoan.box.nl # # assuming that the apache config is here # vi /etc/httpd/conf/httpd.conf ... # # NameVirtualHost w.x.y.z ( might need this line w/ ip# ) # <VirtualHost www.cosjoan.box.nl> ServerAdmin [EMAIL PROTECTED] DocumentRoot /home/httpd/html.cosjoan.box.nl ServerName www.cosjoan.box.nl ErrorLog logs/error_log.cosjoan.box.nl TransferLog logs/access_log.cosjoan.box.nl </VirtualHost> # put stuff here for www.sacred-key.org too if you want a # different web pages restart httpd --------- test it with ping, ssh, netscape, mail, to see if goes where you want it to go ping sacred-key.org ping www.sacred-key.org ping cosjoan.box.nl ping www.cosjoan.box.nl have fun alvin > - I would like configure bind so that a query www.sacred-key.org brings up > the www.cosjoan.box.nl page. > > I do now that it is standardly not possible, so I tried to trick a bit. > Once I added the following two lines to my zone file: > www IN NS www-dns > www-dns IN CNAME ns.foo.nl. > > This lets the nameserver ns.foo.nl think that the query www.sacred-key.org > was asked directly to ns.foo.nl and not via via. > > This is what I had in mind: > - in the db.sacred-key zone file, redirect www to www.cosjoan.box.nl, with > the local zone file > > - create a db.cosjoan.box.nl zone file > - redirecty the www query to the ns.box.nl nameserver as if it was > directly queried by www.cosjoan.box.nl. > > > I have tried to setup something like this, but have not succeeded yet. > Anyone willing to give this idea a thought? > > Thanks in advance, > Sebastiaan > > > > > > -- > NT is the OS of the future. The main engine is the 16-bit Subsystem > (also called MS-DOS Subsystem). Above that, there is the windoze 95/98 > 16-bit Subsystem. Anyone can see that 16+16=32, so windoze NT is a > *real* 32-bit system. > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] >