• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Using bind9 for public DNS query server

RolandG

New Pleskian
Hello!

Since yesterday I'm trying to allow DNS queries to bind9. I've added
Code:
        allow-query { any; };
        allow-query-cache { any; };
to the named.conf but it still doesn't work. It looks like every query resolves to the same IP.
 
Thanks, it seems to work. I enabled logging using "rndc querylog" for testing and after each query it shows the same IPv4 address of my server. Is that normal?
Example:
Code:
Mar 29 12:02:38 ams2 named[2451]: client myiphere#52971: query: cstheory.stackexchange.com IN AAAA + (213.163.74.22)
Mar 29 12:02:38 ams2 named[2451]: client myiphere#53857: query: cstheory.stackexchange.com IN A + (213.163.74.22)
Mar 29 12:02:38 ams2 named[2451]: client myiphere#59429: query: stats.stackexchange.com IN AAAA + (213.163.74.22)
Mar 29 12:02:39 ams2 named[2451]: client myiphere#51439: query: stackapps.com IN A + (213.163.74.22)
Mar 29 12:02:39 ams2 named[2451]: client myiphere#51977: query: stackapps.com IN AAAA + (213.163.74.22)
Mar 29 12:02:39 ams2 named[2451]: client myiphere#57795: query: blog.stackoverflow.com IN A + (213.163.74.22)
Mar 29 12:02:39 ams2 named[2451]: client myiphere#62288: query: area51.stackexchange.com IN A + (213.163.74.22)
Mar 29 12:02:39 ams2 named[2451]: client myiphere#56594: query: area51.stackexchange.com IN AAAA + (213.163.74.22)
Mar 29 12:02:39 ams2 named[2451]: client myiphere#63424: query: blog.stackoverflow.com IN AAAA + (213.163.74.22)
 
Last edited:
Back
Top