GeoIP need all files?
Herman Brule
contact at herman-brule.com
Tue Sep 23 12:17:41 UTC 2025
Hi, my env is VPS, qemu VM.
See attached file for full config and full log.
it's debian 12 amd64. Then systemd.
Herman Jacques Roger BRULE<contact at herman-brule.com>
Main developer of Supercopier/Ultracopier/CatchChallenger, server management
IT, OS, technologies, research & development, security and business department
On 9/23/25 00:46, Ondřej Surý wrote:
> Hi, you should start by describing your environment and sending here a
> redacted (with named-checkconf -px) config file.
>
> There’s a little help you can get with just few lines from the log. It
> could be chroot, it could be AppArmor, it could be selinux, it could
> be permissions higher in the tree, it could be that you are checking
> the file on a different server than bind is running. All these things
> are possible.
>
> Ondrej
> --
> Ondřej Surý — ISC (He/Him)
>
> My working hours and your working hours may be different. Please do
> not feel obligated to reply outside your normal working hours.
>
>> On 23. 9. 2025, at 3:24, Herman Brule via bind-users
>> <bind-users at lists.isc.org> wrote:
>>
>>
>>
>> Hi,
>>
>> I don't found how check this. And how disable this?
>>
>> Herman Jacques Roger BRULE<contact at herman-brule.com>
>> Main developer of Supercopier/Ultracopier/CatchChallenger, server management
>> IT, OS, technologies, research & development, security and business department
>> On 9/22/25 21:00, Mark Andrews wrote:
>>> If you are running chroot then you need the files in the chroot area.
>>> --
>>> Mark Andrews
>>>
>>>> On 22 Sep 2025, at 22:07, Herman Brule via bind-users
>>>> <bind-users at lists.isc.org> wrote:
>>>>
>>>>
>>>>
>>>> 22-Sep-2025 12:03:58.792 set maximum open files to
>>>> 18446744073709551615: success
>>>> 22-Sep-2025 12:03:58.792 looking for GeoIP2 databases in
>>>> '/usr/share/geoip'
>>>> 22-Sep-2025 12:03:58.796 unable to open GeoIP2 database
>>>> '/usr/share/geoip/GeoIP2-Country.mmdb' (status 1)
>>>> 22-Sep-2025 12:03:58.800 unable to open GeoIP2 database
>>>> '/usr/share/geoip/GeoLite2-Country.mmdb' (status 1)
>>>> 22-Sep-2025 12:03:58.800 unable to open GeoIP2 database
>>>> '/usr/share/geoip/GeoIP2-City.mmdb' (status 1)
>>>> 22-Sep-2025 12:03:58.800 unable to open GeoIP2 database
>>>> '/usr/share/geoip/GeoLite2-City.mmdb' (status 1)
>>>> 22-Sep-2025 12:03:58.800 unable to open GeoIP2 database
>>>> '/usr/share/geoip/GeoIP2-ASN.mmdb' (status 1)
>>>> 22-Sep-2025 12:03:58.800 unable to open GeoIP2 database
>>>> '/usr/share/geoip/GeoLite2-ASN.mmdb' (status 1)
>>>> 22-Sep-2025 12:03:58.800 unable to open GeoIP2 database
>>>> '/usr/share/geoip/GeoIP2-ISP.mmdb' (status 1)
>>>> 22-Sep-2025 12:03:58.800 unable to open GeoIP2 database
>>>> '/usr/share/geoip/GeoIP2-Domain.mmdb' (status 1)
>>>>
>>>> root at vps-50e17238:~# ls -l /usr/share/geoip/GeoIP2-Country.mmdb
>>>> -rw-r--r-- 1 bind bind 9791801 Sep 14 20:08
>>>> /usr/share/geoip/GeoIP2-Country.mmdb
>>>>
>>>> exist and it's acesible via unix user.
>>>>
>>>> and then with:
>>>>
>>>> 22-Sep-2025 12:03:58.812 /etc/bind/named.conf.default-zones:2: no
>>>> GeoIP2 database installed which can answer queries of type 'country'
>>>>
>>>> What I can do? any kind of chroot?
>>>>
>>>> --
>>>> Herman Jacques Roger BRULE<contact at herman-brule.com>
>>>> Main developer of Supercopier/Ultracopier/CatchChallenger, server management
>>>> IT, OS, technologies, research & development, security and business department
>>>> --
>>>> Visit https://lists.isc.org/mailman/listinfo/bind-users to
>>>> unsubscribe from this list.
>> --
>> Visit https://lists.isc.org/mailman/listinfo/bind-users to
>> unsubscribe from this list.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20250923/e6c4a5b0/attachment-0001.htm>
-------------- next part --------------
acl "bolivia" {
country"BO";
};
acl "BO" {
5.62.56.41/32;
5.62.56.42/31;
23.249.54.5/32;
34.100.4.0/22;
34.100.46.0/23;
38.142.194.32/29;
38.246.58.0/23;
38.246.61.0/24;
38.246.63.0/24;
45.4.98.0/23;
45.5.13.0/24;
45.68.0.0/22;
45.70.180.0/22;
45.134.189.0/24;
45.145.132.0/23;
45.145.134.0/24;
45.148.104.0/22;
45.154.153.0/24;
45.163.18.0/23;
45.183.184.0/22;
45.200.175.0/24;
45.225.75.0/24;
45.226.32.0/22;
45.229.195.0/24;
45.229.244.0/23;
45.232.46.0/23;
45.236.192.0/22;
49.0.184.0/21;
57.74.240.0/22;
57.75.48.0/20;
63.246.44.64/26;
64.64.99.0/24;
66.35.22.175/32;
66.35.27.214/32;
66.96.115.64/26;
66.103.20.137/32;
72.14.201.214/32;
77.81.118.96/30;
79.110.239.192/26;
81.114.122.163/32;
84.247.90.0/23;
98.159.34.160/28;
104.28.8.134/31;
104.28.8.136/32;
104.28.47.35/32;
104.28.47.36/30;
104.28.47.40/30;
104.28.59.35/32;
104.28.59.36/30;
104.28.63.35/32;
104.28.63.36/31;
104.28.63.38/32;
104.28.113.35/32;
104.28.113.36/30;
104.28.113.40/30;
104.28.115.35/32;
104.28.115.36/30;
104.28.115.40/30;
104.28.141.49/32;
104.28.160.217/32;
104.28.209.5/32;
104.28.209.6/31;
104.28.209.8/30;
104.28.217.243/32;
104.28.217.244/31;
104.28.217.246/32;
104.28.218.240/30;
104.28.241.5/32;
104.28.241.6/31;
104.28.241.8/30;
104.28.249.243/32;
104.28.249.244/31;
104.28.249.246/32;
104.28.250.240/30;
104.224.19.0/24;
128.77.116.224/27;
130.41.13.0/26;
130.41.13.224/27;
130.41.68.192/26;
130.41.98.0/24;
130.41.213.224/27;
131.0.0.0/22;
131.0.196.0/22;
131.229.129.11/32;
131.229.129.139/32;
131.229.130.11/32;
131.229.130.139/32;
131.229.131.11/32;
131.229.131.139/32;
131.229.132.11/32;
131.229.132.139/32;
131.229.133.11/32;
131.229.133.139/32;
131.229.134.11/32;
131.229.134.139/32;
131.229.145.23/32;
131.229.145.39/32;
131.229.146.23/32;
131.229.146.39/32;
131.229.162.11/32;
131.229.167.23/32;
131.229.167.39/32;
131.229.178.11/32;
131.229.178.139/32;
131.229.181.23/32;
131.229.181.39/32;
131.229.182.23/32;
131.229.182.39/32;
131.229.185.23/32;
131.229.185.39/32;
131.229.188.23/32;
131.229.188.39/32;
131.229.191.11/32;
131.229.191.139/32;
131.229.218.23/32;
131.229.218.39/32;
131.229.219.23/32;
131.229.219.39/32;
131.229.220.23/32;
131.229.220.39/32;
131.229.229.11/32;
131.229.229.139/32;
131.229.231.11/32;
131.229.231.139/32;
131.229.233.11/32;
131.229.233.139/32;
131.229.235.11/32;
131.229.235.139/32;
131.229.253.11/32;
131.229.253.139/32;
132.251.224.0/19;
134.231.153.192/26;
134.238.157.64/26;
134.238.157.128/25;
134.238.231.192/27;
136.227.141.82/31;
136.227.141.84/30;
138.36.76.0/22;
138.204.15.0/24;
140.248.25.4/31;
140.248.32.0/31;
140.248.56.28/32;
140.248.57.28/32;
140.248.58.28/32;
140.248.59.28/32;
140.248.60.28/32;
140.248.61.28/32;
140.248.62.28/32;
140.248.63.28/32;
143.0.101.0/24;
143.137.112.0/22;
143.137.228.0/22;
144.125.40.192/26;
144.125.133.224/27;
146.75.179.4/31;
146.75.191.4/31;
146.75.208.30/31;
146.75.221.0/31;
150.48.154.166/31;
150.48.154.168/29;
150.48.154.176/28;
150.48.154.192/29;
150.48.154.200/30;
150.48.154.204/31;
154.83.8.0/24;
154.90.1.0/24;
156.241.18.0/24;
157.5.124.81/32;
157.5.124.82/31;
157.5.124.84/32;
157.167.17.0/24;
158.172.152.0/22;
158.172.157.0/24;
158.172.158.0/23;
158.172.224.0/19;
160.20.225.0/24;
161.22.128.0/17;
161.56.0.0/16;
161.69.3.11/32;
161.69.3.139/32;
161.69.4.11/32;
161.69.4.139/32;
161.69.54.23/32;
161.69.54.39/32;
161.69.60.23/32;
161.69.60.39/32;
161.69.63.11/32;
161.69.63.139/32;
161.69.91.23/32;
161.69.91.39/32;
161.69.92.23/32;
161.69.92.39/32;
161.69.101.11/32;
161.69.101.139/32;
161.69.105.11/32;
161.69.105.139/32;
161.138.0.0/16;
162.120.185.184/32;
162.120.185.248/32;
162.120.186.56/32;
162.120.186.120/32;
162.120.186.184/32;
162.120.186.248/32;
163.116.224.94/32;
163.116.224.97/32;
163.116.225.93/32;
163.116.225.95/32;
163.116.226.93/32;
163.116.226.103/32;
163.116.227.90/32;
163.116.227.93/32;
163.116.228.109/32;
163.116.228.110/32;
163.116.229.107/32;
163.116.229.117/32;
163.116.230.98/31;
164.137.5.0/24;
164.137.30.0/24;
165.1.220.65/32;
165.1.220.66/31;
165.1.220.68/30;
165.1.220.72/29;
165.1.220.80/28;
165.1.220.96/28;
165.1.220.112/29;
165.1.220.120/30;
165.1.220.124/31;
165.1.220.126/32;
165.1.222.225/32;
165.1.222.226/31;
165.1.222.228/30;
165.1.222.232/29;
165.1.222.240/29;
165.1.222.248/30;
165.1.222.252/31;
165.1.222.254/32;
165.1.246.225/32;
165.1.246.226/31;
165.1.246.228/30;
165.1.246.232/29;
165.1.246.240/29;
165.1.246.248/30;
165.1.246.252/31;
165.1.246.254/32;
165.1.247.209/32;
165.1.247.210/31;
165.1.247.212/30;
165.1.247.216/30;
165.1.247.220/31;
165.1.247.222/32;
166.114.0.0/16;
167.157.0.0/16;
167.250.135.0/24;
168.197.240.0/22;
168.205.96.0/22;
168.228.132.0/22;
170.82.244.0/23;
170.239.120.0/22;
170.245.35.0/24;
170.247.160.0/22;
172.68.6.0/24;
172.94.77.0/24;
172.111.241.0/24;
172.225.84.32/28;
172.225.222.32/28;
172.225.232.0/28;
173.244.55.144/28;
177.222.32.0/19;
177.222.96.0/19;
178.93.75.0/24;
179.0.30.0/24;
179.42.80.0/22;
179.58.0.0/15;
179.60.112.0/20;
181.41.144.0/21;
181.41.156.0/22;
181.114.64.0/18;
181.114.160.0/19;
181.115.128.0/17;
181.177.128.0/18;
181.188.128.0/18;
181.191.68.0/22;
181.227.0.0/16;
185.93.173.0/24;
185.112.133.4/32;
186.0.156.0/22;
186.2.0.0/17;
186.27.0.0/17;
186.121.192.0/18;
186.195.247.0/24;
187.102.200.0/22;
189.28.64.0/20;
189.28.80.0/23;
189.28.82.0/25;
189.28.82.128/27;
189.28.82.160/28;
189.28.82.176/30;
189.28.82.180/31;
189.28.82.182/32;
189.28.82.184/29;
189.28.82.192/26;
189.28.83.0/24;
189.28.84.0/22;
189.28.88.0/21;
190.0.248.0/21;
190.3.184.0/21;
190.11.64.0/19;
190.14.64.0/18;
190.52.48.0/21;
190.98.149.0/26;
190.99.92.0/22;
190.103.64.0/20;
190.104.0.0/19;
190.106.240.0/20;
190.107.32.0/19;
190.108.91.0/29;
190.109.224.0/19;
190.110.241.0/24;
190.111.152.0/22;
190.111.178.0/24;
190.129.0.0/16;
190.171.192.0/18;
190.180.0.0/17;
190.181.0.0/18;
190.186.0.0/16;
190.211.224.0/20;
192.223.64.0/18;
192.245.121.0/24;
193.186.4.214/32;
194.50.99.29/32;
194.169.171.0/24;
196.48.52.0/24;
196.56.52.0/24;
196.57.52.0/24;
196.58.52.0/24;
196.197.52.0/24;
196.198.52.0/24;
196.199.52.0/24;
198.55.115.0/24;
200.7.160.0/20;
200.9.165.0/24;
200.9.166.0/23;
200.9.168.0/24;
200.10.156.0/23;
200.12.248.0/21;
200.13.152.0/21;
200.25.80.0/24;
200.33.113.0/24;
200.58.64.0/19;
200.58.160.0/19;
200.73.96.0/21;
200.75.160.0/20;
200.85.128.0/21;
200.85.140.0/22;
200.85.144.0/21;
200.87.0.0/16;
200.90.144.0/21;
200.105.128.0/18;
200.105.192.0/19;
200.106.244.0/23;
200.107.240.0/21;
200.110.48.0/20;
200.119.192.0/19;
201.71.0.211/32;
201.131.41.0/24;
201.131.45.0/24;
201.150.160.0/19;
201.222.64.0/18;
202.181.129.88/29;
203.88.96.0/22;
204.195.247.233/32;
204.195.247.234/31;
204.195.247.236/32;
204.195.248.1/32;
204.195.248.2/31;
204.195.248.4/32;
205.185.214.0/24;
213.156.255.3/32;
2001:470:5:9e::/64;
2001:470:5:18f::/64;
2001:470:5:1fb::/64;
2001:470:5:439::/64;
2001:470:5:462::/64;
2001:470:8:161::/64;
2001:470:d:519::/64;
2001:470:24:193::/64;
2001:470:24:8e5::/64;
2001:470:36:4d5::/64;
2001:470:36:7a2::/64;
2001:470:36:92a::/64;
2001:470:1f07:c0::/64;
2001:470:1f07:dc::/64;
2001:470:1f07:23a::/64;
2001:470:1f07:9ff::/64;
2001:470:1f09:33d::/64;
2001:470:1f0f:b6::/64;
2001:470:1f0f:1e7::/64;
2001:470:1f11:957::/64;
2001:470:1f1b:6ce::/64;
2001:470:1f2b:85::/64;
2001:470:1f2b:461::/64;
2001:470:8967::/48;
2001:470:b868::/48;
2001:470:d803::/48;
2001:470:d881::/48;
2001:470:d8fe::/48;
2001:470:d9e1::/48;
2001:470:ec18::/48;
2001:470:fc0d::/48;
2001:1378::/32;
2001:4860:7:302::/64;
2001:4860:7:702::/64;
2001:4860:7:e02::/64;
2001:4860:7:f02::/64;
2001:4860:7:1002::/64;
2001:4860:7:1102::/64;
2001:4860:7:1202::/64;
2001:4860:7:1302::/64;
2001:4b28:9b00::/40;
2400:cb00:792::/48;
2600:70ff:a43d::/48;
2600:70ff:c83c::/48;
2606:54c0:530::/44;
2606:54c0:540::/44;
2606:54c3:0:444::/64;
2606:54c3:0:552::/64;
2606:54c3:0:c42::/64;
2606:54c3:0:16ea::/64;
2606:f4c0:25e0::/44;
2607:8940:23f6::/47;
2607:8940:23fa::/47;
2607:8940:23fe::/47;
2607:8940:2402::/47;
2607:8940:4200:5100::/56;
2607:8940:4200:5200::/55;
2607:8940:4200:5400::/56;
2620:0:876:2200::/56;
2620:0:877:8100::/64;
2800:88::/32;
2800:320::/32;
2800:390::/32;
2800:cd0::/32;
2801:0:170::/48;
2801:10:2800::/48;
2801:10:5000::/48;
2801:10:9800::/48;
2801:11:a800::/48;
2801:12:1000::/48;
2801:12:d000::/48;
2801:13:3000::/48;
2801:14:6000::/48;
2801:14:c000::/48;
2801:16:9000::/48;
2801:17:7000::/48;
2801:18:7000::/48;
2801:18:9800::/48;
2801:18:a000::/48;
2801:18:a800::/48;
2801:18:d000::/48;
2801:19:a000::/48;
2801:19:d000::/48;
2801:1a:7000::/48;
2801:1d:d000::/48;
2801:104::/40;
2803:b60::/32;
2803:be0::/32;
2803:1180::/32;
2803:1920::/32;
2803:2110::/32;
2803:2690::/32;
2803:2880::/32;
2803:2950::/32;
2803:3820::/32;
2803:38c0::/32;
2803:3e20::/32;
2803:3ea0::/32;
2803:48d0::/32;
2803:4ac0::/32;
2803:5700::/32;
2803:5c00::/32;
2803:5e00::/32;
2803:6250::/32;
2803:7680::/32;
2803:8de0::/32;
2803:8ec0::/32;
2803:9400::/47;
2803:9400:2::/48;
2803:9400:3::/51;
2803:9400:3:2000::/52;
2803:9400:3:3000::/56;
2803:9400:3:3100::/57;
2803:9400:3:3180::/61;
2803:9400:3:3188::/64;
2803:9400:3:318a::/63;
2803:9400:3:318c::/62;
2803:9400:3:3190::/60;
2803:9400:3:31a0::/59;
2803:9400:3:31c0::/58;
2803:9400:3:3200::/55;
2803:9400:3:3400::/54;
2803:9400:3:3800::/53;
2803:9400:3:4000::/51;
2803:9400:3:6000::/52;
2803:9400:3:7000::/54;
2803:9400:3:7400::/57;
2803:9400:3:7480::/58;
2803:9400:3:74c0::/59;
2803:9400:3:74e0::/60;
2803:9400:3:74f0::/61;
2803:9400:3:74f8::/62;
2803:9400:3:74fd::/64;
2803:9400:3:74fe::/63;
2803:9400:3:7500::/56;
2803:9400:3:7600::/55;
2803:9400:3:7800::/53;
2803:9400:3:8000::/49;
2803:9400:4::/46;
2803:9400:8::/45;
2803:9400:10::/44;
2803:9400:20::/43;
2803:9400:40::/42;
2803:9400:80::/41;
2803:9400:100::/40;
2803:9400:200::/39;
2803:9400:400::/38;
2803:9400:800::/37;
2803:9400:1000::/36;
2803:9400:2000::/35;
2803:9400:4000::/34;
2803:9400:8000::/33;
2803:acd0::/32;
2803:c6e0::/32;
2803:dc90::/32;
2803:fa00::/32;
2a01:528:9b00::/40;
2a02:26f7:e580:4000::/64;
2a02:26f7:e580:d080::/61;
2a02:26f7:e581:4000::/64;
2a02:26f7:e584:4000::/64;
2a02:26f7:e584:d080::/61;
2a02:26f7:e585:4000::/64;
2a02:26f7:e588::/48;
2a02:26f7:e589:4000::/64;
2a02:5740:52::/48;
2a02:5741:52::/48;
2a02:5742:52::/48;
2a02:5743:52::/48;
2a02:5744:52::/48;
2a02:5745:52::/48;
2a02:5746:52::/48;
2a02:5747:52::/48;
2a04:1d41:9b00::/40;
2a04:1d42:9b00::/40;
2a04:1d43:9b00::/40;
2a04:1d44:9b00::/40;
2a04:1d45:9b00::/40;
2a04:1d46:9b00::/40;
2a04:1d47:9b00::/40;
2a04:4e41:3c:15::/64;
2a04:4e41:3c:1700::/56;
2a04:4e41:188::/48;
2a04:4e41:1a03::/48;
2a04:4e41:4011:c000::/52;
2a04:4e41:4021:c000::/52;
2a04:4e41:4031:c000::/52;
2a04:4e41:4041:c000::/52;
2a04:4e41:4051:c000::/52;
2a04:4e41:4061:c000::/52;
2a04:4e41:4071:c000::/52;
2a04:4e41:4081:c000::/52;
2a04:4e41:4c01::/48;
2a04:4e41:4c61::/48;
2a04:4e41:6203::/48;
2a04:4e41:6303::/48;
2a07:d887:1c00::/40;
2a09:bac1:1000::/64;
2a09:bac1:1000:8::/64;
2a09:bac1:1000:10::/64;
2a09:bac1:1000:18::/64;
2a09:bac1:1020::/64;
2a09:bac1:1020:8::/64;
2a09:bac1:1020:10::/64;
2a09:bac1:1020:18::/64;
2a09:bac1:1040::/64;
2a09:bac1:1040:8::/64;
2a09:bac1:1040:10::/64;
2a09:bac1:1040:18::/64;
2a09:bac1:1060::/64;
2a09:bac1:1060:8::/64;
2a09:bac1:1060:10::/64;
2a09:bac1:1060:18::/64;
2a09:bac2:530::/44;
2a09:bac2:540::/44;
2a09:bac3:530::/44;
2a09:bac3:540::/44;
2a09:bac4:e0::/45;
2a09:bac4:10e0::/45;
2a09:bac5:548::/45;
2a09:bac5:550::/44;
2a09:bac5:560::/45;
2a09:bac6:548::/45;
2a09:bac6:550::/44;
2a09:bac6:560::/45;
2a0a:6044:f87c::/46;
2a0a:6044:f880::/45;
2a0a:6044:f888::/47;
2a0a:6044:f88a::/48;
2a0a:6044:fe39::/48;
2a0a:6044:fe3a::/47;
2a0a:6044:fe3c::/46;
2a0a:6044:fe40::/45;
2a0a:a701:1000::/47;
2a0c:9a40:95b1:a000::/52;
2a0e:ec05:89c0::/42;
2a0e:ec05:8a00::/40;
2a0e:ec05:8b00::/41;
2a0e:ec05:8b80::/42;
2a0f:85c1:81b:f190::/60;
2a11:a681:4000::/36;
2a13:a5c7:251d::/48;
2a13:a5c7:25ff:1c00::/56;
2a14:7581:b12:1500::/56;
2a14:7581:b13:1500::/56;
2a14:7581:b14:1500::/56;
2a14:7581:b15:1500::/56;
};
options {
directory "/var/cache/bind";
geoip-directory "/usr/share/geoip";
listen-on-v6 {
"any";
};
dnssec-validation auto;
allow-query {
"any";
};
};
view "bolivia" {
match-clients {
"bolivia";
};
zone "confiared.com" {
type master;
file "/etc/bind/pri/entel.confiared.com";
allow-query {
"any";
};
};
};
view "default" {
zone "confiared.com" {
type master;
file "/etc/bind/pri/db.confiared.com";
allow-query {
"any";
};
};
};
More information about the bind-users
mailing list