Control Web Panel
WebPanel => DNS => Topic started by: johnnn on December 25, 2014, 02:39:12 PM
-
Hi, how can I enable Wildcard DNS feature in centos webpanel ?
Tnx
-
BIND is default DNS server on centos so you can check instructions for bind.
-
thank your for your reply, but as I'm newbie I didn't understand what you said :'(
would you write an instruction and publish it on this forum if you have time?
maybe in future some one search "wilcard" in this forum and can find what he need, beacuse I googled a lot today but couldn't dind any toturial about this in CWP and the whole net !
PS: I googled this phrase after your reply:
wildcard dns in BIND server
Is it what I should search for it?
and also I found this website talking about this:
http://mterry.name/log/2008/04/14/wildcard-dns-with-bind/
Is it the awnser of my question?
-
example:
* IN A 192.168.0.64
or
*.domain.com. IN A 192.168.0.64
-
And from where I should start to enable wildcard?
DNS Functions --> List DNS Zones
from here I must add a new line and copy your example? or edit it with your example?
or from the /etc/bind/named.conf file?
please anwser completely, really tnx
-
Concept is that enabling wildcard is exactly add a "wildcard" instead a name.
Any domain has a dns entry into the bind config file.
sub.pepe.com example:
sub.pepe.com. IN A 192.168.0.64
wildcard example:
*.pepe.com IN A 192.168.0.64
Using wilcard you will redirect all misstyped subdomains to your choice.
Everything into the panel made changes into config files. Everytime you dude, go to these files. ( /etc/bind/named.conf )