47
47
declare(suffix,"dbname","Pdns backend database name to connect to","powerdns");
48
48
declare(suffix,"user","Pdns backend user to connect as","powerdns");
49
49
declare(suffix,"host","Pdns backend host to connect to","");
50
declare(suffix,"port","Database backend port to connect to","");
50
51
declare(suffix,"socket","Pdns backend socket to connect to","");
51
52
declare(suffix,"password","Pdns backend password to connect with","");
58
59
declare(suffix,"any-query","Any query","select content,ttl,prio,type,domain_id,name from records where name='%s'");
59
60
declare(suffix,"any-id-query","Any with ID query","select content,ttl,prio,type,domain_id,name from records where name='%s' and domain_id=%d");
60
61
declare(suffix,"wildcard-any-query","Wildcard ANY query","select content,ttl,prio,type,domain_id,name from records where name like '%s'");
61
declare(suffix,"wildcard-any-id-query","Wildcard ANY with ID query","select content,ttl,prio,type,domain_id,name from records where like '%s' and domain_id='%d'");
62
declare(suffix,"wildcard-any-id-query","Wildcard ANY with ID query","select content,ttl,prio,type,domain_id,name from records where name like '%s' and domain_id='%d'");
63
64
declare(suffix,"list-query","AXFR query", "select content,ttl,prio,type,domain_id,name from records where domain_id='%d'");
64
65
declare(suffix,"master-zone-query","Data", "select master from domains where name='%s' and type='SLAVE'");