<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hallo.</p>
<p>I tried to create GeoIP DNS for one domain. So, its work great
for example.com, but it does not work for default domains in
default view. As example DNS server for domain example2.com does
not return any records for clients from DE. Yes, i know, to get
worked i need to add example2.com to view "DE" section too. But if
i have a lot of domains its too complex. Is there a way to add Geo
zones only in Geo view and if zone not found we get zone from
default view?<br>
</p>
<p>acl "DE" {geoip country DE;};</p>
view "DE" {<br>
match-clients { DE; };<br>
zone "example.com" {type master; file
"/etc/bind/geo/example.com_DE.db";};<br>
};<br>
<br>
view "default" {<br>
zone "example.com" {type master; file
"/etc/bind/db/example.com.db";};<br>
zone "example2.com" {type master; file
"/etc/bind/db/example2.com.db";};<br>
... lot of domains ...<br>
};
<style>span {
font-family: 'Consolas';
font-size: 9pt;
color: #000000;
}.sc0 {
}</style>
</body>
</html>