• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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