Bind9 Server conflicts with docker0 interface

Maurício Penteado mgp.mgp at yahoo.com
Thu May 5 19:35:31 UTC 2022


 Hi folks, 
Thank you for the reply.
Unfortunately, I did not understand how I am supposed to add multiple A-records for the same name to the zone-file to fix this issue.
On my Bind9 server, I have the following zone-files:

- - -
forward.example.lan.db:

$TTL    604800@       IN      SOA     ns1.example.lan. hostmaster.example.lan. (                                   1         ; Serial                          604800         ; Refresh                            86400         ; Retry                        2419200         ; Expire                          604800 )       ; Negative Cache TTL
@          IN      NS      ns1.example.lan.
ns1     IN      A           192.168.0.10ns1     IN      AAAA    fe80::f21f:afff:fe5d:be90
- - -
reverse.example.lan.db:

$TTL    604800@       IN      SOA     example.lan. root.example.lan. (                                    1         ; Serial                          604800         ; Refresh                            86400         ; Retry                        2419200         ; Expire                          604800 )       ; Negative Cache TTL
@       IN      NS     ns1.example.lan.10      IN      PTR    ns1.example.lan.
- - -
Please, advise.

    Em quinta-feira, 5 de maio de 2022 17:26:24 GMT+1, Grant Taylor via bind-users <bind-users at lists.isc.org> escreveu:  
 
 On 5/5/22 9:01 AM, Reindl Harald wrote:
> by not add multiple A-records for the same name to the zone-file
> BIND don't know about docker on it's own

Another option would be to leverage BIND's ability to sort A records 
based on configured preference (in the config file, not the zone file) 
based on client IP.  So even if BIND does return the Docker IP, it's not 
the 1st IP in the response, thereby hopefully alleviating the problems 
of it's existence.

This may be germane if the Docker IP is automatically registered and 
making it stop will be a different kettle of fish to roll up a different 
hill.

> and please avoid HTML formatted mails, it makes responding with inline 
> quotes more difficult as it should be

+10



-- 
Grant. . . .
unix || die

-- 
Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20220505/583b95a5/attachment.htm>


More information about the bind-users mailing list