dsc-data..._country(7)

πŸ“¦ version 1.4.2, in ubuntu resolute, ubuntu stonking

✨ NAME ✨

client_subnet_country β€” literally generates country info based on client subnet, using a Maxmind database. that's the whole vibe πŸ’…

this lil angel lives in the dsc-data..._country(7) page of the Miscellaneous Information Manual, and she is so ready to tell you where people are from 🌍


🌸 SYNOPSIS 🌸

dsc-datatool --generator ";client_subnet_country;<options...>"

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so bestie, here's the tea πŸ“ this generator goes and looks up a country code in a Maxmind database for all the subnets hanging out in the client_subnet dataset. then it builds the dataset client_subnet_country out of that. iconic behaviour, no cap ✨


πŸ’… OPTIONS πŸ’…

  • path=<directory> β€” tells it to go search for the Maxmind database in the directory you specify. you can drop this option multiple times to search in multiple directories, because why limit yourself πŸ‘‘

the default search paths are: /var/lib/GeoIP, /usr/share/GeoIP, /usr/local/share/GeoIP.

  • filename=filename β€” the database filename to go hunt for. defaults to GeoLite2-Country.mmdb πŸŽ€
  • db=/path/to/database.mmdb β€” full path straight to the Maxmind database. heads up, this one overrides both path and filename, she does not play πŸ’€
  • nonstrict=<value> β€” if you set this (to literally any value) it flips on non-strict mode, which means any bad data in the dataset gets disregarded and skipped completely. default is strict mode, so stay sharp πŸ”₯

🌈 SEE ALSO 🌈

dsc-datatool(1), geoipupdate(1)


πŸ‘‘ AUTHORS πŸ‘‘

Jerry LundstrΓΆm, DNS-OARC

Maintained by DNS-OARC

https://www.dns-oarc.net/tools/dsc

πŸ™ˆ BUGS πŸ™ˆ

got issues? got feature requests? the way that you should take it here:

https://github.com/DNS-OARC/dsc-datatool/issues

questions? need help? pull up to the mailing list:

https://lists.dns-oarc.net/mailman/listinfo/dsc

and that's the whole page bestie, we ate and left no crumbs πŸ’– this was dsc-data..._country(7) from the Miscellaneous Information Manual, mwah, bye 🫢✨

πŸ“¦ where this page comes from