DNS. Let’s point all unmatched request to specified resource.

If you need to point all not existing records to a specific one, you have to create a wildcard record.
For example we have a empty test zone db.local, let’s try to resolve not existing record aaa.db.local:

C:\nslookup
Default Server: srv
Address: 172.17.14.204
> aaa.db.local
Server: srv
Address: 172.17.14.204
*** srv can’t find aaa.db.local: Non-existent domain

Now lets create an A record inside db.local with following name “*” and 127.0.0.1 as IP Address, here is result:

C:\nslookup
Default Server: srv
Address: 172.17.14.204
> aaa.db.local
Server: srv
Address: 172.17.14.204
Name: aaa.db.local
Address: 127.0.0.1
> abc.db.local
Server: srv
Address: 172.17.14.204

Name: abc.db.local
Address: 127.0.0.1

As you can see our DNS server returns our *.db.local record. This feature is not a new one and supported by Windows DNS as well as by Bind DNS.

Leave a Reply

Your email address will not be published. Required fields are marked *