<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Gabriel,<br>
<br>
I'm still on-line as well.<br>
<br>
Yep, gmysql-backend.<br>
<br>
Ton<br>
<br>
Gabriel J Marais schreef:
<blockquote cite="mid:002401c8f026$0c5eebf0$251cc3d0$@co.za" type="cite">
<pre wrap="">Hi Ton,
Me again :)
I'm so excited about this now... I have been struggling for ever and a day
now with getting this to work... Out of curiosity, are you also using a
MySQL database ?
Regards
Gabriel
-----Original Message-----
From: Ton van Rosmalen [<a class="moz-txt-link-freetext" href="mailto:ton@netbase.nl">mailto:ton@netbase.nl</a>]
Sent: Sunday, July 27, 2008 8:37 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:forums@64bit.co.za">forums@64bit.co.za</a>
Subject: Re: [Pdns-users] Wildcard A Record Question
Hi again,
Gabriel J marais schreef:
</pre>
<blockquote type="cite">
<pre wrap="">Hi Guys
I have been trying to do a Wildcard "A" record for the past couple of days
with little success. It seems like the query takes the "*" not as a
wildcard, but an actual character, like a normal letter or numeric...
I also have wildcards=yes configured in my config file.
Can you perhaps help ? Maybe I'm just missing something stupid...
I use PowerDNS 2.9.21 with a MySQL Database
I am trying to setup a RBL-type database which would have several wildcard
entries. In my current database I have the following configured :-
mysql> select * from domains;
</pre>
</blockquote>
<pre wrap=""><!---->+----+------------------+--------+------------+--------+-----------------+--
</pre>
<blockquote type="cite">
<pre wrap="">-------+
| id | name | master | last_check | type | notified_serial |
account |
</pre>
</blockquote>
<pre wrap=""><!---->+----+------------------+--------+------------+--------+-----------------+--
</pre>
<blockquote type="cite">
<pre wrap="">-------+
| 1 | test.xxxxx.xx.xx | NULL | NULL | NATIVE | NULL |
NULL |
| 2 | duhl.xxxxx.xx.xx | NULL | NULL | NATIVE | NULL |
NULL |
</pre>
</blockquote>
<pre wrap=""><!---->+----+------------------+--------+------------+--------+-----------------+--
</pre>
<blockquote type="cite">
<pre wrap="">-------+
mysql> select * from records;
</pre>
</blockquote>
<pre wrap=""><!---->+----+-----------+-----------------------------+------+---------------------
</pre>
<blockquote type="cite">
<pre wrap="">-+-------+---------------------+------+
| id | domain_id | name | type | content
| ttl | dateadded | prio |
</pre>
</blockquote>
<pre wrap=""><!---->+----+-----------+-----------------------------+------+---------------------
</pre>
<blockquote type="cite">
<pre wrap="">-+-------+---------------------+------+
| 1 | 1 | 1.0.0.127.test.xxxxx.xx.xx | A | 127.0.0.1
| 84600 | 2008-07-14 15:29:00 | |
| 2 | 1 | 1.0.0.127.test.xxxxx.xx.xx | TXT | "Test Zone 1"
| NULL | 0000-00-00 00:00:00 | |
| 3 | 2 | 2.0.0.127.duhl.xxxxx.xx.xx | A | 127.0.0.2
| NULL | 0000-00-00 00:00:00 | |
| 4 | 2 | 2.0.0.127.duhl.xxxxx.xx.xx | TXT | "Dynamic IP
</pre>
</blockquote>
<pre wrap=""><!---->Address"
</pre>
<blockquote type="cite">
<pre wrap="">| 86400 | 2008-07-15 08:53:00 | |
| 5 | 2 | *.0.245.41.duhl.xxxxx.xx.xx | A | 127.0.0.2
| 86400 | 2008-07-15 09:00:00 | |
</pre>
</blockquote>
<pre wrap=""><!---->+----+-----------+-----------------------------+------+---------------------
</pre>
<blockquote type="cite">
<pre wrap="">-+-------+---------------------+------+
</pre>
</blockquote>
<pre wrap=""><!---->I setup an RBL zone under a subdomain and for me it works. The primary
difference I see is the SOA and NS-records which are not displayed above.
Are these in the zone?
Try my test-zone by issuing the following dig:
dig @ns1.webreus.net 2.5.168.192.rbl.webreus.net any
Records for the zone rbl.webreus.net have been set-up as follows:
rbl.webreus.net SOA <regular SOA fields>
rbl.webreus.net NS <ns records>
*.168.192.rbl.webreus.net A 127.0.0.2
*.168.192.rbl.webreus.net TXT "blocked by rbl.webreus.net"
*.16.172.rbl.webreus.net A 127.0.0.2
*.16.172.rbl.webreus.net TXT "blocked by rbl.webreus.net"
Hope this helps.
Ton
----------------------------------------------------
IONLINE In-Line Mail Scanner
----------------------------------------------------
This message has been scanned for viruses and
dangerous content by the IONLINE In-Line Mail
Scanners and is believed to be clean. For more
information, please contact <a class="moz-txt-link-abbreviated" href="mailto:support@ionline.co.za">support@ionline.co.za</a>
----------------------------------------------------
__________ Information from ESET Smart Security, version of virus signature
database 3289 (20080722) __________
The message was checked by ESET Smart Security.
<a class="moz-txt-link-freetext" href="http://www.eset.com">http://www.eset.com</a>
__________ Information from ESET Smart Security, version of virus signature
database 3289 (20080722) __________
The message was checked by ESET Smart Security.
<a class="moz-txt-link-freetext" href="http://www.eset.com">http://www.eset.com</a>
</pre>
</blockquote>
</body>
</html>