I am trying to configure my PDNS server to answer any queries that come into my server. Basically I want to respond with a specific IP address if the domain is not found in the database. I've enabled wildcards in my config but it still doesn't seem to work. When I perform a lookup on a domain that I know is not in the DB is still get a SERVFAIL response. <br>
I am using CentOS 5.4 with these packages:<br>pdns-backend-mysql-2.9.22-3.el5<br>pdns-2.9.22-3.el5<br><br>My config currently looks like this:<br>setuid=pdns<br>setgid=pdns<br>launch=gmysql<br>gmysql-host=localhost<br>gmysql-user=pdns_user<br>
gmysql-password=XXXXXX<br>gmysql-dbname=power_dns<br>disable-axfr=yes<br>wildcards=yes<br><br>I have this in the records table: <br><br>mysql> select * from records where name ='*.com';<br>+---------+-----------+-------+------+--------------+------+------+---------------------+<br>
| id | domain_id | name | type | content | ttl | prio | change_date |<br>+---------+-----------+-------+------+--------------+------+------+---------------------+<br>| 1540729 | 138961 | *.com | A | 208.87.34.15 | 300 | 0 | 2011-07-04 16:09:28 | <br>
+---------+-----------+-------+------+--------------+------+------+---------------------+<br><br>Also, is it possible to just have a '*' record so I don't need to have a record for each TLD?<br><br>