viper26 Tux's lil' helper
Joined: 24 Sep 2003 Posts: 132 Location: Brilon
|
Posted: Fri Aug 26, 2005 9:36 pm Post subject: Bind + dlz + mysql probleme mit nslookup |
|
|
hallo zusammen,
habe bind mit dlz am laufen, so weit läuft alles nun hab ich aber ein problem:
wenn ich mit nslookup eine abfrage mit type=all mache, bekomme ich eine unvollständige ausgabe
normaler weise müssten alle records aufgelistet werden aber er listet nur die ns ohne auflösung der ip aus.
als abfrage benutze ich:
Quote: |
dlz "Mysql zone" {
database "mysql
{host=localhost dbname=*** ssl=false port=3306 user=**** pass=**** }
{select zone from dns_records where zone = '%zone%' limit 1}
{select ttl, type, mx_priority, case when lower(type)='txt' then concat('\"',
data, '\"') when lower(type) = 'SOA' then concat_ws(' ', data, resp_person,
serial, refresh, retry, expire, minimum) else data end as mydata from
dns_records where zone = '%zone%' and host = '%record%'}
{}
{}
{}
{update dns_data_count set count = count + 1 where zone ='%zone%'}";
};
|
es fehlt bestimmt noch eine abfrage gesucht hab ich schon leider nix gefunden.
hat jemand eine idee?
danke
viper |
|