Sunday, November 13, 2011

Dns Stuff


Wild Card DNS

For the DNS, edit the DNS zone file and add the following:
Code:
* IN A x.x.x.x
(where x.x.x.x is the IP for the hosting account using the wildcard)
Edit your httpd.conf config file for your web server and add a
server alias wildcard for the host you want to have wildcards:
Code:
ServerAlias *.mydomain.com

OpenDNS error


change etc/named.conf from:
options {
directory “/var”;
auth-nxdomain no;
pid-file “/var/run/named/named.pid”;
to this:
options {
directory “/var”;
auth-nxdomain no;
pid-file “/var/run/named/named.pid”;
allow-recursion { 127.0.0.1; }
;