-
Notifications
You must be signed in to change notification settings - Fork 8
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
caching not fully works #2
Comments
That seems odd. Can you specify what doesn't work? Is it the cachefile which will not get created or can you not compile? Also what go version and OS are you using? Thanks for helping me making it better! |
You can answer in german if this is ok.
My config.yml looks like this:
IP-CACHE: ''
IP-CACHE-TIMEOUT: 7200
CUSTOMERNR: kdnr
APIKEY: 'key'
APIPASSWORD: 'password'
DOMAINS:
- NAME: 'derago.eu'
IPV6: false
TTL: 300
HOSTS:
- 'gf'
The cache file is created as ~/.cache/dyn.../ip.cache correctly
But with gfderago.eu insided the file
no . between gf and derago.eu
and i get very strange error with returning some http (i guess from the
site u used to get the ip)
It also shows IPV4 address as IPV6 in output. so it seems to be a little
confused with my system not having an external ipv6 address.
When changing in cache.go all host+domain occurrences with host+"."+domain
it writes in the cache file gf.derago.eu and all works as expected. It
detects that ip is in cache and gives no strange output (errors) with -v
parameter.
If you need more details please let me know.
Mit freundlichen Grüßen,
Christian Czech
…---------------------------
Tel: +49 7745 92 080
derago e. K., Gartenstr. 4, D-79807 Lottstetten
Amtsgericht Freiburg/Br. HRA621012, weitere Informationen unter
https://www.derago.com/Impressum
Am Mo., 22. Juni 2020 um 16:59 Uhr schrieb Henri Burau <
[email protected]>:
That seems odd. Can you specify what doesn't work? Is it the cachefile
which will not get created or can you not compile? Also what go version and
OS are you using? Thanks for helping me making it better!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AN2NLHPGP5L6MB2YA2Z7JITRX5WTRANCNFSM4OEWYIIQ>
.
--
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser E-Mail ist nicht gestattet.
|
Ok that makes sense. That also shows another bug regarding the IPv6 detection. The application should not try to detect the IPv6 when you set I will try and add your changes to make it work for everyody. Ich bin auch Deutsch aber würde die Issues gerne auf Englisch lassen damit jeder unsere Unterhaltungen nachvollziehen kann. |
To me it does not work correctly.
When changing host+domain to host+"."+domain (3x in cache.go) all is ok.
Thanks for this cute little tool!
The text was updated successfully, but these errors were encountered: