Still more info: tried version 2.9.22 built from sources. Same result. Very weird.
On Jan 6, 2010, at 11:54 PM, Ron Garret wrote: > Some more info: > > I have wildcards=yes in my pdns.conf file. > > Here's the mysql query log for what should be a wildcard query: > > 100106 23:44:22 15 Query select > content,ttl,prio,type,domain_id,name from records where name='foo.mcia.cc' > 15 Query select content,ttl,prio,type,domain_id,name > from records where type='SOA' and name='foo.mcia.cc' > > So apparently it's not even trying to find the wildcard record. > > Any help on this would be greatly appreciated. It's really important to me > to get this to work. I'd even be willing to pay for someone's time if that's > what it takes to get this fixed. > > Thanks, > rg > > > On Jan 6, 2010, at 10:15 AM, Ron Garret wrote: > >> 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) >> >> >> [...@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= >> >> >> [...@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 >> >> >> [...@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 >> >> _______________________________________________ >> Pdns-users mailing list >> [email protected] >> http://mailman.powerdns.com/mailman/listinfo/pdns-users > > _______________________________________________ > Pdns-users mailing list > [email protected] > http://mailman.powerdns.com/mailman/listinfo/pdns-users _______________________________________________ Pdns-users mailing list [email protected] http://mailman.powerdns.com/mailman/listinfo/pdns-users
