Bind9 Server conflicts with docker0 interface

Grant Taylor gtaylor at tnetconsulting.net
Thu May 5 19:51:23 UTC 2022


On 5/5/22 1:35 PM, Maurà cio Penteado via bind-users wrote:
> Hi folks,

Hi,

> 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.

Based on your first message, you already have multiple A records for 
ns1.example.lan; 192.168.0.10 and 172.17.0.1.

My suggestion was to have bind order the two records in a way favorable 
to the requesting client.  E.g. if the client is on the 172.17.0.0/24 
network, reply with 172.17.0.1 and 192.168.0.10 verses if the client is 
on the 192.168.0.0/24 network where the response would be 192.168.0.10 
and 172.17.0.1.  Both get the same A records, just in a different order. 
  Ideally the order puts the optimal IP for the client's use first.

> On my Bind9 server, I have the following zone-files:
> 
> forward.example.lan.db:
> ns1     IN      A           192.168.0.10
> ns1     IN      AAAA    fe80::f21f:afff:fe5d:be90

I don't see the 2nd, Docker (?), address; 172.17.0.1, in the zone.  So 
if your client is still receiving that address in addition to the 
192.168.0.10 address, then something else is happening outside of BIND.



-- 
Grant. . . .
unix || die

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4017 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20220505/840a1e11/attachment-0001.bin>


More information about the bind-users mailing list