<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:΢ÈíÑźÚ
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Dear all,<BR> <BR>Anyone know how to configure muliti-view and non-view in one bind server? Furthermore using mysql to support muliti-view and non-view simultanuasly.<BR> <BR>I tried to configure it, but failed.<BR> <BR>Following configuration is added into named.conf, but it doesn't work. Note that  view 'ALL' isn't under any view<BR><blockquote style="margin-right: 0px;" dir="ltr">dlz "Mysql zone" {<br> database " mysql<br>  {host=127.0.0.1 dbname=cdn ssl=false port=3306 user=cdn pass=cdn }<br>  {select zone from dns_records where zone = '$zone$' and view='ALL' limit 1}<br>  {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$' and view='ALL'}<br>  {}<br>  {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$' and view='ALL'}<br>  {select zone from xfr_table where zone = '$zone$' and client = '$client$' and view='ALL' limit 1}<br>  {update data_count set count = count + 1 where zone ='$zone$' and view='ALL'}";<br>}; <BR> <BR></blockquote><p dir="ltr">Best regards, </p><p dir="ltr">Guanghua</p><blockquote style="margin-right: 0px;" dir="ltr"> <br><BR></blockquote>                                          </div></body>
</html>