Replies: 2 comments 9 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Hello, I have modified the dnsdist.conf: -- Listen on the standard DNS port 53 -- Allow all IPs access (IPv4 and IPv6) -- Backend for PowerDNS Authoritative (running on port 5300) -- Backend for PowerDNS Recursor (running on port 5335 or 5301 if specified) -- Network mask group for recursive queries -- Route queries from recursive IPs to PowerDNS Recursor -- Route all other queries to PowerDNS Authoritative -- dnsdist configuration file, an example can be found in /usr/share/doc/dnsdist/examples/ -- disable security status polling via DNS The DNS request does not work: Anyone has an idea ? Regards |
Beta Was this translation helpful? Give feedback.
-
Hello,
I have setup a PowerDNS 4.9.1 on a Ubuntu Server 22.0.4. It will use for my internal company DNS
I have also setup pdns-recursor and dnsdist on this server.
I have error with dnsdist and I don't undertand why :
Fatal Lua error: [string "chunk"]:6: attempt to call global 'addBackend' (a nil value)
stack traceback:
[string "chunk"]:6: in main chunk
dnsdist.service: Control process exited, code=exited, status=1/FAILURE
This is my dnsdist.conf:
**- Set up dnsdist to listen on port 53 for incoming queries
addLocal("0.0.0.0:53")
-- Define the backend servers
-- Add PowerDNS Recursor running on 127.0.0.1:5335
addBackend("127.0.0.1:5335")
-- Add PowerDNS Authoritative running on 127.0.0.1:53
addBackend("127.0.0.1:53")
-- Set PowerDNS Recursor as the default backend
addDefaultBackend("127.0.0.1:5335")
-- Example: Route queries for a specific domain to PowerDNS Authoritative
-- Replace 'example.com' with your actual domain
addAction("example.com.", Pool("127.0.0.1:53"))
-- Optional: Enable DNSSEC if applicable
setDNSSEC(true)
-- Optional: Configure caching
setCacheSize(1000000) -- Adjust size as needed
-- Optional: Set log level for debugging
setLogLevel(3) -- 0=error, 1=warning, 2=info, 3=debug**
I search on the Web and does not find anything.
Thanks for your help
Beta Was this translation helpful? Give feedback.
All reactions