一个新的Ubuntu 16.04与绑定dns服务器。启动绑定之后,它就会记录有关GeoIP的信息。
Edit1:(3行添加到开头)
Sep 5 16:11:51 ns3 named[17723]: initializing GeoIP Country (IPv4) (type 1) DB
Sep 5 16:11:51 ns3 named[17723]: GEO-106FREE 20160408 Bu
Sep 5 16:11:51 ns3 named[17723]: initializing GeoIP Country (IPv6) (type 12) DB
Sep 5 16:11:51 ns3 named[17723]: GeoIP City (IPv6) (type 30) DB not available
Sep 5 16:11:51 ns3 named[17723]: GeoIP City (IPv6) (type 31) DB not available
Sep 5 16:11:51 ns3 named[17723]: GeoIP Region (type 3) DB not available
Sep 5 16:11:51 ns3 named[17723]: GeoIP Region (type 7) DB not available
Sep 5 16:11:51 ns3 named[17723]: GeoIP ISP (type 4) DB not available
Sep 5 16:11:51 ns3 named[17723]: GeoIP Org (type 5) DB not available
Sep 5 16:11:51 ns3 named[17723]: GeoIP AS (type 9) DB not available
Sep 5 16:11:51 ns3 named[17723]: GeoIP Domain (type 11) DB not available
Sep 5 16:11:51 ns3 named[17723]: GeoIP NetSpeed (type 10) DB not available
Sep 5 16:11:51 ns3 named[17723]: using default UDP/IPv4 port range: [32768, 60999]
Sep 5 16:11:51 ns3 named[17723]: using default UDP/IPv6 port range: [32768, 60999]
Sep 5 16:11:51 ns3 named[17723]: listening on IPv6 interfaces, port 53
Sep 5 16:11:51 ns3 named[17723]: listening on IPv4 interface lo, 127.0.0.1#53
root@ns3:~#ls -lart /usr/share/GeoIP/
total 5436
-rw-r--r-- 1 root root 1160739 Apr 9 2016 GeoIP.dat
-rw-r--r-- 1 root root 4391541 Apr 9 2016 GeoIPv6.dat
drwxr-xr-x 2 root root 4096 Sep 4 17:28 .
drwxr-xr-x 113 root root 4096 Sep 5 13:55 ..Edit2:我发现关于GeoIP的Ubuntu默认编译选项如下
--with-geoip=/usr如何解决这个问题。
发布于 2017-09-05 13:35:33
如果您没有支付完整的GeoIP数据库,您将只有免费的子集,您将收到这些消息。
如果你贴出的日志节录前的台词显示出来
initializing GeoIP Country (IPv6) (type 12) DB
GEO-106FREE 20160408 Bu然后,您将成功地使用免费数据库。
除非您已经为完整的GeoIP数据库付费,否则这些消息不会引起关注。
https://askubuntu.com/questions/952973
复制相似问题