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.



AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp





Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor











Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

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



AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp





Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor











Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

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.