<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFCC">
    In the end I had to look in the BIND ARM.<br>
    <br>
    As I read this, the solution should be:<br>
    <pre wrap="">options {
listen-on { ! 10.0.1.1; any;};
};</pre>
    The first part tells bind to not listen to 10.0.1.1 and the second
    part tells bind to listen on any other address.<br>
    Having the Listen-on statement removes the default listen for all
    addresses.<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 06/09/2018 15.24, He Zhe wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:c07ab0bb-eeae-e060-af6c-b50bccc6559b@windriver.com">
      <pre wrap="">

On 2018年09月06日 21:06, Sten Carlsen wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">

On 06/09/2018 14.33, He Zhe wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">On 2018年09月06日 20:26, Sten Carlsen wrote:
</pre>
          <blockquote type="cite">
            <pre wrap="">On 06/09/2018 12.36, He Zhe wrote:
</pre>
            <blockquote type="cite">
              <pre wrap="">Hi,

How can I config to let named NOT listen on specific interfaces? Any negation config in options like below? Currently it listens on all interfaces and compete with other DNS daemons in the same system.

options {
listen-on { ! 10.0.1.1; };
};
</pre>
            </blockquote>
            <pre wrap="">You may try to let it specifically listen to all interfaces except the one you want excluded.
</pre>
          </blockquote>
          <pre wrap="">Thanks for your hint.

But the "all" here is hard for me to determine beforehand. Many potential different things would use named but some specific one just want to use their own DNS services. So I'm looking for the NOT operation.
</pre>
        </blockquote>
        <pre wrap="">I would assume that there is a limited and fairly fixed number of actual NICs in the host.

example:
eth0 -> internal network 192.168.43.17
eth1 -> external network 123.45.6.7
eth0:7 -> VLAN for location 1  192.168.23.45

Listen_on { 192.168.43.17; 192.168.23.45; }  eth1 is missing and should not be listened to.
</pre>
      </blockquote>
      <pre wrap="">
Thanks for the example.

The IPs in my case cannot be determined in advance. They might be configured and then changed to any values. I could fall back to create a script to detect the changes and modify named's config and restart the named service. But that sounds not so good. I hope named can ignore some specific IP and/or interfaces while handles the rest.

Zhe

</pre>
      <blockquote type="cite">
        <pre wrap="">
</pre>
        <blockquote type="cite">
          <pre wrap="">Zhe

</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <pre wrap="">Thanks,
Zhe
_______________________________________________
Please visit <a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list

bind-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a>
</pre>
            </blockquote>
            <pre wrap="">_______________________________________________
Please visit <a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list

bind-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a>
</pre>
          </blockquote>
        </blockquote>
        <pre wrap="">
</pre>
      </blockquote>
      <pre wrap="">
</pre>
    </blockquote>
    <br>
  </body>
</html>