Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bind + dlz + mysql probleme mit nslookup
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
viper26
Tux's lil' helper
Tux's lil' helper


Joined: 24 Sep 2003
Posts: 132
Location: Brilon

PostPosted: Fri Aug 26, 2005 9:36 pm    Post subject: Bind + dlz + mysql probleme mit nslookup Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum