Client name lookup not working #615
-
Hello, I am attempting to configure client name lookup as described here. However, it does not appear to be working properly. It looks like initially it does the reverse lookup of my client, and then initiates a bunch of additional requests for the PTR record I requested. However, it seems that the Cloudflare NXDomain is returned. I'm not sure why the rDNS request for the client worked but not the actual requested record. Is this a race condition or something? I do see that a mapping feature is available, but I would prefer not to map every device as the router has the reverse lookup info. Any ideas whats wrong? Expected:
Actual:
Logs:
Config:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
You need to add a conditional block: conditional:
mapping:
168.192.in-addr.arpa: 192.168.1.1
.: 192.168.1.1 |
Beta Was this translation helpful? Give feedback.
-
Interesting. Reading the configuration docs, clientLookup and conditional DNS seem to be independent features. Is it required to use conditional DNS with clientLookup, or is the conditional completely replacing the need for clientLookup in the config? If it’s the former, there should be some notes in the documentation that indicate this is necessary. |
Beta Was this translation helpful? Give feedback.
-
clientLookup is for blocky itself (log entries & blocklists) If you want rdns to be resolved you need to redirect the requests to an appropriate server. |
Beta Was this translation helpful? Give feedback.
You need to add a conditional block: