12 Sep 2006 03:39
How to allow zone transfer?
Ronald Wiplinger <ronald <at> elmit.com>
2006-09-12 01:39:09 GMT
2006-09-12 01:39:09 GMT
I have now one dns server running with mysql
How can I allow zone transfer to a dns without mysql?
/var/log/messages shows now:
Sep 12 09:31:39 dns named[24445]: transfer of 'xxx.com/IN' from
xx.xx.xx.xx#53: failed while receiving responses: REFUSED
Sep 12 09:31:39 dns named[24445]: transfer of 'xxx.com/IN' from
xx.xx.xx.xx#53: end of transfer
DNS server got in named.conf:
dlz "Mysql zone" {
database "mysql
{host=127.0.0.1 dbname=xxx_dns_data ssl=false port=35306 user=xxx
pass=shhshh}
{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%'}
{}
{select ttl, type, host, mx_priority, case when lower(type)='txt'
then concat('\"', data, '\"') else data end as mydata, resp_person,
serial, refresh, retry, expire, minimum from dns_records where zone =
'%zone%'}
{select zone from xfr_table where zone = '%zone%' and client =
'%client%' limit 1}
{update data_count set count = count + 1 where zone ='%zone%'}";
};
(Continue reading)
?
Thanks,
Mark.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
RSS Feed