[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: General DNS question?



Hi,

On Tue, Oct 29, 2002 at 09:16:49AM -0500, Jayson Johnson wrote:

> I am migrating to Debian for my DNS servers, and am wondering if there is a
> way to setup something so that if anyone goes to xxxx.mycomany.com they get
> redirected to a host of my choice.  We are trying to get rid of alot of old
> xxxx.mycomany.com records, but I'm afraid some of them are still in use.  I
> would like anything that is not a valid entry to get send to the same place.
> Any idea's?

Use a wildcard DNS record in the zone for mycompany.com., like this:

*	IN	A	host.of.your.choice.

If this is about webserving, then you also need to set up a properly
configured virtual host in apache if you want to give each old host its
own customized redirect page.

Cheers,


Emile.

-- 
E-Advies / Emile van Bergen   |   emile@e-advies.info
tel. +31 (0)70 3906153        |   http://www.e-advies.info

Attachment: pgpplr0wzWNye.pgp
Description: PGP signature


Reply to: