Re: forwarder cache

2022-12-01 Thread Hamid Maadani
ated). It is fixed and all is working fine now. I see no point in continuing this thread, so I probably won't be back either :) Regards Hamid Maadani -- Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list ISC funds the development of this software with paid s

Re: forwarder cache

2022-12-01 Thread Hamid Maadani
Hmm.. odd. Understood, let me go fix that. Appreciate the help. Regards Hamid Maadani December 1, 2022 9:05 AM, "Ondřej Surý" mailto:ond...@isc.org?to=%22Ond%C5%99ej%20Sur%C3%BD%22%20)> wrote: test.com (http://test.com/). 0 IN A 10.10.10.10 I think this line just have it

Re: forwarder cache

2022-12-01 Thread Hamid Maadani
umented somewhere btw?) My question still stands: shouldn't NS2 answer with AUTHORITY: 1, regardless of DLZ or local-file backend, since the definition for the zone is as below? dlz XDB { database "dlopen /usr/lib/bind/dlz_mongodb_mod.so 0"; search no; }; zone "te

Re: forwarder cache

2022-11-30 Thread Hamid Maadani
z XDB; allow-query { any; }; }; zone "test2.com" { type master; file "/etc/bind/ns2/db.test2.com"; allow-query { any; }; }; /etc/bind/ns2/db.test2.com: $TTL 3600 @ IN SOA ns1.test2.com. admin.test2.com. ( 2022111501 ; Serial 7200 ; Refresh 1800 ; Retry 2419200 ; Expire

Re: forwarder cache

2022-11-30 Thread Hamid Maadani
s to me that any answers coming from a DLZ hosted zone on NS2, are not treated as an "authresponse" by NS1. Is that something that needs to be implemented in the DLZ code? My understanding was that indicating "search no" for DLZ, and setting a specific zone with type "master&

Re: forwarder cache

2022-11-29 Thread Hamid Maadani
removed stale configs from NS1, and shut down NS2. Then verified NS1 cache still has an entry for test.com, and queried NS1 for test.com Basically, NS1 does not utilize its own cache at all! Regards Hamid Maadani -- Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe fro

Re: forwarder cache

2022-11-29 Thread Hamid Maadani
, they are separate processes, so they do not share any memory unless there is something different in bind that I do not know about. I still can not figure out why the cache does not work on NS1! Regards Hamid Maadani -- Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from

forwarder cache

2022-11-29 Thread Hamid Maadani
not understanding the stale record concept correctly? 2. Why is the stale answer not available in this scenario, even though stale answers are enabled and the cache exists and is valid? Am I missing some config part? Any help would be appreciated. Regards Hamid Maadani -- Visit https://lists.isc.org/

Re: Thread handling

2022-10-04 Thread Hamid Maadani
? Regards Hamid Maadani October 4, 2022 2:47 PM, "Evan Hunt" wrote: > On Tue, Oct 04, 2022 at 05:28:59PM +, Hamid Maadani wrote: > >> Back to DLZs, I see that they are removed from the configure.ac Are >> they supposed to be built individually now, and not from the ma

Re: Thread handling

2022-10-04 Thread Hamid Maadani
Makes sense, thank you. Back to DLZs, I see that they are removed from the configure.ac Are they supposed to be built individually now, and not from the main build system? Regards Hamid Maadani September 12, 2022 5:13 AM, "Petr Špaček" wrote: > On 24. 08. 22 17:48, hamid wrote

Re: Thread handling

2022-08-24 Thread Hamid Maadani
will come to the caching server, and will be served super fast because they are cached in memory, but the actual records live in a backend DB somewhere. Long story short, I was trying to see if the same can be achieved with one single instance instead of two, which sounds like it can not be done.

Re: Thread handling

2022-08-23 Thread Hamid Maadani
on is enabled, then we try the cache, > and failing that, we recurse. Question about the cache mentioned here. Can cache be configured to pull from a DLZ? As far as I know, the DynDB API is not merged to BIND's codebase yet. In the absence of that, is caching from DLZ a possible configura

Thread handling

2022-08-23 Thread Hamid Maadani
spin up a new thread? Trying to figure out how dlz_lookup is called in a multi-threaded version. Would appreciate if someone can answer these, or point me in the right direction if this is not the appropriate forum to ask. Regards Hamid Maadani -- Visit https://lists.isc.org/mailman/listinfo/