Re: General DNS question?

2002-10-29 Thread Emile van Bergen
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 .mycomany.com they get
> redirected to a host of my choice.  We are trying to get rid of alot of old
> .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   |   [EMAIL PROTECTED]
tel. +31 (0)70 3906153|   http://www.e-advies.info



pgpVhXgOESrUf.pgp
Description: PGP signature


General DNS question?

2002-10-29 Thread Jayson Johnson
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 .mycomany.com they get
redirected to a host of my choice.  We are trying to get rid of alot of old
.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?

Thanks




Re: General DNS question?

2002-10-29 Thread Emile van Bergen
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 .mycomany.com they get
> redirected to a host of my choice.  We are trying to get rid of alot of old
> .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   |   [EMAIL PROTECTED]
tel. +31 (0)70 3906153|   http://www.e-advies.info




msg07058/pgp0.pgp
Description: PGP signature


General DNS question?

2002-10-29 Thread Jayson Johnson
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 .mycomany.com they get
redirected to a host of my choice.  We are trying to get rid of alot of old
.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?

Thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]