Microsoft DNS

azev

Golden Member
Jan 27, 2001
1,003
0
76
Is it possible to use wildcard with Win2k DNS ??
Lets say I want to put wildcard in front of my domain *.mydomain.com
so that anything.mydomain will be directed to my ip address ??
Is this possible ??

 

Saltin

Platinum Member
Jul 21, 2001
2,175
0
0
Pretty sure that it is.
It's just a straight A type record, with a value of *

You can make the value just * and signify the suffix as same as parent folder, so if the forward lookup zone you are creating the new record in is Mydomain.com, the record would end up being *.mydomain.com

If you define any other straight mappings, they will be read before the wildcard.

So

Mydomain.com

WWW A 192.168.0.1
* A 192.168.0.2

Your www would map to 1, while all others to 2.
 

azev

Golden Member
Jan 27, 2001
1,003
0
76
So basically all I have to do is create a new host file and put * where the name goes???