DNS sub of subdomain wildcard

Hey,

creating *.ubt.net suffices. Such a wildcard will cover all sub-domains. For example, I’ve created a forward lookup zone called wildcard.test and a single host record called * resolving to 47.11.8.15 inside it. This works just fine for any level of nesting:

[0 root@master ~] host testme1.wildcard.test localhost
Using domain server:
Name: localhost
Address: ::1#53
Aliases:

testme1.wildcard.test has address 47.11.8.15
[0 root@master ~] host testme1.sub.wildcard.test localhost
Using domain server:
Name: localhost
Address: ::1#53
Aliases:

testme1.sub.wildcard.test has address 47.11.8.15
[0 root@master ~] host testme1.subsub.sub.wildcard.test localhost
Using domain server:
Name: localhost
Address: ::1#53
Aliases:

testme1.subsub.sub.wildcard.test has address 47.11.8.15

And please, please remove *.net as that will most certainly conflict with existing domains on the internet.

1 Like