Ref: Linux Web admin
If you want to add wildcard DNS the you need to edit DNS record.There is no security It is same as you create an A record, only change is instead of record name, you need to use *
1) Enter the following line in the particular DNS zone file of the domain:* 14400 IN A xx.xx.xx.xx
2) Enter the following line in the VirtualHost entry in the httpd.conf file for the domain:*.domain.tld IN A 1.2.3.4 ( whatever IP address of the domain.tld )
Restart the httpd and named services, and also reload rndcServerAlias *.domain.tld
Bookmarks