<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Michael,<br>
<br>
Bind can use wildcards. Here's an example zone file <br>
<tt><br>
$TTL 86400<br>
@ IN SOA ns.domain.com. admin.domain.com. (<br>
2012020502 ; Serial<br>
10800 ; Refresh<br>
3600 ; Retry<br>
604800 ; Expire<br>
3600 ; Negative cache TTL<br>
)<br>
<br>
IN NS ns1.nameservice.com.<br>
IN NS ns2.nameservice.com.<br>
IN A 66.66.66.66<br>
MX 1 mail<br>
MX 10 mail.backupmx.com.<br>
<br>
; Addresses<br>
<br>
* IN A 66.66.66.66<br>
* MX 1 mail<br>
* MX 10 mail.backupmx.com.<br>
</tt>
<div class="moz-signature">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<title></title>
<br>
</div>
Note that the domain name is picked up from the named.conf
stanza. The first A record is for the domain as host (that is,
"mydomain.com"). The second matches anything under that domain
("mail.mydomain.com", "<a class="moz-txt-link-abbreviated" href="http://www.mydomain.com">www.mydomain.com</a>", etc.)<br>
<br>
More detail here: <a class="moz-txt-link-freetext" href="http://en.wikipedia.org/wiki/Wildcard_DNS_record">http://en.wikipedia.org/wiki/Wildcard_DNS_record</a><br>
<br>
Eric<br>
<br>
<br>
On 3/26/14 7:56 PM, Michael Stauber wrote:<br>
</div>
<blockquote cite="mid:5333773B.6020801@blueonyx.it" type="cite"><br>
<pre wrap="">[...] wildcard domains and SSLs [...]
</pre>
<pre wrap="">
I'm not sure I understand the problem entirely, as I never used wildcard
SSL certificates myself. Where does the '*' go? With that I mean I need
to know all the places where a '*' might be valid.
>From what you wrote I guess the wildcard goes into the "web server
alias" and the "email server alias"?
<b>How about the DNS? From a talk with Greg I recall that DNS wildcards are
also allowed these days. So we also could have "A Records" and "MX
Records" with wildcards?</b>
I really need to know the entire applicability in order to make this happen.
</pre>
</blockquote>
<br>
</body>
</html>