[Pdns-users] Wilcard woes

Ron Garret ron at flownet.com
Wed Jan 6 18:15:22 UTC 2010


Hello,

I'm running PDNS 2.9.20 on a Debian box and a MySQL back end.  I can't get wildcards to work.  Here's an illustration of the problem:

==============================================================


mysql> select * from domains where id=2;
+----+---------+--------+------------+--------+-----------------+---------+
| id | name    | master | last_check | type   | notified_serial | account |
+----+---------+--------+------------+--------+-----------------+---------+
|  2 | mcia.cc | NULL   |       NULL | NATIVE |            NULL | NULL    | 
+----+---------+--------+------------+--------+-----------------+---------+

mysql> select name,type,content,ttl from records where domain_id=2;
+-------------+------+--------------+------+
| name        | type | content      | ttl  |
+-------------+------+--------------+------+
| mcia.cc     | A    | 67.201.56.75 |  120 | 
| www.mcia.cc | A    | 67.201.56.75 |  120 | 
| *.mcia.cc   | A    | 67.201.56.75 |  120 | 
+-------------+------+--------------+------+
3 rows in set (0.01 sec)


[ron at vm1:/etc/powerdns]$ sudo grep wild pdns.conf
# wildcard-url	Process URL and MBOXFW records
# wildcard-url=no
# wildcards	Honor wildcards in the database
# wildcards=


[ron at vm1:~]$ host mcia.cc localhost
Using domain server:
Name: localhost
Address: 127.0.0.1#53
Aliases: 

mcia.cc has address 67.201.56.75


[ron at vm1:~]$ host foo.mcia.cc localhost
Using domain server:
Name: localhost
Address: 127.0.0.1#53
Aliases: 

Host foo.mcia.cc not found: 2(SERVFAIL)

==============================================================

According to everything I've read, this should Just Work.  But it doesn't.  Any tips on how to fix this would be much appreciated.

Thanks,
rg




More information about the Pdns-users mailing list