-
Notifications
You must be signed in to change notification settings - Fork 917
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: don't have use lua record geoiplookup example #8597
Comments
The LUA record |
|
geoiplookup('1.1.1.1', 'Beijing') to use it ? |
|
got it |
var: bestwho can i use geoiplookup(bestwho, 1)? |
|
how to print this result?A; local city=geoiplookup(bestwho:toString(), 1); print(city) |
sure, that should print to stdout on the process. Alternatively, return it in a TXT record. But this is a support question so we'll take that to IRC. |
it is so sorry; |
i print(who, betwho,city) |
i use this ips https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz, |
@Habbie , thank you, now it is work fine; |
Short description
I want to try lua record geoiplookup, but I didn't find related documentation,
can u help me how to use this function
Environment
powerdns: 4.2
os: centos 7.6
Steps to reproduce
Expected behaviour
Actual behaviour
Other information
The text was updated successfully, but these errors were encountered: