GeoIP only loading the first zone - no errors #15976
Replies: 8 comments 3 replies
-
what does do both zones work if you don't load the sqlite backend? |
Beta Was this translation helpful? Give feedback.
-
Hi and thanks for the very fast response Yes they turn up
|
Beta Was this translation helpful? Give feedback.
-
Any new ideas on that? |
Beta Was this translation helpful? Give feedback.
-
I have been unable to reproduce. Using your two yml files, and 4.9.7, |
Beta Was this translation helpful? Give feedback.
-
@miodvallat The
Our server is hosting 111 Zones
And the PS.: I just discovered that I have another github account on my home machine (of course i do...)!? |
Beta Was this translation helpful? Give feedback.
-
(This text is written as i tested along, so its like a timeline...) At the moment I have three(!) possible outcomes for a query directly to the server:
PS.: I got two zone to work, but not a third one (all copy pasted!) All three zones get recognized by the powerdns service and are loaded without any error I looks like this in the Logs (the first query did NOT worked, the second worked)
NOW I RENAMED the the geoip zone yml file from I'd really appreciate any idea one might give me |
Beta Was this translation helpful? Give feedback.
-
Ok, Now i have managed to figure our MY problem. (still no solution, but at least the Title is now definitely wrong. geoip is working as expected!) My issue is that in my zone the specific entry is not working. I have the following geoip config right now:
in the example.org zone The current result:
any ma question: Why is the middle one not working??? |
Beta Was this translation helpful? Give feedback.
-
Ok, I can now finally rest (even when I don't find the complete answer...) My solution: I copied the working geoip zone file over the broken one, renamed everything and it magically worked... Can i see any differences in the file? So the real Issue was: PEBKAC Sorry for all the messages. I'm just happy that it works now :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I have an issue with my PowerDNS configuration, and/or understanding of how the geoip module should work. (Maybe it is just some issue with understanding the documentation?)
Lets start with the used versions:
PowerDNS 4.9.7 on Ubuntu 22.04.5 LTS
Backend gsqlite3 and geoip
Relevant configuration
But when I try out my configuration i get
The Funny thing is: when i switch the filenames to make the other zone get loaded first, it works the other way around.
so the mail issue for me is: Only the FIRST Zone gets loaded and is working!
Please, someone, point out my error. I already lost a day in debugging without issue as the geoip backend does basically no debug logging
(i am only a few more hours away from trying to compile powerdns myself :D
PS.: I also added errors in the files to verify that they even get read, and powerdns properly threw an error as expected. so the Files ARE being read.
Beta Was this translation helpful? Give feedback.
All reactions