infinite subdomain names to one ip?

Mark_Andrews at isc.org Mark_Andrews at isc.org
Fri Aug 31 08:27:40 UTC 2001


> I've looked for this one extensively; apologies if it's been covered
> in some obvious place...or if it's just obvious.
> 
> I'd like to know how to set up DNS such that any name of the form
> x.y.z.mydomain.net (or x.mydomain.net or x.y.mydomain.net, etc.) gets
> resolved to the single IP address corresponding to mydomain.net. Thus
> a remote user could type "http://wxjdg.mydomain.net" and it would get
> to my server even though "wxjdg" is just garbage. Note that multiple
> records will not suffice, since I want ANY subdomain to map to the IP
> address of the parent (I know it can be done, but I don't know how).

	*.mydomain.net A <address>
	
> 
> If it's not too much to ask, is it also possible to do this using
> static name resolution (a hosts file)?

	No.
> 
> Thanks in advance,
> Curly
> htc1 at mindspring.com
> 
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list