Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DNS and wildcards 1

Status
Not open for further replies.

phuckster

MIS
Jun 19, 2002
4
US
How to you configure DNS on a Windows 2000 server so that any queries sent to say *.abc.com zone get forwarded to a specific IP address. I have developers running a Apache web server with multiple virtual directories and they want any DNS queries which reference the zone abc.com that aren't already entered as an A record to be forwarded to the specific web server running Apache. I know this is something similar to what you do with MX records but I am unable to figure it out for regular host record. Thanks in advance.
 
Go into the abc.com zone and add a new ALIAS (CNAME). Set the name to * and point the IP to your Apache server.
 
Tried both of these and neither of them work. Still unable to resolve hosts which are not already part of the DNS zone, i.e. tried resolving fatcat.abc.com and does not resolve to the IP address of my Apache server.
 
You know, looks like you're right. I never actually tried it in W2K, but it works that way in every other OS I've encountered...heck, it's in the RFC's even...I'll check this out a bit more...
 
OK, I'm correcting myself. If you go into an NSLOOKUP session and enter any non-existent name, it resolves to the host that you pointed * to. However, you can't ping a non-existent name, that returns an unknown host. Now, the question is, why doesn't this work for you....?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top