Giter Site home page Giter Site logo

Comments (6)

 avatar commented on July 17, 2024

Hey @kavasilo,

Sorry for the delay in my response.

In order to get PDF tokens to work, there are a few details to consider and confirm for me. I see in your frontend.env, you have made your CANARY_NXDOMAINS and CANARY_DOMAIN point at the same domain.

Would you mind trying to point that environment variable at a separate domain? You would need to point that domain at your canarytokens server IP too. Please let me know if this works for you.

from canarytokens-docker.

kuriackovskij avatar kuriackovskij commented on July 17, 2024

I would like to add here, that, as it was already mentioned, NXDOMAINS has to be different than DOMAINS.

Secondly, you need to create NS record (in domain management/console from where you have got your domain). Let's say, your CANARY_DOMAINS is example.com. Then make your CANARY_NXDOMAINS as dns.example.com.
At your domain provider's console create A record to example.com and map to public IP. And create NS record of dns.example.com and map it to example.com.
Above will make all dns requests for "sometexthere".dns.example.com to be directed towards your example.com server (UDP/53 has to be opened on your server for Incoming!) - and that DNS querying is what triggering PDFs alerts.

@thinkst Well done guys, great idea&solution! The only downside is the lack of details and manuals.

from canarytokens-docker.

 avatar commented on July 17, 2024

Hey @kuriackovskij,

Thanks for the step-by-by on this. I have added a version of it to our setup steps.

Thank you also for the kind words and we really appreciate all the contributions here. Please email me at jay [at] thinkst [dot] com and so that I can organise something as a thanks!

from canarytokens-docker.

kavasilo avatar kavasilo commented on July 17, 2024

I tried to use a different domain and didn't worked thats why i posted it here in first place...Usually i read the manual and setup instruction before posting anything but i will try again...

from canarytokens-docker.

jayjb avatar jayjb commented on July 17, 2024

Hey @kavasilo,

I just read through your original post again (for some context) and im wondering what you tried to open the tokened pdf with? Typically we have only had high success with Adobe (other pdf readers are on our roadmap).

Would also mind posting the .env and zone file of your current setup? (you mentioned that you tried using different domains but that isn't reflected in your original question). Hopefully we can figure this out quickly and get your Canarytokens server up and running.

from canarytokens-docker.

jayjb avatar jayjb commented on July 17, 2024

Closing this issue because it is old. We have written up a wiki on setting up the domains for Canarytokens docker setup in the wiki

from canarytokens-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.