Setting up Presto with a BIND DNS server

How to add the reqired DNS records to your BIND DNS environment:


This is not intended to be a tutorial on how to set up a BIND server. If you need that kind of information there are plenty of sources on line.

For example:

https://www.digitalocean.com/community/tutorials/how-to-configure-bind-as-a-private-network-dns-server-on-centos-7

Once you have your Bind Server configured and your named config files and DNS Zone files created and tested, perform the following steps to enable DNS interoperability with Presto.

Add the following lines to your named.conf.local (or equivelent) file. Replacing the ip address with that of your Presto server.


zone "presto." {
    type forward;
    forward only;
    forwarders { 10.10.241.21; };
};


You should have a reverse lookup zone file for each subnet you wish presto to service.

Here is an example of a reverse lookup zone file with the required entries.

@       IN     SOA     ns1.collobostest.com. admin.collobostest.com. (                               3         ; Serial
                         604800         ; Refresh
                          86400         ; Retry
                        2419200         ; Expir                         604800 )       ; Negative Cache TTL

; name servers - NS records
      IN     NS     ns1.collobostest.com.
; PTR Records
$origin 145.241.192.in-addr.arpa.
93     IN     PTR     ns1.collobostest.com.   ; 192.241.145.93
101   IN     PTR     host1.collobostest.com. ; 192.241.145.101
102   IN     PTR     host2.collobostest.com. ; 192.241.145.102

$origin 0.145.241.192.in-addr.arpa.
; Required to support Presto
b._dns-sd._udp IN PTR 0.145.241.192.dnssd.presto.
lb._dns-sd._udp IN PTR 0.145.241.192.dnssd.presto.





Feedback and Knowledge Base