Default IP address for undefined hosts in specific domain and the subordinates

hi experts,

is it possible to configure the built-in DNS server of W2K3 to automatically retrun a default IP address for all the unassigned or undefined hosts under a specific domain and its subordinate domains?

for example, the specific domain name is abc.com, which is to be managed by a W2K3's DNS server, host "www.abc.com" has its A record, points to 1.2.3.4. i want the DNS server to resolve all other FQDNs under abc.com, like the follows, to the specific IP address such as 127.0.0.1:

abc.com
test.abc.com
server.support.abc.com
download.beta.products.abc.com

if it is possible, please show me how to do it. :)

i appreciate any kind of comment.

regards,
bbao
LVL 37
bbaoIT ConsultantAsked:
Who is Participating?
 
WeHeCommented:
try this:
dnscmd dnsservername /recordadd abc.com * A 127.0.0.1
0
 
WeHeCommented:
replace "dnsservername" with the name of your DNS Server :)
0
 
bbaoIT ConsultantAuthor Commented:
it works! thanks a lot :-D
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.