标签: bind9

如何让bind9只监听这个动态ip接口

bind9 配置语句listen-on似乎只采用接口的 IP 地址。“ man named.conf”显示收听详情

对于内部named守护程序,正在侦听的接口可以声明为:

listen-on {
    127.0.0.1;
    192.168.1.1;
 };
Run Code Online (Sandbox Code Playgroud)

现在转向外部bind9/named 守护进程... ISP 为该设备提供动态IP 地址(即4.3.2.1)。如果我只想监听 ISP 分配的 IP 地址,我尝试了以下方法:

listen-on {
    !127.0.0.1;
    !192.168.1.1;
 };
Run Code Online (Sandbox Code Playgroud)

唉,这并不能阻止绑定named获取任何未使用的网络接口。

如何使bind9named守护进程只监听动态IP接口而不监听任何未使用的接口(IP地址)?请记住,您事先并不知道绑定配置文件所需的面向公众的网络接口的 IP 地址。

bind dynamic-ip bind9

2
推荐指数
1
解决办法
5272
查看次数

Mxtoobox: Loop detected! We were referred back to IP

I followed the tutorial for DNSSEC found in https://www.digitalocean.com/community/tutorials/how-to-setup-dnssec-on-an-authoritative-bind-dns-server--2

Here is my zone file:

$ORIGIN .
$TTL 86400      ; 1 day
example.net       IN SOA  ns1.example.net. root.mailserver.net. (
                                2016091915 ; serial
                                43200      ; refresh (12 hours)
                                300        ; retry (5 minutes)
                                1209600    ; expire (2 weeks)
                                86400      ; minimum (1 day)
                                )
                        NS      ns1.example.net.
                        NS      ns2.example.net.
$TTL 60 ; 1 minute
                        A       ...
$TTL 86400      ; 1 day
                        TXT     ...
                        DNSKEY  256 3 7 ...
                        DNSKEY  257 3 7...
$ORIGIN example.net. …
Run Code Online (Sandbox Code Playgroud)

dnssec bind9

0
推荐指数
1
解决办法
4018
查看次数

标签 统计

bind9 ×2

bind ×1

dnssec ×1

dynamic-ip ×1