New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Wildcard DNS in centos webpanel

Started by johnnn, December 25, 2014, 02:39:12 PM

Previous topic - Next topic

johnnn

Hi, how can I enable Wildcard DNS feature in centos webpanel ?
Tnx

Administrator

BIND is default DNS server on centos so you can check instructions for bind.

johnnn

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?

Administrator

example:

* IN A 192.168.0.64
or
*.domain.com. IN A 192.168.0.64

johnnn

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

erm3nda

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 )
8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.