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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows 2000 DNS server

Status
Not open for further replies.

tmod

MIS
Jun 7, 2001
17
GB
Does anyone know how you set a default IP address for a sub domain on a Windows 2k DNS server. Basically I want anything.sub.domain.com to resolve to a single IP.

Thanks fot any help.
 
Kinda easy...

1. Create a new zone (sub.domain.com) under forward lookup zones that is a standard primary (it must not be in the active directory)

2. Create a new A record (host) under that new zone with the ip you want, but leave the name blank (to use parent domain)

3. tell the server to "Update Server Data File" (should be under the action menu)

4. Navigate your way to the folder C:\WINNT\system32\dns (or equilivent for your system)

5. open the dns file in notepad (sub.domain.com.dns)

6. You should see an entry in there kinda like this:
@ A ###.###.###.### (the ip you chose)
and change the @ to a *

Note: if you want to resolve sub.domain.com and anything.sub.domain.com to ip's, copy that line, paste it on a new line and change that one

7. Save and close the file, go back to the DNS manager, and tell the server to "Reload" (should be under the action menu)


That will do it. You can now manage all of it through the DNS manager, including the * name.

We had to do all this because * is a "invalid character"

B

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top