BIND Server not accessible externally

Hi all! I’ve got a bit of a strange question. So I am currently using Webmin as an rDNS for my IP ranges. However, I want to start serving normal DNS requests through this server within my network.

I have BIND setup, and it is serving rDNS requests fine (to everyone), and regular DNS requests fine when used locally (i.e. nslookup on 127.0.0.1). But, if an external IP range tries to query it, it will just fail to respond.

In my ideal setup, I’d like anyone to query the cluster for rDNS requests (as it is required anyway, otherwise rDNS will just not work!), and I’d like to be able to specify ranges (i.e 111.111.111.0/24) to be able to use the cluster for regular DNS requests.

Is this something which is possible within Webmin? I’ve not seen any particular settings which may be able to help me. A good start would be to be able to respond to DNS requests externally.

Thank you all for your help! I really appreciate it all.

SYSTEM INFORMATION
OS type and version Ubuntu 22.04
Webmin version 2.202

I don’t think I understand the question.

If BIND is configured to listen on an external address, and it has a route to those external clients, and if you have opened whatever firewalls are in the way, answering requests is what BIND is for. So, yes, of course BIND can operate as a DNS server, because it is a DNS server.

Sorry if it was a bit confusing.

At the moment, webmin BIND won’t reply to regular nslookup DNS requests (for example, nslookup google.com 123.123.123.123), but will reply to rDNS requests.

Is there a way to setup Webmin BIND DNS server with my ideal setup I listed above?

In my ideal setup, I’d like anyone to query the cluster for rDNS requests (as it is required anyway, otherwise rDNS will just not work!), and I’d like to be able to specify ranges (i.e 111.111.111.0/24 ) to be able to use the cluster for regular DNS requests.

At the moment, it will not respond to external regular DNS requests, so it would be helpful to at least get it to respond externally for now, and then narrow down the ACL if required.

Cheers!

Bind can be used as a local recursive DNS server, but it needs to be configured as such. This I cannot tell you how to do.

When running nslookup locally, i.e 127.0.0.1 then it’ll resolve the requested domains correctly. this problem only occurs when trying to use it externally from the server.

I have ended up modifying the named.config files to allow for external connections depending on my ACL.

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.