请问怎样控制dns仅对指定网卡开放53端口

由 oyzjin 在 07-23-2003 17:23 发表:

请问怎样控制dns仅对指定网卡开放53端口

rt


k7_550 asus_kx133 win98 winnt

c433 810 redhat9.01 23G_scsi128m


由 Eg_zm 在 07-23-2003 17:25 发表:

使用防火墙,采取策略访问53端口允许1

其他的拒绝!


落日的余晖于喧嚣后的沙滩上蓦然发现一把略显锈态的钥匙,倔强地展露,感于它的执着,俯身拾起,试着用这钥匙去开启尘封已久的PC,PC释放出的能量让人震撼,品味才发现,岁月在它额头刻下的是:FreeBSD

[email protected]


由 oyzjin 在 07-23-2003 17:31 发表:


就只有这个办法吗?

配置文件里没有设置选项吗?


k7_550 asus_kx133 win98 winnt

c433 810 redhat9.01 23G_scsi128m


由 Eg_zm 在 07-23-2003 17:47 发表:

我是没有尝试过其他的方法

配置文件我没有修改


落日的余晖于喧嚣后的沙滩上蓦然发现一把略显锈态的钥匙,倔强地展露,感于它的执着,俯身拾起,试着用这钥匙去开启尘封已久的PC,PC释放出的能量让人震撼,品味才发现,岁月在它额头刻下的是:FreeBSD

[email protected]


由 Glue 在 07-23-2003 17:47 发表:


你是说DNS服务器上有多个网卡?

named.conf 里有一项可能对你有用。

[ listen-on [ port ip_port ] { address_match_list }; ]


-_-


由 Snoopy 在 07-24-2003 04:14 发表:


为何我启动dns时,53和953端口都开呢???

开http时,80和443都开?这是为什么啊?


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 oyzjin 在 07-24-2003 10:24 发表:


> quote: > > * * * > > 最初由 gurulite 发表
>
> **你是说DNS服务器上有多个网卡?
>
> named.conf 里有一项可能对你有用。
>
>
>
> [ listen-on [ port ip_port ] { address_match_list }; ] ** > > * * *

请问应该写在哪?

option?

不知是格式错还是怎么,老是出错!

可以举个例子吗?


k7_550 asus_kx133 win98 winnt

c433 810 redhat9.01 23G_scsi128m


由 oyzjin 在 07-28-2003 10:33 发表:


> quote: > > * * * > > 最初由 pinksnoopy 发表
>
> **为何我启动dns时,53和953端口都开呢???
>
>
>
> 开http时,80和443都开?这是为什么啊? ** > > * * *

我的DNS原来错在无主机名

我的也不知为什么会自动开那么多端口啊!

53绑定指定网卡有哪个朋友试过是成功 的,可以写出方法吗?


k7_550 asus_kx133 win98 winnt

c433 810 redhat9.01 23G_scsi128m


由 oyzjin 在 07-29-2003 17:22 发表:

53绑定指定网卡有哪个朋友试过是成功 的,可以写出方法吗?

53绑定指定网卡有哪个朋友试过是成功 的,可以写出方法吗?


k7_550 asus_kx133 win98 winnt

c433 810 redhat9.01 23G_scsi128m


由 Glue 在 07-30-2003 15:21 发表:

在named.conf里

options {

directory "/var/named";

....

listen-on port 53 {192.168.0.2;};

}

大概是这样的,多试多读一点就知道了。


Published At
Categories with 服务器类
Tagged with
comments powered by Disqus